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

CMYK JPG-pictures with ReportBuilder?

edited March 2004 in General
Hi!

Is it possible to use CMYK JPG-pictures with RB? I have a customer who
want's to use reports to commercial printing and they need CMYK-pictures.

Comments

  • edited March 2004
    Hi Kari,

    ReportBuilder uses Delphi's TJPEGImage to provide support for jpeg images.
    Unfortunately the TJPEGImage component does not support CMYK jpeg files. If
    you must use CMYK formatted images, one you could use the GraphicEX library
    available from http://www.soft-gems.net to print a CMYK Tiff file in
    ReportBuilder. Please see the article below for more information on
    enhancing the ReportBuilder imaging capabilities.

    ---------------------------------------------------------------------
    Article: ReportBuilder Image Support
    ---------------------------------------------------------------------

    ReportBuilder natively supports .bmp, .jpeg, .wmf, .ico image formats.

    ReportBuilder has an open architecture that supports any TGraphic
    descendant.

    For example, ReportBuilder ships with a freeware component called
    GIFImage that can be used with ReportBuilder to print .gif images. (see
    the main report demo app for an example.)

    There is another freeware component called GraphicEx that
    supports several additional formats - including tiff, targa, and
    autodesk.

    It can be downloaded from:

    http://www.lischke-online.de/Graphics.html


    ReportBuilder can easily support TGraphic descendants
    with a simple register call.

    Below is the code to our ppGIF.pas unit which
    'uses' and registers the freeware GIFImage component.


    {********************************************************************}
    { }
    { ReportBuilder Report Component Library }
    { }
    { Copyright (c) 1996, 2000 Digital Metaphors Corporation }
    { }
    {********************************************************************}

    unit ppGIF;

    interface

    {$I ppIfDef.pas}

    uses
    ppCtrls, GIFImage;

    implementation

    {***************************************************************
    *
    ** I N I T I A L I Z A T I O N / F I N A L I Z A T I O N
    *
    {****************************************************************}

    initialization

    ppRegisterGraphicClass('GIF', TGIFImage);

    finalization

    ppUnRegisterGraphicClass(TGIFImage);

    end.


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.