Page 3 of 4

Re: EMF, SVG or how to reduce PDF size

Posted: Wed Sep 18, 2013 1:46 pm
by HighAley
Hello, Bruno.
bsilence wrote:Can i use the latest prerelease build without any problems with the version i have?
You could try the trial version and if it will work right then your company should purchase it.

Thank you.

Re: EMF, SVG or how to reduce PDF size

Posted: Wed Oct 02, 2013 10:25 am
by bsilence
Hello,

Just installed latest version, and the report i sended to you keeps generating a pdf file with 180Kb.
This is to big. can you help me reduce the size of the generated file?

Thank you.

Re: EMF, SVG or how to reduce PDF size

Posted: Thu Oct 03, 2013 10:25 am
by HighAley
Hello.

It seems that you are exporting report to PDF with embedded fonts.
Please, try to set the StiPdfExportSettings.EmbeddedFonts to false.

Thank you.

Re: EMF, SVG or how to reduce PDF size

Posted: Fri Oct 04, 2013 9:18 am
by bsilence
Aleksey Andreyanov wrote:Hello.

It seems that you are exporting report to PDF with embedded fonts.
Please, try to set the StiPdfExportSettings.EmbeddedFonts to false.

Thank you.
Hello,

This didn't do the trick, still have a 168Kb pdf file, it just seems way to big for just one record of info :S

Best Regards.
Bruno Fernandes

Re: EMF, SVG or how to reduce PDF size

Posted: Fri Oct 04, 2013 1:04 pm
by HighAley
Hello.

How did you set up export properties?
Please, send us a sample project which reproduces the issue.

Thank you.

Re: EMF, SVG or how to reduce PDF size

Posted: Fri Oct 18, 2013 11:32 am
by bsilence
Hello,

Just made a small winForms program to generate a pdf file of a simple report with a databand.
Just run the app and press Generate button, the pdf file will be created inside the C:\StimulsoftPDFSizeTest\StimulsoftPDFSizeTest\bin\Debug\Documents
folder.

As you can see the pdf file created as 160Kb... this seems quite large... Can i do something to reduce the size of the generated report?

Best regards.

Bruno Fernandes

Re: EMF, SVG or how to reduce PDF size

Posted: Fri Oct 18, 2013 2:32 pm
by Ivan
Hello,

If the UseUnicode + Encryption is used, then it is necessary to use the Embedded fonts = true (this will done automatically). It's restriction of Adobe Acrobat for correct displaying of national symbols etc.

So you have 2 ways:
1. Set UseUnicode=false; sometimes can be some problem with national characters, if pdf-file is opened on system where correspond fonts is not installed.
2. Don't use Encryption - do not set the UserAccessPrivileges.

Thank you.

Re: EMF, SVG or how to reduce PDF size

Posted: Thu May 07, 2015 6:37 am
by sajanyamaha
I am also trying to reduce one of my reports which lands on 150 kb ,i want it around 125 kb,here is my .mrt file attached.
BoardingPass_Print_Nok.mrt
(130.66 KiB) Downloaded 403 times

Re: EMF, SVG or how to reduce PDF size

Posted: Fri May 08, 2015 1:42 pm
by HighAley
Hello.

Sorry, maybe we did not exactly understand your question. Could you explain your issue more detailed?

Thank you.

Re: EMF, SVG or how to reduce PDF size

Posted: Tue May 12, 2015 9:38 am
by nicegaurav
Hi,

I am also facing the same issue.. Size Issue of PDF.
Already set the StiPdfExportSettings.EmbeddedFonts to false. But it is not impacting the size of pdf report too much (just 20kb less as actual).
StiPdfExportSettings.ImageResolution default value is 100dpi, Chart or graph image (emf) is not clear, when I use StiPdfExportSettings.ImageResolution = 400, it is
displaying clean and bright but the pdf report size too much exceeded. In case of default values report size is 156kb but when I do StiPdfExportSettings.ImageResolution = 400, it is showing me the size of report 875kb. it is just a single page report.

Is there any way to reduce the size of pdf file?

Waiting for your positive response.