ZenphotoCMS Forum
Imagick testers needed - 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: Imagick testers needed (/thread-6204.html)



Imagick testers needed - kagutsuchi - 2009-11-28

Lately, I've been working on an Imagick library for zenphoto. As of now, it is just acrylian and myself testing the library; however, I feel that the library has become mature enough that it's ready to be publicly tested.

If you're interested in helping to test the new Imagick library, you must meet these requirements:

[list]
[][b]PHP >= 5.0.0[/b]
[
][b]Imagick >= 2.1.0[/b]
[/list]
To be able to use some of the newer functions in the library:

[list]
[][b]ImageMagick >= 6.3.8[/b]
[
][b]Imagick >= 2.3.0[/b]
[/list]
It would help to have some testers testing the older functions and some test the newer. Any help/contribution is appreciated

The latest version of the library can be downloaded from the Trac ticket here:
http://www.zenphoto.org/trac/ticket/20 [i](the newest attachment is the latest version)[/i]

[b]Known issues:[/b]

[list]
[*]CAPTCHA generation is not yet working
[/list]




Imagick testers needed - kagutsuchi - 2009-11-28

I should also mention that in order to test the library, the nightly build is necessary. Simply replace the placeholder zp-core/lib-Imagick.php and run the setup.php script. Then, in the Gallery tab of the Options menu, select Use Imagick to activate the library. (The option will only appear if Imagick is available on your server)




Imagick testers needed - jlang - 2009-11-30

I'll give it a try. (PHP 5.2.5, Imagick 2.1.1-rc1, Imagemagick 6.2.8 on my shared hosting. Not sure what I've got on the XAMPP on my test setup on my machine at home.) I presume a successful end state will be that I would be able to switch graphics library without any visible effect beyond performance issues?

I've been thinking/waiting/looking at/for imagemagick support intermittently for a long while as well, but I completely missed this latest work till now because there was no mention on http://www.zenphoto.org/trac/timeline.

(Slightly off topic: any idea why http://www.zenphoto.org/trac/timeline doesn't include any of the updates to ticket #20? )




Imagick testers needed - kagutsuchi - 2009-11-30

Thanks for giving it a try

The end result should be that images generated from GD and Imagick are the same.

I'm not sure why the ticket wouldn't be included in the timeline, but my guess is that the timeline only includes major changes to tickets (such as being opened, closed, or reopened) and not comments.




Imagick testers needed - acrylian - 2009-11-30

Yep, that's it, it is still open as ever since it has been created long time ago..;-)




Imagick testers needed - kagutsuchi - 2009-11-30

Btw, I've uploaded a new version that should fix the bug with sized images.




Imagick testers needed - acrylian - 2009-11-30

I will test tomorrow, my host is moving the server my webspace is on today.




Imagick testers needed - kagutsuchi - 2009-12-03

There's a new version available for download that should be working better than before




Imagick testers needed - kagutsuchi - 2009-12-17

There's another new version available. The library should now be faster.

CAPTCHAs are still not working completely correctly and there's another bug with cropping/scaling that I have yet to fix.




Imagick testers needed - tumesch - 2010-01-14

Is this the right place for test feedback? I mean, is that all? Anyway, here it goes.

I was excited to read that Imagick support is on the way, so I gave it a try. (Debian root server, PHP 5.2.6-1, Imagick 2.1.1-rc1, ImageMagick 6.3.7, zenphoto-2010-01-12-trunk, lib-Imagick.13.php, default theme, no cropping, originals 2400 px max.)

  1. The cached images show only a small fraction from the top left corner of the original image. Generation of cache images takes very long, with heavy disk activity (i/o wait) - the original seems to be resampled to ~3000 % and then cropped to the correct size. When I deselect Imagick, all works well - so it seems to be a problem with either my Imagick version or lib-Imagick.

  2. There are no color profiles embedded in cached images. It would be nice if color profiles of original images were preserved.

For what it's worth, at present I use ImageMagick's convert command in a shell script to generate cached images (convert original-image -quality 85 -resize 100x100 -unsharp 0x0.3+0.4+0 cached-image).




Imagick testers needed - acrylian - 2010-01-15

Thanks for the feedback, hopefully that info will be usefull to kagutsuchi. You can also comment on the ticket itself. As you can read there it does not work on my server at all.




Imagick testers needed - dromeuf - 2010-01-20

Hi Kagutsuchi,

I would like to use ZenPhoto to make a stereoscopic Anaglyph Gallery. But the libGD resizing process modify too much colors and the anaglyph not work fine when resized or watermarked by libGD.

You could read this recent topic on the forum :
http://www.zenphoto.org/support/topic.php?id=6807

Could you test this source JPEG sRGB file anaglyph with your ImageMagick ZenPhoto server (my service provider work with zenphoto 1.2.7, graphic support PHP GD) ?
http://www.stereauvergne.fr/3D/Anaglyphes/FouillesArcheoCorent/DRomeuf-anag-033-CorentFouillesArcheoCaveTaverne-l1280.jpg

Ghosts on amphora appears with your ImageMagick version (resizing process) ?

David.




Imagick testers needed - kagutsuchi - 2010-01-20

I'll certainly give it a try when I have a chance.




Imagick testers needed - kamil - 2010-01-22

i tried to run zenphoto installer with Imagick lib (http://www.zenphoto.org/trac/raw-attachment/ticket/20/lib-Imagick.13.php),but with no result:

`
Zenphoto core files [Some files are missing or seem out of variance]
Warning!

Perhaps there was a problem with the upload. You should check the following files:
zp-core/lib-Imagick.php
`




Imagick testers needed - sbillard - 2010-01-22

This is a direct result of your test. As you can see, it is a warning. It is saying that possibly the lib-Imagick.php file is missing or has a different timestame than expected.

This would naturally be the case if you have uploaded a different version of the file than was distributed with the release. Naturally, you have done this otherwise you could no test the new library.

Warnings are just that, [b]warnings[/b]. If you know what is going on and understand why you are getting the warning you can safely ignore it.




Imagick testers needed - kagutsuchi - 2010-01-27

[b]tumesch[/b]: Thanks for giving it a try

I'm aware of #1 but haven't found the offending function yet. Chances are that it's something small that I just haven't noticed yet, but I hope to have this fixed in the next version of the script.

I have a decent idea of why #2 might be happening but I'll have to figure out how to fix it.

[b]dromeuf[/b]: I saw that you got your image working from your other thread. Glad to hear it




Imagick testers needed - kagutsuchi - 2010-02-15

I've updated the Imagick library again and created a new wiki page for keeping track of things.

http://www.zenphoto.org/trac/wiki/Imagick

The new version allows for user-defined memory limits. If you find that the image library is working too slowly or having errors, try changing the limit higher or lower.

The library should now retain color profiles and cached images should be generated at the correct size. However, there is a problem with color distortions that I haven't figured out yet. Other current issues are on the wiki page.

Please report new issues either on the Trac ticket (#20) or on the wiki page. Thanks!