LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i convert a hexidecimal image file to a bmp file

i have an array of hex data, each of the 7707 rows has 80 characters, i want to convert this to a standard windows bmp or jpeg file, any ideas how to do it?
Message 1 of 2
(2,761 Views)
stewbert;

Is that only one image or there are several images in that array? If the array is the image, and columns (number of characters) and rows correspond to what you are saying your array contains, it is a big image!

There are other questions that needs to be answered, like, each character, how many numbers contains (looks like "EF" or like "EF3B5A".) Such sizes give ideas of the format and to where is the color table.

You can play with the "Draw XXX Pixmap" VIs located in Function palette -> Graphics & Sounds -> Picture Functions and see if one of them renders an image.

I think the best would be if you can post a sample of your array so somebody here can look at it and try to "decode" it.

Regards;
Enrique
www.visecurity.com
www.vartortech.com
Message 2 of 2
(2,761 Views)