[SOLVED] Gallery Remote imagemagick and jpegtran missing errors on Mac OS X

stevepiercy

Joined: 2004-06-02
Posts: 2
Posted: Sat, 2009-03-07 20:26

This post describes how to resolve the imagemagick and jpegtran missing errors on Mac OS X 10.5 Leopard. The instructions provided might help others using Windows or Linux variants.

Install the latest Standalone Gallery Remote and its patches.
http://codex.gallery2.org/Gallery_Remote:Bundled#Standalone_Gallery_Remote

For Mac OS X users, I highly recommend using macports to install ImageMagick over other methods. Don't follow the instructions to install IM on the IM site (and where the Gallery site refers you). They are useless.
http://www.macports.org/install.php
http://www.imagemagick.org/script/binary-releases.php#macosx << evil instructions

Instead after installing macports, add the following to your .profile or .bash_profile:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH

sudo port install ImageMagick

Test your installation of IM. Open an X11 session:

Applications/Utilities/X11

Enter in the Terminal:

$ convert logo: logo.gif
$ identify logo.gif
$ display logo.gif

Now let's get jpegtran installed. Follow the instructions here.
http://www.phpied.com/installing-jpegtran-mac-unix-linux/

Finally configure Gallery Remote to look in the proper place for everything. Open the folder that contains Gallery Remote, control-click on it and select "Show Package Contents". A new window pops up. Open:

/Applications/Gallery Remote/Gallery Remote.app/jpegtran/jpegtran.properties

Change these settings:
# should jpegtran support be enabled?
jp.enabled=true

# should lossless cropping be enabled?
jp.crop.enabled=true

# path to the executable, including the name of the executable (jpegtran)
# use forward slashes (/) rather than back slashes (\) even on Windows
jp.path=/opt/local/bin/jpegtran

Open:
/Applications/Gallery Remote/Gallery Remote.app/imagemagick/im.properties

Change this setting:
# path to the convert executable installed with ImageMagick, including the name of the executable (jpegtran)
# use forward slashes (/) rather than back slashes (\) even on Windows
im.convertPath=/opt/local/bin/convert

Launch Gallery. Rejoice! Hopefully this saves others hours of frustration. Please add your comments.