Question

Je souhaite convertir un fichier jpeg en PDF/A, car lob.com nécessite le format PDF/A. https://www.lob.com/docs#prepping

j'utilise imagemagick pour le convertir, et ce fichier est-il au format PDF/A ?

$ pdfinfo ~/Desktop/foo.pdf
Title:          foo
Producer:       ImageMagick 6.8.7-7 Q16 x86_64 2013-12-03 http://www.imagemagick.org
CreationDate:   Tue Jan  7 09:56:05 2014
ModDate:        Tue Jan  7 09:56:05 2014
Tagged:         no
Form:           none
Pages:          1
Encrypted:      no
Page size:      640 x 1136 pts
File size:      93239 bytes
Optimized:      no
PDF version:    1.3

Comment puis-je convertir un fichier JPEG en PDF au format PDF/A ?

Était-ce utile?

La solution

Maintenant que vous l'avez sous forme de fichier PDF non PDF/A, vous pouvez utiliser ghostscript pour convertir le PDF en PDF/A avec l'option -dPDFA.

Quelque chose comme:

gs \
    -dPDFA \
    -dBATCH \
    -dNOPAUSE \
    -dNOOUTERSAVE \
    -dUseCIEColor \
    -sDEVICE=pdfwrite \
    -sOutputFile=out-a.pdf \
     PDFA_def.ps \
     ~/Desktop/foo.pdf

Cela devrait fonctionner à condition que vous ayez un PDFA_def.ps correctement défini

Voir échange de pile Unix pour une question connexe.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top