I am having a problem with a simple conversion from tif to png.
Here is the exec() cmd I am using inside PHP script.

convert 110316195160_0.tif -sampling-factor 1x1 110316195160_0.png

It seems any attempt to process a conversion throws this exception....

convert: Improper JPEG sampling factors 2,2
Apparently should be 1,1.. `JPEGPreDecode' @ 
warning/tiff.c/TIFFWarnings/706.


I suspect something is amiss with the install ?

Here is the configure.xml

<configuremap>
<configure name="NAME" value="ImageMagick" />
<configure name="LIB_VERSION" value="0x632" />
<configure name="LIB_VERSION_NUMBER" value="6,3,2,9" />
<configure name="RELEASE_DATE" value="04/05/07" />
<configure name="CONFIGURE" value="./configure /usr/share/config.site 
/usr/etc/config.site" />
<configure name="PREFIX" value="/usr" />
<configure name="EXEC-PREFIX" value="/usr" />
<configure name="VERSION" value="6.3.2" />
<configure name="CC" value="gcc" />
<configure name="CFLAGS" value="-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -Wall -W -pthread" />
<configure name="CPPFLAGS" value="-I/usr/include" />
<configure name="PCFLAGS" value="" />
<configure name="DEFS" value="-DHAVE_CONFIG_H" />
<configure name="LDFLAGS" value="-L/usr/lib -lfreetype" />
<configure name="LIBS" value="-lMagick -llcms -ltiff -lfreetype -ljpeg 
-lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm 
-lpthread" />
<configure name="CXX" value="g++" />
<configure name="CXXFLAGS" value="-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -Wall -W -pthread" />
<configure name="DISTCHECK_CONFIG_FLAGS" value="'CFLAGS=-O2 -g -pipe 
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-table$
<configure name="HOST" value="i686-redhat-linux-gnu" />
<configure name="COPYRIGHT" value="Copyright (C) 1999-2005 ImageMagick 
Studio LLC" />
<configure name="WEBSITE" value="http://www.imagemagick.org"; />
<configure name="QuantumDepth" value="16" />
</configuremap>


*Ben Marchbanks*
<http://www.magazooms.com>
<http://www.itunes.com/app/mzreader>

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to