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

JPEG Images

edited December 2005 in Devices
Hi

I have a database with photographs of personnel. Some are bitmaps but
the majority are JPEGs. I am reading the latter from the database into a
stream and reading them into a TJPEGImage which I then assign to a TppImage.

This works fine on my development machine but on the client TS server
the palette is all wrong. I also found that printing to PDF format
causes problems, normally fatal.

Is there an official way to include JPEGs in a report?

Dave

Comments

  • edited December 2005
    Hi Dave,

    Which version of ReportBuilder are you using? Are you exporting to PDF
    using the native PDF device included with RB 9 or above? If so, be sure you
    are using the latest version of RB, 9.03. Also, be sure you have ppJPEG
    include in your uses clause.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2005
    Thanks Nico

    I'm still on 9.02 because I don't get notificications. I'll tell them
    again about my new email address to see if I can get the update.

    And I'll put ppJPEG in the uses clause.

This discussion has been closed.