TECH TIP: ReportBuilder Image Support ReportBuilder natively supports Bitmap (.bmp), JPEG (.jpg, .jpeg), Metafile (.wmf, .emf), Gif (.gif), and Icon (.ico) image formats. PNG (.png) images are supported for Delphi 2009 or later. ReportBuilder has an open architecture that supports any TGraphic descendant. For example, for versions of Delphi earlier than Delphi 2007, ReportBuilder ships Full Article…
Search the Wiki
How To…Use the OnGetPictureEvent
Question “How can I use the DBImage.OnGetPicture event to conditionally display a default image? For example, some records in my dataset have any empty image field.” Solution The following examples uses the DBImage.OnGetPicture event to conditionally display a default image. Download: UseDBImageOnGetPictureEvent.zip Delphi code sample: procedure TForm1.FormCreate(Sender: TObject); begin FDefaultPicture := TPicture.Create; // load the Full Article…
GIF Image
Gif images are natively supported by Delphi 2007 and on. TGIFImage, is an excellent freeware component written by Anders Melander. TGIFImage is Copyright 1997,98 Anders Melander. All rights reserved. URL: http://www.melander.dk/delphi/gifimage/ You must add the ppGIF to the ‘uses’ clause of your unit in order to load and print GIFs. TGIFImage is an example of Full Article…