Export to PDF - Too Large File Size

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Export to PDF - Too Large File Size

kbharaninath@gmail.com
Hi,

Whenever I Export to PDF, the file size is extremely large. For example, my Drawing in LibreCAD is just 115 kb but when I export to PDF, the file size is 11 MB. Can someone help me how I can get a smaller file size? Am I having some setting wrong?

Kindly advise.

Regards,
KB
Regards,
KB
Reply | Threaded
Open this post in threaded view
|

Re: Export to PDF - Too Large File Size

dellus
Difficult to say what's the reason without the file.
Do you have an image in it?
A lot of text?
Blocks inserted repeatedly many times?
Large areas of hatching, maybe even very dense? In the pdf every line will be an extra object.

Maybe you can't make it smaller. You may try an external pdf printer to see if the result is better.

Reply | Threaded
Open this post in threaded view
|

Re: Export to PDF - Too Large File Size

kbharaninath@gmail.com
dellus wrote
Difficult to say what's the reason without the file.
Do you have an image in it?
A lot of text?
Blocks inserted repeatedly many times?
Large areas of hatching, maybe even very dense? In the pdf every line will be an extra object.

Maybe you can't make it smaller. You may try an external pdf printer to see if the result is better.
You are right, blocks are repeated. The dxf file is only 100 to 200 KB. So, was wondering why the pdf file is so huge. There is a 264 kb dxf file that came out as 23 MB pdf file.
Regards,
KB
Reply | Threaded
Open this post in threaded view
|

Re: Export to PDF - Too Large File Size

LordOfBikes
Administrator
Without looking into code, I assume that the PDF is created as pixel image.
So a DXF file describes each entity with few lines of ASCII code. But the PDF will depend on the form factor of the drawing. The bigger the drawing in the sense of absolute dimensions, the bigger the PDF will be.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Export to PDF - Too Large File Size

kbharaninath@gmail.com
I am using the following version of LibreCAD

Version: 2.1.3
Compiler: GNU GCC 4.9.1
Compiled on: Sep 23 2016
Qt Version: 5.4.1
Boost Version: 1.60.0
System: Windows

I used File -> Export -> Export as PDF
Regards,
KB
Reply | Threaded
Open this post in threaded view
|

Re: Export to PDF - Too Large File Size

dellus
When you open a LibreCAD pdf export in Inkscape, you can see it's vector graphics. The whole drawing seems to be one entity at first, you have to ungroup (explode) it to get to the various elements.