resize error

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
abieler
Posts: 5
Joined: 2017-11-14T03:05:44-07:00
Authentication code: 1152

resize error

Post by abieler »

ImageMagick 7.0.7-14 Q32 x86_64 2017-12-06
Manjaro Linux 64bit

The result of the following command is wrong.

Code: Select all

 convert example.pdf -resize 50% out.jpeg
out.jpeg is not a smaller version of example.pdf but something
different (depending on what other options are used within the command.
sometimes all black, sometimes it seems to overlay different parts of the
original image and repeat that..)
I tried different commands with more options enabled. They all work
as expected when -resize is removed (everything else left unchanged).

Best

abieler
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: resize error

Post by Bonzo »

Convert is using a legacy V6 version of Imagemagick; to use version 7 use magick instead.

Your post is a bit confusing; does the simple resize work without: "depending on what other options are used within the command." or not?

What commands are you using that fail?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: resize error

Post by fmw42 »

If you are still having an issue, please post your PDF file to some free hosting service that will preserve the PDF and put the URL here. Also post the exact commands that cause the issue.
abieler
Posts: 5
Joined: 2017-11-14T03:05:44-07:00
Authentication code: 1152

Re: resize error

Post by abieler »

Sorry for not being clear.

Any command without "-resize" works. (I only tested so many...)
Any command involving "-resize" fails.

This is not restircted to pdf, but also png and jpeg.
Below a link containing two original files and the resized versions
that have the suffix "_small"

I converted with

Code: Select all

convert original_image -resize 50% original_image_small
and with

Code: Select all

magick original_image -resize 50% original_image_small
the result is the same for both commands

https://www.dropbox.com/s/vtxcag7b7tzyl ... t.zip?dl=0
abieler
Posts: 5
Joined: 2017-11-14T03:05:44-07:00
Authentication code: 1152

Re: resize error

Post by abieler »

Code: Select all

convert -debug all logo: -resize 50% logo.jpg
works.
abieler
Posts: 5
Joined: 2017-11-14T03:05:44-07:00
Authentication code: 1152

Re: resize error

Post by abieler »

AFAICT the issue has been resolved in version 7.0.7-15 Q16
Post Reply