Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Image generation for large reports

Received Response
31
Views
2
Comments

Summary

Image generation for large reports

Content

Hi All,

I am trying to generate an image in JPG format for a report. I am able to export small reports in JPG format using the FORMAT_IMAGE_JPG output format for the FOProcessor.

But when I try to export larger reports, only a part of the report is present in the generated image. I tried debugging the code to generate an image in FOProcessor. First a temporary PDF document is created for the report and then the first page of the PDF document is converted to an image. So for larger reports, the rest of the data will not be present in the generated image.

Is there any way to generate a jpg image file with the entire report data?

Thanks,

Neetha

Answers

  • Christian Thibaudeau-90201
    Christian Thibaudeau-90201 Rank 5 - Community Champion

    Well, can you explain a little more what you are using as technology ?

    it's possible as if you want a logo for instance in the upper left corner.

    Image can be stored in the database as BLOB, extracted through XML and printed on the rtf report. (Check&PO uses this logic).

    In the rtf, you can resize the image....example below

    <fo:instream-foreign-object content-type="image/jpg" xdofo:alt="An Image"  height="0.5 cm" width="5 cm"><xsl:value-of select="//SIGNATURE"/></fo:instream-foreign-object>

  • Neetha John
    Neetha John Rank 3 - Community Apprentice

    I am not trying to insert an image in the report. I am trying to save the report as an image in jpg format.

    The report can contain multiple text fields, images, tables and charts. I want to save the full report in a single jpg image file. But when I tried using the FORMAT_IMAGE_JPG output format for the FOProcessor, only a part of the report is present in the jpg image file.

    Thanks,
    Neetha