convert : force output as PDF v1.3 possible ?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Rumcajs
Posts: 4
Joined: 2018-08-04T07:15:13-07:00
Authentication code: 1152

convert : force output as PDF v1.3 possible ?

Post by Rumcajs »

Hi,

i use this command to produce a flattended pdf :

convert -quality 100 -density 300 -colorspace CMYK -profile /usr/share/color/icc/CoatedFOGRA27.icc input.pdf output_flattened.pdf

It works pretty good, but its produced a v1.7 pdf file, is it possible to tell convert to produce a v1.3 pdf ?

Cheers
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert : force output as PDF v1.3 possible ?

Post by magick »

ImageMagick returns a PDF version 1.7 when an ICC color profile is embedded. Can you reference documentation that suggests a color profile meets the requirements of PDF version 1.3?
Rumcajs
Posts: 4
Joined: 2018-08-04T07:15:13-07:00
Authentication code: 1152

Re: convert : force output as PDF v1.3 possible ?

Post by Rumcajs »

I got almost what i wanted by running :

convert -quality 100 -density 300 -colorspace CMYK input.pdf output_flattened.pdf

without : "-profile /usr/share/color/icc/CoatedFOGRA27.icc" its generate a v1.3 pdf file, v1.3 its very important in printing businessmen because the v1.3 is a requirement for many professional printing units. Our units also accept only "PDF/X­1a: 2001 Akrobat 4­ v1.3" to.

One disadvantage however is the fact that i cannot use the "-profile" parameter :
Lets say the input.pdf has RGB colorspace, then i need to convert it to CMYK for printing, our print units are calibrated for the FOGRA27 colorspace, thats why i will like call it like : "convert -quality 100 -density 300 -colorspace CMYK -profile /usr/share/color/icc/CoatedFOGRA27.icc input.pdf output_flattened.pdf" maybe with one more parameter like -OutPdfVer=1.3 to generate a v1.3 pdf file.
Post Reply