Image converting with GdiPlusX (System.app)

Topics: General
Jan 15, 2009 at 11:50 AM
Edited Jan 15, 2009 at 11:53 AM
Hello,

i convert BMP Files into JPG Format using the following code

loBMP = _SCREEN.SYSTEM.Drawing.BITMAP.New(lcSourceFile)
loBMP.
SAVE(lcOutputFile, _SCREEN.SYSTEM.Drawing.Imaging.ImageFormat.Jpeg)

The Source BMP has a Filesize up to 450kb, the Target JPG File has a size up to 30kb. So far, so good. Now i reconvert the JPG into a BMP file using this code

loBMP = _SCREEN.SYSTEM.Drawing.BITMAP.New(lcSourceFile)
loBMP.
SAVE(lcOutputDatei, _SCREEN.SYSTEM.Drawing.Imaging.ImageFormat.Bmp)

Now the Target BMP has a size up to 1250kb. Could anybody told me what i can do to get near the same Outputsize (450kb)

Many thanks

Klaus