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

black images

edited July 2007 in General
Hi

I am using Delphi 6 with ReportBuilder 9.03

Sometimes it happens with reports that the images on a report a completely
black.
Sometimes it goes ok, and a few minutes later it goes wrong and the image
turns black.

We have this problem with several customers with several users on various
computers.

Any idea?
Andre

Comments

  • edited July 2007
    Hi Andre,

    This is not a known issue for RB 9.x. We had problems with black images
    with earlier versions of ReportBuilder (pre 7.04) however they were fixed
    with some enhancements to our image processing logic. Are you only seeing
    black images when printing reports? Be sure your users are using the latest
    printer drivers. Also, try having them turn the Transparent property off
    for any images and see if that helps (some printers cannot handle
    transparent images well).

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2007
    Hi Nico,

    Thanks.
    It happens when previewing, printing and when creating a PDF file. The
    bigest problems we have is with PDF files.
    Our software generates a lot of documents to PDF and sometimes (with
    different customers and computers) the images are black.

    The transparant option was already turned off. I put DirectTrue to true now.
    Mayby that helps.

    Brdgs
    Andre


  • edited July 2007
    Also be sure you have checked your application for memory leaks.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2007
    Hi Nico,

    Thanks,
    Setting the DirectTrue property to True did not help.
    Memory leaks are difficult to find. I am not sure when it happens. At the
    begin of the day or at the end. I can imagine it has something to do with
    this. If you running out of memory, that then ReportBuilder has no resource
    to load the image.
    On my computer is never happens. But I have 2GB and I run the program for a
    short period of time to test the software. I never work with it like my
    customers do.

    Any suggestions to find memory leaks?

    Brdgs
    Andre


  • edited July 2007
    Hi Andre,

    Try taking a look a the memory manager such as FastMM. This is a free
    memory manager and works well with Delphi.

    http://sourceforge.net/projects/fastmm/

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2007
    Thank Nico,
    I going to have a look at this.
    I just adjusted our software in a way that it check if the image is black.
    If so it will automatically retries 10 times to build up the document. If
    the image is still black the user gets a message. In this message I will
    mention also the amount of free memory.
    Hopefully this helps to solve this quickly for now.

    Brdgs
    Andre

This discussion has been closed.