bmp Questions
13
Solved
In my algorithm, I need to create an information output. I need to write a boolean matrix into a bmp file.
It must be a monocromic image, where pixels are white if the matrix on such element is tru...
4
Solved
2
Solved
The documentation for CPACK_PACKAGE_ICON is very limited on cmake wiki page.
The following is not working for me (as per):
set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/images/MyIcon.bmp...
2
Solved
I am using the following code:
f = fopen( _stringhelper.STR("%s.bmp", filename), "wb" );
if( !f ) {
_core.Error( ERC_ASSET, "ncImageLoader::CreateImage - Couldn't create %s image.\n", filename );...
5
I'm trying to save an image in bmp format, but it doesn't create any file.
If I use "png" instead, everything works fine.
Any ideas?
//This works fine:
ImageIO.write(bi, "png", new File("D:\\MyIma...
2
Solved
I need to read the header of a bmp file with python. I tried like this but it obviously returns just a bunch of non intelligible bytes:
f = open(input_filename,"rb")
data = bytearray(f.read())
f.c...
Fineable asked 29/10, 2017 at 18:37
5
Solved
I've been searching all around for a simple solution to add sprites to my OpenGl GLUT simple moon lander game in c++ and it appears I must use bmp's since they're easiest to load and use them as te...
3
Solved
I tried to convert a 32-bit Bitmap to 32-bit PNG using PIL.
from PIL import Image
im = Image.open('example.bmp')
print im.mode
# it prints 'RGB', but expected was 'RGBA'
im.save('output.png', form...
Trustworthy asked 4/5, 2012 at 17:39
5
First of all, this is not a duplicate of the very common question of making an EXE from Java classes. I do not need to do that.
To solve NetBeans RFE #64612 without manual steps I need a Java (6+)...
Giraffe asked 28/12, 2011 at 17:40
4
Solved
I have a Bitmap in memory and I need to save it in a bmp file (using the bmp file format).
Is there any way to do it on Android ?
(I read a lot of post suggesting to use the png format - which i...
1
Solved
UPDATE:
When taking an iOS-created .bmp and using "Save As..." in Photoshop with "Flip row order" unchecked, this .bmp will then work on the Adafruit PyPortal (thanks John Park for this lead). I've...
1
Solved
I came across this syntax for reading a BMP file in C++
#include <fstream>
int main() {
std::ifstream in('filename.bmp', std::ifstream::binary);
in.seekg(0, in.end);
size = in.tellg();
...
Implosion asked 4/12, 2019 at 23:57
1
Solved
I am syncing BMP images between my iOS app (Swift 3) and an app (on MS Windows) that supports only BMP format.
BMP images created on the MS Windows app are downloaded as base64 strings, saved as D...
6
Solved
First of all, my question is different to How do I convert image to 2-bit per pixel? and unfortunately its solution does not work in my case...
I need to convert images to 2-bit per pixel grayscal...
Scooter asked 4/3, 2016 at 14:1
2
Solved
I noticed that Launch4j's GUI seems to prefer a bmp file, so I used Gimp to convert my jpg file into that format, but I kept getting the error when trying to run the executable generated by Launch4...
Dutiable asked 14/2, 2012 at 17:58
4
I need to create a black and white BMP file with pure Python.
I read an article on wikipedia, BMP file format, but I am not good at low level programming and want to fill this gap in my knowledge....
1
Solved
I'm working on a program to resize a BMP file and store it in a new file. I noticed that some BMPs are stored totally upside-down while others are just stored upright. So I made two solutions to ha...
Ammonite asked 5/4, 2018 at 8:20
3
I'm trying to create (or, if I've somehow missed it in my research, find) an algorithm to encode/decode a bmp image into/from a QR code format. I've been using a guide (Thonky) to try to understand...
Glebe asked 15/10, 2012 at 23:33
6
Solved
1
Solved
I'm trying to create ASM code which will load and print an 256 color BMP file.
I saw several codes that do this job, and they first load 0 to port 3c8h, and then load the palette to port 3c9h.
What...
1
Solved
4
I've noticed in a backup of my FireFox bookmarks that the icon which is displayed to the left of each entry is held as a character stream in the A tags. For example:
ICON="data:image/png;base64...
5
could somebody explain to me why in 24-bit rgb bitmap file I have to add a padding which size depends on width of image ? What for ?
I mean I must add this code to my program (in C):
if( read % ...
3
Solved
I have a problem.
I´m generating a dynamic BMP image and trying to send this to a ZEBRA printer by ZPL commands.
I need to convert my BMP to a GRF image. I think that my Hexadecimal extracted by t...
7
Solved
I'm writing code in C++ (on Windows) and I'm trying to extract the pixel values of a grayscale bmp. I don't care about keeping any of the metadata, and just want to store the pixel values in a char...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.