Paul, Try using the GDIPlusX library to load the image into memory, then save the image to disk as a 24 bit BMP.
The 24 bit BMP file format stores each pixel as a 3 byte (24 bit) RGB value. If I remember correctly, the actual RBG values will be stored in BGR order (vs. RGB order) if you're parsing a BMP file char by char. To parse the BMP file, you have to read past the BMP header and then read pixels by rows. I believe that each row must start on an boundary that is divisible by 4 so you need to account for some empty padding at the end of each row. I believe that Christof has written some FoxPro Advisor articles about how to do this. I also believe there may be some sample code on how to do this in the Profox archives from Christof and Cesaer. Malcolm _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

