Processing status...
- Adding 016.jpg
Executing:
/usr/local/netpbm/bin/jpegtopnm /home/welovetechno/www/albums/flyers/016_G.jpg | /usr/local/netpbm/bin/pnmfile --allimages
Results:
stdin: Image 0: PPM raw, 411 by 329 maxval 255
Error messages:
jpegtopnm: WRITING PPM FILE
Status: 0 (expected 0)
Executing:
/usr/local/netpbm/bin/jpegtopnm /home/welovetechno/www/albums/flyers/016_G.jpg | /usr/local/netpbm/bin/pnmfile --allimages
Results:
stdin: Image 0: PPM raw, 411 by 329 maxval 255
Error messages:
jpegtopnm: WRITING PPM FILE
Status: 0 (expected 0)
Executing:
/usr/local/netpbm/bin/jpegtopnm /home/welovetechno/www/albums/flyers/016_G.jpg | /usr/local/netpbm/bin/pnmscale -xysize 150 150 | /usr/local/netpbm/bin/pnmtojpeg --quality=95 > /home/welovetechno/www/albums/flyers/016_G.thumb.jpg
Results:
none
Error messages:
jpegtopnm: WRITING PPM FILE
pnmtojpeg: INTERNAL ERROR: invalid number of input components in translate_row()
pnmscale: Error writing single byte sample to file
jpegtopnm: Error writing single byte sample to file
Status: 1 (expected 0)
Error: Unable to make thumbnail (0)!
Posts: 7994
Ahem. This is FAQ C.16 :smile:
Posts: 4
I'm having a similar issue, only I think I know what my solution is. The problem is this: When I downloaded the custom NetPBM binaries, one file seemed to be missing: pnmtojpeg. Is that binary available anywhere else?
I'm running Mandrake 8.2, which, according to the FAQ, is part of my original problem with not being able to upload jpegs.
Knightsabre
Posts: 4
Ok, I managed to work around my problem of the missing file.
I didn't have the pnmtojpeg file, but I did have the ppmtojpeg file. On a whim, I copied the ppmtojpeg file to the pnmtojpeg file, tried uploading an image, and it worked!
Don't know how or why it worked, I'm just glad it did!
Thanks! :grin:
Posts: 45
I got the same problem, after I switched host, and run through the installation setup again on the new host.
Knightsabre solution made everything work.
Maybe it is because the config.php file is default set up with pnmtojpeg as the filename?
Have not tried to manually change it in the config file, but I guess that would do the same trick...