Convert ignores resulotion

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Tharbad
Posts: 2
Joined: 2017-04-26T16:12:44-07:00
Authentication code: 1151

Convert ignores resulotion

Post by Tharbad »

Hi,

FYI

Regardless of "-resample #" ghostscript uses 72.

v: 6.9.8.4-1 on Archlinux x64

Thanks
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Convert ignores resulotion

Post by dlemstra »

You will need to add -density # before the name of the file that you are reading. Next time please include your whole command in your message.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Convert ignores resulotion

Post by snibgo »

As dlemstra says, you probably want the "-density" setting (before the input filename), to tell Ghostscript what you want.

"-resample" is an operation that will resample the raster image, changing the DPI and number of pixels. This would come after the input filename.

See:
http://www.imagemagick.org/script/comma ... hp#density
http://www.imagemagick.org/script/comma ... p#resample
snibgo's IM pages: im.snibgo.com
Tharbad
Posts: 2
Joined: 2017-04-26T16:12:44-07:00
Authentication code: 1151

Re: Convert ignores resulotion

Post by Tharbad »

:(

Thanks
Post Reply