Archive for February, 2008

Filemaker Pro and ImageMagick

Filemaker Pro can store images in container fields. Wouldn’t it be great if it could also perform standard image manipulations on those stored images? Well with a combination of Filemaker Pro, ImageMagick and a little UNIX scripting, you can.

Here’s how:

1) Install ImageMagick on your system

2) Create a Filemaker Pro database with fields similar to the ones in the example file below or simply use our example

3) Copy the script from the example records below into your own version and Process your images.

Here’s the working example to download:
Filemaker and ImageMagick Example

You can also run ImageMagick image processing with AppleScript using “do shell script”. Here’s an example:

do shell script "cd ~/; ls"
do shell script "cd ~/; export MAGICK_HOME=\"$HOME/ImageMagick-6.3.2\" ;export PATH=\"$MAGICK_HOME/bin:$PATH\" ;export DYLD_LIBRARY_PATH=\"$MAGICK_HOME/lib\"; convert donj.bmp donj.jpg"