06-06-2007 10:11 PM
06-07-2007 02:24 AM
With regards to BMP files, you can accomplish the first task of yours by using GetBitmapFromFile () and GetBitmapData () functions: the Bits parameter of the last one is the array of binary data that represents the image.
With regards to JPG files, there is no native support of this type of files; I have successfully used in the past an instrument developed by Guillaume Dargaud and available on his website to manipulate jpeg files: his Jpg_ReadBitmapFromFile () function returns the same bits array of your image.
06-07-2007 04:10 AM