HTML export producing huge images, EOutOfResources error.

edited February 2017 in General
Hi,

Using RB 15.05, Delphi 2009. I'm using RB in a web service (but not RB
Server) and I'm finding that with some reports the HTML export is
generating massive images. In one particular case, it's producing an
image file that's 15x54300 pixels big, and in the HTML output it's
scaled even bigger:





I have no idea why the left, top and height values of this image (which
appears to just be an empty white rectangle) are so massive; there are
no components on the report whose left or top values are outside the
printing area. The huge bitmap (before it's converted to a gif and
saved) is causing the process to run out of resources and give either an
"The parameter is incorrect" error or a EOutOfResources error. The PDF
export works perfectly.

Do you have any idea what is causing this or how to fix it?
Unfortunately, upgrading Report Builder is not an option.

Thanks,

Steve Branley

Comments

  • edited February 2017
    Hi Stephen,

    If you would like to create a simple example project we can build and run in
    the debugger I can test with RB 18. Please use standard Delphi components
    and RB. Copy data to TClientDataSets. Send in zip format - include only
    .dpr, .pas, .dfm. Send to support@



    Best regards,

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

    Best regards,

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