[Solved]-JPG resize problem - Pseudo Class 256c

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
markmarques
Posts: 88
Joined: 2010-06-29T14:36:09-07:00
Authentication code: 8675308

[Solved]-JPG resize problem - Pseudo Class 256c

Post by markmarques »

After several tests I am still unable to resize correctly this image :

Image
t1a.jpg JPEG 644x495 644x495+0+0 8-bit PseudoClass 256c 39.7KB 0.016u 0:00.015

I am using a Manual VS2005 Studio HDRI 6.6.9-4 compiled version in Windows....

no matter what I try to resize ( both shrink and enlarge ) ( several filters ) ( option -scale - adaptive-resize resize )
I get a strange completly black image with 20Kb or 59Kb depending on the size ...

Any ideas ?
Last edited by markmarques on 2011-04-14T10:53:22-07:00, edited 1 time in total.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: JPG resize problem - Pseudo Class 256c

Post by NicolasRobidoux »

I understand this is not quite your install, but running the following
through the IM CLI (current svn compiled with --enable-hdri on Linux
Mint with a lazy fix of bug
http://imagemagick.org/discourse-server ... =3&t=18512)
I get good results.

Code: Select all

convert t1alh.jpg -filter lanczos2sharp -distort resize 50% out.jpg
convert t1alh.jpg -filter lanczos2sharp -distort resize 150% out.jpg
convert t1alh.jpg -filter lanczos -resize 150% out.jpg
convert t1alh.jpg -filter lanczos -resize 50% out.jpg
markmarques
Posts: 88
Joined: 2010-06-29T14:36:09-07:00
Authentication code: 8675308

Re: [Solved]-JPG resize problem - Pseudo Class 256c

Post by markmarques »

The initial problem is related to the Quantum 64 and JPG lib ...
Not related to the "resize" function per se...

viewtopic.php?f=3&t=18526

So this is now closed ...
Post Reply