ppm to jpg fails in Debian, works in Win7, fresh installs
Posted: 2014-03-15T17:01:21-07:00
I'm trying to use imagemagick to convert ppm files (from a Canon camera using chdkptp) to jpg on a headless dockstar running debian.
I get an image that is unviewable, and is 512KB. The verbose option yields the following:
If I copy the file to my PC and run it there (Win7) it works perfectly, and produces a file which is only 42KB.
Imagemagick was installed today on both the Dockstar and the PC. On the dockstar, I tried both compiling from source and doing "apt-get install imagemagick".
I also tried converting to png, and got an output file of exactly the same length, also unviewable.
Is there anything else I can try?
I get an image that is unviewable, and is 512KB. The verbose option yields the following:
Code: Select all
convert -verbose foo.ppm foo.jpg
foo.ppm PPM 720x240 720x240+0+0 8-bit sRGB 518KB 0.020u 0:00.019
foo.ppm=>foo.jpg PPM 720x240 720x240+0+0 8-bit sRGB 518KB 0.040u 0:00.100
convert -version
Version: ImageMagick 6.8.8-7 Q16 armv5tel 2014-03-08 http://www.imagemagick.org
Code: Select all
convert -verbose foo.ppm foo4.jpg
foo.ppm PPM 720x240 720x240+0+0 8-bit sRGB 518KB 0.000u 0:00.000
foo.ppm=>foo4.jpg PPM 720x240 720x240+0+0 8-bit sRGB 42.6KB 0.062u 0:00.030
I also tried converting to png, and got an output file of exactly the same length, also unviewable.
Is there anything else I can try?