Code: Select all
Version: ImageMagick 7.0.8-45 Q16 x64 2019-05-13 http://www.imagemagick.org
Code: Select all
Properties:
date:create: 2019-05-21T16:08:39+00:00
date:modify: 2019-05-21T16:08:39+00:00
dc:format: application/pdf
illustrator:StartupProfile: Print
illustrator:Type: Document
pdf:HiResBoundingBox: 612x792+0+0
pdf:Producer: Adobe PDF Library 15.0
pdf:Trapped: False
pdf:Version: PDF-1.4
photoshop:ColorMode: 3
photoshop:ICCProfile: sRGB IEC61966-2.1
signature: 48264b748a183f9485306b8c1ab0c02039df8ef97f7a9a5cfeb9c20ea9e3fa6a
tiff:XResolution: 720000/10000
tiff:YResolution: 720000/10000
xmp:ColorSpace: 1
xmp:CreateDate: 2019-05-20T14:20:31-04:00
xmp:CreatorTool: Adobe InDesign 14.0 (Macintosh)
xmp:MetadataDate: 2019-05-20T14:20:32-04:00
xmp:ModifyDate: 2019-05-20T14:20:32-04:00
xmp:PixelXDimension: 187
xmp:PixelYDimension: 187
xmpMM:DerivedFrom: default
xmpMM:DocumentID: xmp.id:5b5e3b18-1c50-4b3a-b53f-b0f35190e00c
xmpMM:InstanceID: uuid:39a6a229-af2f-dd42-ae37-c9fef2179146
xmpMM:OriginalDocumentID: xmp.did:42204DDF1620681197A584965A8A0009
xmpMM:RenditionClass: proof:pdf
xmpTPg:HasVisibleOverprint: False
xmpTPg:HasVisibleTransparency: False
xmpTPg:MaxPageSize: Millimeters
xmpTPg:NPages: 1
Profiles:
Profile-xmp: 2472 bytes
The script I have written so far (using Windows PowerShell) produces this command line:
Code: Select all
magick convert -verbose -density 120 "C:\Users\Me\Documents\Test.pdf[0]" -background white -alpha remove -trim -resize 410x300 -profile "C:\Users\Me\Documents\Color Profiles\sRGB_v4_ICC_preference.icc" -colorspace sRGB -depth 8 "C:\Users\Me\Documents\Test.png"
Code: Select all
[ghostscript library 9.26] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGri dFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r120x120" -dUseCIEColor -dFirstPage=1 -dLastPage =1 "-sOutputFile=C:/Users/Me/AppData/Local/Temp/magick-2160h3OuOvoTD6HI%d" "-fC:/Users/Me/AppData/Local/Temp/magick- 2160AXAVJjkhUay-" "-fC:/Users/Me/AppData/Local/Temp/magick-2160ZpftXs8EVJDU"C:/Users/Me/AppData/Local/Temp/magick-21 60h3OuOvoTD6HI1 PAM 1020x1320 1020x1320+0+0 8-bit ColorSeparation CMYK 5.13621MiB 0.031u 0:00.021
C:\Users\Me\Documents\Test.pdf[0]=>C:\Users\Me\Documents\Test.pdf PDF 1020 x1320 1020x1320+0+0 16-bit ColorSeparation CMYK 5.13621MiB 0.063u 0:00.067
C:\Users\Me\Documents\Color Profiles\sRGB_v4_ICC_preference.icc ICC 1x1 1x1+0+0 16-bit sRGB 60960B 0.016u 0:00.001 writing raw profile: type=xmp, length=2472
C:\Users\Me\Documents\Test.pdf[0]=>C:\Users\Me\Documents\Test.png PDF 1020 x1320=>225x300 255x330+15+15 8-bit sRGB 5.13621MiB 0.266u 0:00.113
The profile I had downloaded from ICC just today, to see if it made a difference. So far as I can tell, there is no difference between the output quality now and that of my initial tests where I didn't specify a profile at all. I had been hoping that if I could get GIMP and ImageMagick to use the same color profiles it might help.
Unfortunately, I am not permitted to share these files, and I am not sure how to create a suitable test image myself.
If anyone could help me figure out what I'm missing here, I would greatly appreciate it!