Jan 11, 2003 #1 ain79 Programmer Nov 16, 2002 12 PK hello ! i want to read a gray scale image into array of 516 by 516 and then write it using vc++ or simple c plz help
hello ! i want to read a gray scale image into array of 516 by 516 and then write it using vc++ or simple c plz help
Jan 13, 2003 #2 Sun Programmer Aug 13, 1999 37 IN Hi, Is the image a file ?. I mean a BMP or something of that sort ? In any case you can use the following APIs to read/write an Image. CreateBitmap CreateBitmapIndirect CreateCompatibleBitmap CreateDIBitmap CreateDIBSection ExtFloodFill GetDIBits LoadBitmap SetDIBits StretchBlt StretchDIBits TransparentBlt To read an Image you can use the LoadBitmap() and GetDIBits() API. A bit of a research and help should help you achieve your goal. Regards, Sun Upvote 0 Downvote
Hi, Is the image a file ?. I mean a BMP or something of that sort ? In any case you can use the following APIs to read/write an Image. CreateBitmap CreateBitmapIndirect CreateCompatibleBitmap CreateDIBitmap CreateDIBSection ExtFloodFill GetDIBits LoadBitmap SetDIBits StretchBlt StretchDIBits TransparentBlt To read an Image you can use the LoadBitmap() and GetDIBits() API. A bit of a research and help should help you achieve your goal. Regards, Sun