Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RBuilder 12 + Delphi 7 + PNG support

edited May 2010 in General
Hi!

I have read about new DBImage autodetect feature. It's great!!

But... does it support PNG format?

The single 'Image' component (not DBImage) supports PNG files, but DBImage
just let me choose from AutoDetect, Bitmap, JPG, Gif, Icon and Metafile.

Thanks!

--
Luis Concepcion

Comments

  • edited May 2010
    Delphi 2009 VCL and later included built-in PNG support. ReportBuilder for
    Delphi 2009 and later display a DBImage GraphicType for PNG.

    For Delphi 7 you must be using an add-on component for PNG support. The
    ReportBuilder help topic for DBImage.GraphicType says

    "Any TGraphicClass descendant can be registered and used with the DBImage
    component. For an example of registering a TGraphicClass with ReportBuilder,
    see the ppJPEG or ppGIF unit."

    So if you need to create myPNG.pas unit and register that with
    ReportBuilder. Run-time registration is achieved by simply referencing the
    unit in the 'uses' clause of your project. Delphi design-time registration
    is achieved by installing a package.

    Going forward, hope you will be upgrading your Delphi 7...

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.