News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

GDI+ image resizing

Started by Mr Earl, November 04, 2007, 09:14:52 AM

Previous topic - Next topic

Mr Earl

GDI+ image resizing

This is my first dabble into GDI+.  I'm using  http://www.masm32.com/board/index.php?topic=870.0  as an example to resize images (jpg,png,bmp) into a static control.  When I use the source pixel format as the destination format, and the source format is 030803h it results in a black picture.  If the source format is 030803h but I use 021808h as the destination format it works.  I couldn't find a bit by bit description for the pixel formats.  Could it cause a problem if I just IGNORE the source format and ALWAYS use 021808h for the output image?  Where can I find a detailed description of the pixel formats?  Thanks.

MichaelW

There is a listing here, but it’s somewhat short on details.
eschew obfuscation