convert binary file to image/bmp file in vc++
-
Hi how to convert binary file to bmp/jpg image. I have to convert image(BMP/JPG) to binary file and binary file to image(BMP/JPG). Please help. Thanks in advance.
:confused: What do you mean exactly by binary file ? An image is already a binary file. could you please clarify your question.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
:confused: What do you mean exactly by binary file ? An image is already a binary file. could you please clarify your question.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
That is far from clarifying your question... What is your problem exactly ?
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
That is far from clarifying your question... What is your problem exactly ?
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
How did you convert it from .BMP to .BIN? Just reverse the process.
Just say 'NO' to evaluated arguments for diadic functions! Ash
-
Actullay it is converted as binary file in linux, i have to convert binary file back to image in windows, i dont know how to convert.
nobody knows what you mean by "binary file"
-
i have binary image data i have to convert back to image file. ex : image.bmp converted to binary file image.bin. Now i have to convert "image.bin" binary file back to image.( imgage.bin to image.bmp).
Just change the extension ?
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
nobody knows what you mean by "binary file"
-
what actually i want,i have a device it scans finger(finger print information)and it stores as a file(in binary format).I have to convert this file to finger print image.
You'll first need to figure out what a .bin file is (i.e., it's format).
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
what actually i want,i have a device it scans finger(finger print information)and it stores as a file(in binary format).I have to convert this file to finger print image.
until you explain what this "binary format" is, nobody can help you.
-
You'll first need to figure out what a .bin file is (i.e., it's format).
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
jiya-123 wrote:
i have image.bmp it is saved in image.bin file format, bin is the file format.
bin is not a format, merely an extension on the name of the file. You need to understand the actual format of the contents in order to convert it into a bitmap. Go back to the documentation for the program that created the file to see exactly how it is formatting the data. It is impossible to answer your question without that information.
Just say 'NO' to evaluated arguments for diadic functions! Ash
-
Good luck.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
until you explain what this "binary format" is, nobody can help you.
-
Yeah, but what is the INTERNAL format of the .bin file? I could rename a .bmp file to a .bin file and it would still be a BMP file.
Watched code never compiles.