@snibgo, that's probably because I did the snips with GIMP; it doesn't seem to write profile data into PNGs, at least for me. :)
Just to bring some closure to this, I did manage to get a working solution by using pdftopng to grab the first page and produce a PNG, which is then fed to ImageMagick ...
Search found 5 matches
- 2019-05-22T14:05:09-07:00
- Forum: Users
- Topic: How to match colors with GIMP when converting PDF?
- Replies: 10
- Views: 8478
- 2019-05-21T17:33:21-07:00
- Forum: Users
- Topic: How to match colors with GIMP when converting PDF?
- Replies: 10
- Views: 8478
Re: How to match colors with GIMP when converting PDF?
Ah, I see. That does make sense. I understand how GhostScript might have difficulty with this collection of random stuff.
I will look at using the "pdftopng" tool from xpdf-utils, as that looks to be exactly what I need and is probably easier than learning how to automate GIMP. ;)
I never know ...
I will look at using the "pdftopng" tool from xpdf-utils, as that looks to be exactly what I need and is probably easier than learning how to automate GIMP. ;)
I never know ...
- 2019-05-21T16:55:39-07:00
- Forum: Users
- Topic: How to match colors with GIMP when converting PDF?
- Replies: 10
- Views: 8478
Re: How to match colors with GIMP when converting PDF?
OK, thanks again. New command line:
magick -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" -depth 8 "C:\Users\Me\Documents\Test.png"
Verbose output ...
magick -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" -depth 8 "C:\Users\Me\Documents\Test.png"
Verbose output ...
- 2019-05-21T14:54:15-07:00
- Forum: Users
- Topic: How to match colors with GIMP when converting PDF?
- Replies: 10
- Views: 8478
Re: How to match colors with GIMP when converting PDF?
You use IM v7, so I suggest you use "magick" and "magick identify" instead of "convert" and "identify".
Remove "-colorspace sRGB". As your input has a profile, I suggest you use "-profile" if you need to, not "-colorspace".
Your "identify -verbose" says the file has a sRGB profile, but the text ...
- 2019-05-21T14:10:58-07:00
- Forum: Users
- Topic: How to match colors with GIMP when converting PDF?
- Replies: 10
- Views: 8478
How to match colors with GIMP when converting PDF?
First off, I'm a relative newcomer to ImageMagick. I'm attempting to script a process that I've been doing by hand using GIMP, however the colors I'm getting from IM are very different. I need to figure out how to match the colors so that things continue to be the same for our customer's experience ...