RenderReport to PDF image quality problem

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    1 posts
    Member since:
    Dec 2014

    Posted 26 Feb 2015 Link to this post

    Hi, we're rendering a report in PDF format that contains a BMP image. We want the rendering to use the "Flate" algorithm so that the image is not compressed. We need to do that to keep as much detail as possible from the original image.

    The image is contained in a PictureBox. We tried to set the PDF Dpi values to 600 dpi without any change in the rendered image quality.

    Here's a sample code thta we use:

    Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
    Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("pdf", instanceReportSource, null);

    Is there a parameter that we can set to modify the Telerik PDF rendering so that it does not use the default color image compression ?



     
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 03 Mar 2015 Link to this post

    Hello Jeff,

    On export in PDF format the image is rendered as Bitmap, the dpi device settings will not be applied on the image, the image will be rendered with 96dpi.

    Feel free to use public feedback portal and log a feature request for such PDF device setting. Features are selected for implementation based on the demand for them.

    Regards,
    Stef
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Ziga HABJAN
    Ziga HABJAN avatar
    23 posts
    Member since:
    Jan 2004

    Posted 16 Oct 2015 Link to this post

    I've seen this problem on forums many times now. And right now, we have it as well.. Is there anything new about the issue - or does someone still need to log feature request? (We need images to be re-encoded to pdf with higher dpi).
  4. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 20 Oct 2015 Link to this post

    Hello Ziga,

    The PDF rendering uses standard 96dpi settings on rendering a report with images. For more details check Report quality on print and export.

    Feel free to log a feature request elaborating on the use case and the required settings for the PDF rendering. Features are considered for implementation based on the demand for them.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top