GDIPLUSX - PixelFormat

Topics: General
Jul 25, 2012 at 2:24 PM
Edited Jul 25, 2012 at 2:29 PM

Hi Experts,

i want to convert BMP into JPG. The BMP is a greycale Image with 256 colors (8BitsPerPixel)


loBMP.SAVE(PUTFILE(), _SCREEN.SYSTEM.Drawing.Imaging.ImageFormat.Jpeg)

The Result JPG is created with 16,7 Mio colors (24BitsPerPixel). How can i tell the SAVE Methode to save it also in 256 colors (8BitsPerPixel)

Thanks for help