Search found 5 matches

by wardrop
2019-09-23T23:30:42-07:00
Forum: Users
Topic: Converting CMYK PDF to sRGB PNG
Replies: 1
Views: 912

Re: Converting CMYK PDF to sRGB PNG

Turns out I already hit this some time ago and found it be a GhostScript 9.26 bug: https://www.imagemagick.org/discourse-server/viewtopic.php?p=162084#p162084 What a waste of time. AArrghh! Makes sense as I downgraded GhostScript back then to work-around it. I'm not running this on another box. I th...
by wardrop
2019-09-23T23:16:50-07:00
Forum: Users
Topic: Converting CMYK PDF to sRGB PNG
Replies: 1
Views: 912

Converting CMYK PDF to sRGB PNG

Hi all, I use to be able to run a command like this using ImageMagick 6.x to convert a CMYK PDF to a PNG image: magick -colorspace sRGB input.pdf output.png This could be combined with -resize to give me a nice thumbnail of a PDF. In ImageMagick 7 (v7.0.7-34, using GhostScript 9.26), I instead get a...
by wardrop
2018-12-10T23:03:46-07:00
Forum: Bugs
Topic: Convert PDF to PNG fails with page number
Replies: 9
Views: 9286

Re: Convert PDF to PNG fails with page number

Dongrading to GhostScript 9.23 resolves the issue. Did this by installing the RPM package for OpenSUSE Leap 15 from here: http://download.opensuse.org/distributi ... ss/x86_64/

Not sure if this is a bug in Ghostscript, or just an compatibility issue between Ghostscript and ImageMagick?
by wardrop
2018-12-10T22:53:31-07:00
Forum: Bugs
Topic: Convert PDF to PNG fails with page number
Replies: 9
Views: 9286

Re: Convert PDF to PNG fails with page number

I came to report the same issue. I'm running OpenSUSE tumbleweed so using a very recent version of ImageMagick. `magick -version` reports "Version: ImageMagick 7.0.8-14 Q16 x86_64 20181023". GhostScript reports its version as "GPL Ghostscript 9.26 (2018-11-20)". The problem seems to be with PDF's co...
by wardrop
2014-02-09T17:16:35-07:00
Forum: Users
Topic: Resize and crop image in single operation
Replies: 1
Views: 1178

Resize and crop image in single operation

Hi, I'm trying to resize and crop an image using `mogrify`, but it seems the version of ImageMagick I'm using crops BEFORE resizing. Here's the command I'm using: mogrify -format jpg -colorspace RGB -resize "160x160^" -gravity center -crop 160x160+0+0 /tmp/input.jpg On my computer running ImageMagic...