Page 1 of 1

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

Posted: 2011-04-13T11:13:07-07:00
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 ?

Re: JPG resize problem - Pseudo Class 256c

Posted: 2011-04-13T11:22:03-07:00
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

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

Posted: 2011-04-14T10:55:34-07:00
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 ...