.
.
.
draw.New2 (ImageList1.Item (Map_I), B4PObject (5))
I'm afraid you can't save memory just by loading a different format. Jpg and gif are compressed formats for storing pictures in files. However pictures are always expanded to full bitmaps when loaded into memory no matter what the format of the source file.The problem was that I want to save memory on PPC. But I found, that it doesn’t matter if you load the same file as a bmp (24-bit), jpg or a gif.
There are several different sorts of memory bitmap format depending upon the colour depth of the image and whether its utilises a colour palette or not. Not surprisingly the desktop supports more formats than the device.I’m not sure if this is really correct. A gif is not only a compressed format, it’s color reduced too.