Open image file for processing;
-
What is the best way to open a image file and get access to the raw bytes of the image so that I can apply various algorithms from Intel's IPP library. Also what about allocating the wright ammout of memory? Can I just use GetFileSize or the like to get the required size of the buffer? Thank You Bo Hunter
-
What is the best way to open a image file and get access to the raw bytes of the image so that I can apply various algorithms from Intel's IPP library. Also what about allocating the wright ammout of memory? Can I just use GetFileSize or the like to get the required size of the buffer? Thank You Bo Hunter
depends on what kind of image you want to load... loading a BMP file is really easy, you have to read the header, allocate memory for the bitmap and read the rest of the file. Don't try it, just do it! ;-)