I have tested that tomeko's patch works well on Mac OS which is great because my photos are all stored in iPhoto, which it picks up fine. The only trouble is with Imagemagick. My method is this - I download the 409 beta for Mac OS, right-click and 'show package contents' on the app. Then I replace pms.jar inside the app with my patched and compiled one from Windows. Then I put Imagemagick's
convert binary into the /Resources/Java/osx folder within the app. Despite downloading the Imagemagick Mac OS binary release and following the steps outlined
here to set the environment variables for the library paths, they are not picked up when the convert binary is invoked from Java. Is this because the JVM runs in a different user context perhaps? I get this in the log:
- Code: Select all
[Thread-23] DEBUG 18:41:54.822 dyld: Library not loaded: /ImageMagick-6.6.3/lib/libMagickCore.4.dylib
[Thread-23] DEBUG 18:41:54.822 Referenced from: /Applications/PS3 Media Server.app/Contents/Resources/Java/osx/convert
[Thread-23] DEBUG 18:41:54.822 Reason: image not found
The simple fix is to just copy the whole Imagemagick folder to the root of the filesystem. Not ideal but it works! I guess the next challenge will be to transcode non renderer supported image mime types to JPEG using Imagemagick.