Page 1 of 1

[solved] Convert to PDF version 1.4, exactly (need 1.4 as hard coded arg)

Posted: 2016-10-08T02:33:40-07:00
by mhulse
Hello,

Out of the box, from what I can tell, on my macOS system, ImageMagick creates a PDF using 1.4.

But when I use:

Code: Select all

convert inputfiles pdfa:outputfile.pdf
The pdf is version 1.6.

Is there any way for me to specify the exact version? I think, optimally, I want PDFA 1.4.

Basically, I need to make sure my PDFs are 1.4; I would like to be explicit about this, rather than let the default PDF conversion handle it implicitly.

Thanks so much in advance!

Code: Select all

Version: ImageMagick 6.9.5-10 Q16 x86_64 2016-09-21 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib

Re: Convert to PDF version 1.4, exactly (need 1.4 as hard coded arg)

Posted: 2016-10-16T20:11:34-07:00
by mhulse
Just as an update, I think I will use GhostScript to do the PDF conversion for my project. I just found out that it has an option for PDF version:

Code: Select all

-dCompatibilityLevel=1.4