Skip to Content
author's profile photo Former Member
Former Member

Need to reduce the report size.

Hi all,

I am using CR2008, i have total 4 images(jpeg) in the header and footer. My problem is size of the rpt file. i am getting 8MB for the blank report itself. so i cant able to export this file properly from my application(.net)into .doc and RTF formats if the report having more than 20 pages. When i remove the whole images from the rpt the size is getting down to around 150KB.

The DPI of the Image is 600 with same height and diffrent width.but the total image size is only 160Kb.i cant able to compromise the resolution of the image. While i am reducing the DPI, the size of the rpt is also decreasing. How can i overcome this problem without reducing the image resolution.

Hope anyone will give the solution for this,

Thanks in Advance,

Salah.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 16, 2009 at 08:28 PM

    I ran into the same issue and was able solve the problem.

    When you insert a jpeg into a report, the jpeg is converted to a bitmap so for example a 200K jpg file can explode to 3 megs.

    I was able to solve the problem by opening my bitmap(which was black and white) in photoshop and converting the bitmap to grayscale. Then when saving the converted bitmap I compressed the file.

    Then I inserted the image into the report as a OLE object which keep the new size of the file.

    Then the other thing you need to do is make sure you have Retain Original Color Depth check on under your report options so that the image will retain it resolution.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 13, 2009 at 08:08 PM

    Have you tried changing the type of image file you're using? Different image types have different compression algorithms, and they are best at different compressing particular types of images. (.jpg is better for gradients, for example, and .gifs are better for blocks of single colors, like you'd see in a cartoon or text). Also, you may try reducing the palette for your images - you'll need to experiment with that.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.