Post Reply 

PDF export settings?

Apr 11, 2014, 00:08
Post: #1
PDF export settings?
Hi!

May I know if there is a way to specify PDF settings when exporting a PDF file from gimp?

We need to produce PDF files with some specific settings (PDF version 1.4, fonts embedded etc) to ensure backwards compatibility with some earlier versions of Adobe Reader.

When I use Adobe products, I can use Distiller to configure the settings to use.
May I know how I can do the same for gimp?

Thanks!
Find all posts by this user
Quote this message in a reply
Apr 11, 2014, 10:02
Post: #2
RE: PDF export settings?
(Apr 11, 2014 00:08)pai000000 Wrote:  May I know if there is a way to specify PDF settings when exporting a PDF file from gimp?
Gimp is basically a bitmap editor and the PDF export settings are what you get. Very simple.

Quote:We need to produce PDF files with some specific settings (PDF version 1.4, fonts embedded etc) to ensure backwards compatibility with some earlier versions of Adobe Reader.

That is an interesting question though, and a few experiments comes up with.

Caveat.
1. Certainly not an exhaustive test
2. Most of this is in linux but I have opened everything in a separate WinXP machine that does not have the embedded font installed and all looks ok there.
3. I refuse to have anything Ad*be on any of my computers.

PDF type.
Looks like Gimp produces PDF 1.5 but providing you keep your text layer(s) the font is embedded.
The font used here is non-standard Albertus Bold which I know is not on my XP machine.
One strange anomaly and this might only be a Gimp 2.8.10 bug. I increased the font character spacing. With a 'dynamic' text box the spacing was lost in the PDF. Easily fixed by a little drag on the text box handles to enter 'fixed' mode. This probably only on my installation, it is a try-&-see.
screenshot of pdf from gimp. http://i.imgur.com/GInAOF5.jpg

Getting it into PDF 1.4 format
Two ways that worked here. Commandline ghostscript and Inkscape.

Code:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fromghostscript.pdf gimporig.pdf

One concern is the ghostscript PDF is a lot smaller than the Gimp PDF. 38 KB vs. 165 KB maybe it is degrading the raster part of the image. Don't know.

Inkscape has an option when saving, to set PDF 1.4 Resulting file size about the same as Gimp

screenshot this is from Ghostscript but the Inkscape is similar. http://i.imgur.com/WQnPJew.jpg

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 11, 2014, 13:55
Post: #3
RE: PDF export settings?
(Apr 11, 2014 10:02)rich2005 Wrote:  
(Apr 11, 2014 00:08)pai000000 Wrote:  May I know if there is a way to specify PDF settings when exporting a PDF file from gimp?
Gimp is basically a bitmap editor and the PDF export settings are what you get. Very simple.

Quote:We need to produce PDF files with some specific settings (PDF version 1.4, fonts embedded etc) to ensure backwards compatibility with some earlier versions of Adobe Reader.

That is an interesting question though, and a few experiments comes up with.

Caveat.
1. Certainly not an exhaustive test
2. Most of this is in linux but I have opened everything in a separate WinXP machine that does not have the embedded font installed and all looks ok there.
3. I refuse to have anything Ad*be on any of my computers.

PDF type.
Looks like Gimp produces PDF 1.5 but providing you keep your text layer(s) the font is embedded.
The font used here is non-standard Albertus Bold which I know is not on my XP machine.
One strange anomaly and this might only be a Gimp 2.8.10 bug. I increased the font character spacing. With a 'dynamic' text box the spacing was lost in the PDF. Easily fixed by a little drag on the text box handles to enter 'fixed' mode. This probably only on my installation, it is a try-&-see.
screenshot of pdf from gimp. http://i.imgur.com/GInAOF5.jpg

Getting it into PDF 1.4 format
Two ways that worked here. Commandline ghostscript and Inkscape.

Code:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=fromghostscript.pdf gimporig.pdf

One concern is the ghostscript PDF is a lot smaller than the Gimp PDF. 38 KB vs. 165 KB maybe it is degrading the raster part of the image. Don't know.

Inkscape has an option when saving, to set PDF 1.4 Resulting file size about the same as Gimp

screenshot this is from Ghostscript but the Inkscape is similar. http://i.imgur.com/WQnPJew.jpg

Hi Rich2005,

You mentioned " I refuse to have anything Ad*be on any of my computers". I very much feel the same and do not use any except flash. The flash player seems to be a necessary evil. Is there an alternative? I would like to get rid of their falsh, if there is an alternative.

using: Linux Mint16 + GIMP 2.8.6 & Win XP + GIMP 2.8.10
Find all posts by this user
Quote this message in a reply
Apr 11, 2014, 15:41
Post: #4
RE: PDF export settings?
Ouch, you caught me out

Looking at what is installed I do have

Adobe Flash Player plugin for all web browsers

using

PClinuxOS, Gimp 2.8.10 and at the moment SRware Iron as a browser

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 11, 2014, 17:36
Post: #5
RE: PDF export settings?
I do have access to a machine with PS, but not mine.

This is a clip of the original before I removed the shadow. For the record, all done in Gimp.
Very forgiving background,
[Image: aFj0G8P.jpg]

Poor little thing, stuck in NE-England in April.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 14, 2014, 04:54
Post: #6
RE: PDF export settings?
Hello Rich2005

Thank you very much for the reply and tests.
Very helpful.
Find all posts by this user
Quote this message in a reply
Apr 14, 2014, 05:12 (This post was last modified: Apr 14, 2014 05:13 by iForStyle007.)
Post: #7
RE: PDF export settings?
(Apr 11, 2014 13:55)Sgkris Wrote:  I very much feel the same and do not use any except flash. The flash player seems to be a necessary evil. Is there an alternative? I would like to get rid of their falsh, if there is an alternative.

using: Linux Mint16 + GIMP 2.8.6 & Win XP + GIMP 2.8.10

I found 2 alternatives on a forum Gn... & Lightsp...(free download, don't know about Gn...)
They also stated that it doesn't perform as well as flash & that HTML5 will eventually replace most if not all flash content.
in-line edit: Flash isn't too bad, an update nag at the least if you configure it right. If you use chrome it updates with the browser updates & you can try their "pepper" version of the flash

HTML5 is a cool relatively web video/content rendering engine like flash but HD I think, Chrome browser has it, it works pretty well & will extend the battery usage time on a laptop Smile

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Transparent Layer Changing To Black instead of White after Export JustAmanda123 2 3,507 Jul 28, 2018 17:06
Last Post: abajan
  PDF export problem Buntu Bunny 5 8,914 May 18, 2018 20:56
Last Post: paynekj
  GIMP 2.8.18 on MacOS Sierra freezes on export yroeht 2 285 May 17, 2018 20:24
Last Post: paynekj
  Gimp settings folder location js017 1 439 Mar 27, 2018 06:26
Last Post: paynekj
  Export to PDF spoils image rdh61 1 535 Jan 30, 2018 13:05
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS