![]() |
|
ImageMagick Ever Coming?? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: ImageMagick Ever Coming?? (/thread-6900.html) |
ImageMagick Ever Coming?? - forkboy - 2010-04-10 Curious if there are still plans to incorporate ImageMagick? Zenphoto is my favorite of the various photo gallery platforms, but the lack of ImageMagick is deal killer since Zenphoto currently won't process thumbnails for large images. ImageMagick seems to get around the PHP memory limitations much better. ImageMagick Ever Coming?? - sbillard - 2010-04-10 It is being worked on. Should you wish to participate in the testing please visit http://www.zenphoto.org/trac/ticket/20 ImageMagick Ever Coming?? - forkboy - 2010-04-11 Thanks for update. Great to see that it's being worked on. I read through the ticket comments, way over my head Looks like a lot of work. Sorry if this is dumb question and feel free to blow me off it's too much trouble to explain, but how exactly would I test it? I installed latest nightly build and downloaded lib-Imagick.24.php. I renamed it to lib-Imagick.php and replaced the file of the same name under zp-core. That didn't work at all, so I'm guessing I'm missing a step or two or three. ImageMagick extensions are already installed by my host. Matt ImageMagick Ever Coming?? - forkboy - 2010-04-11 Nevermind.....I figured it out....so far looks like it's working. I'll play around with it a bit. Thanks again. For anyone else following along that wants to try it, here's how to do it. Not sure if you must first install latest nightly build or not from (http://www.zenphoto.org/files/nightly/). I did.
Graphics support: PHP Imagick library 2.3.0 Matt ImageMagick Ever Coming?? - forkboy - 2010-04-11 Zenphoto with ImageMagick still won't create thumbnails for the same exact images that GD would choke on. I've always assumed it was PHP memory issue, but now I'm wondering if something else going on. For example, This image is 2592x3888 and 3.9 MB. Thumbnails get created no problem. This image is same exact resolution and only 2.7 MB. Thumbnails don't get created. It seems to have something to do with the orientation of the photograph and perhaps even something to do with the orientation flag set in the EXIF. Images with Orientation flag of "Right Upper" seem to be the ones that fail on thumbnail creation. It the Orientation flag says "Upper Left", it works. Not sure if this is related to Zenphoto or graphics processor. Either way, hoping I can just change the EXIF flag and get thumbnails... ImageMagick Ever Coming?? - acrylian - 2010-04-11 You have of course to clear the image cache otherwise they are not regenerated using Imagick. ImageMagick Ever Coming?? - forkboy - 2010-04-11 Yes, I did clear image cache. For some reason neither GD or ImageMagick will create thumbnails if the EXIF Orientation flag begins with "Right" or "Left". Seems ZenPhoto is looking for it to begin with "Upper" or "Lower". Since the same thing happens with both GD and ImageMagick, makes me think might be issue with ZenPhoto itself. Not a huge issue since easy enough to fix the source photos, but I went ahead and created a ticket. ImageMagick Ever Coming?? - kagutsuchi - 2010-04-11 I've responded to your ticket. Also, fyi, there's a wiki article for Imagick that details how to install it. Feel free to edit it if you feel it could be improved. http://www.zenphoto.org/trac/wiki/Imagick ImageMagick Ever Coming?? - forkboy - 2010-04-11 Sorry...I guess I shouldn't have fixed the broken photos on my server...duh. Here's one that should fail on thumbnail creation. www.gelib.com/temp/nothumb.jpg Thanks for link to Wiki article...I missed that. I obviously don't spend enough time looking through the Wiki Matt ImageMagick Ever Coming?? - acrylian - 2010-04-11 Well, the wiki is not really in use except for this so there is no need to look there...:-) All important info is on the site. ImageMagick Ever Coming?? - sbillard - 2010-04-11 That image is Huge. Maybe Imagick will help, maybe not. |