I have been using GalleryRemote for a while now and think it is a great application. However, I would like to be able to resize my images before uploading so I have been working on getting Imagemagick working. This is the error I am getting in the log file.
31704|TRACE|ImageUtils|Executing [/usr/local/bin/convert, -filter, Box, /Users/pat/Downloads/8-speed_tranny/8-speed_tranny-03.jpg, -resize, 64x64, +profile, *, /tmp/thumbs-pat/thumb1474758697.gif]
31769|TRACE|ImageUtils|Err: convert: no decode delegate for this image format `/Users/pat/Downloads/8-speed_tranny/8-speed_tranny-03.jpg' @ constitute.c/ReadImage/526.
31769|TRACE|ImageUtils|Err: convert: missing an image filename `/tmp/thumbs-pat/thumb1474758697.gif' @ convert.c/ConvertImageCommand/2766.
31769|TRACE|ImageUtils|Returned with value 1
31769|CRITI|ImageUtils|ImageMagick doesn't seem to be working. Disabling
But if I run this from the command line it works.
convert -filter Box /Users/pat/Downloads/8-speed_tranny/8-speed_tranny-03.jpg -resize 64x64 /tmp/test.gif
I am not sure what the +profile * parameter is supposed to do but if I add that it does fail.
GalleryRemote 1.5.1-b43
Mac OS X 10.5.6
ImageMagick 6.4.8-9
Thanks,
pat
Posts: 3
Okay, if I use the correct syntax for the +profile command it does work from the command line.
convert -filter Box /Users/pat/Downloads/8-speed_tranny/8-speed_tranny-03.jpg -resize 64x64 +profile "*" /tmp/test.gif
Posts: 3
Problem solved. I guess I should have been paying better attention. I forgot to edit im.properties to point to the ImageMagick installation in /opt/local.