Member
Member
Gurney   2010-05-29, 08:27
#1

Hello ZenPhoto!

I was wondering if anyone noticed that autorotation fails when using imagick?

I am running ubuntu 9.10 with a fixed gd library and imagick, and when the latter is ticked all the picture that needs rotation are replaced by an exclamation mark ,and I get the following debug line in the log:

Quote:{Sat, 29 May 2010 07:45:17 GMT}
Loading PHP Imagick library 2.1.1-rc1ImageMagick 6.5.1-0 2009-08-27 Q16 OpenMP http://www.imagemagick.org
{Sat, 29 May 2010 07:45:17 GMT}
i.php(Divers, IMG_0687.JPG): $size=595, $width=, $height=, $cw=, $ch=, $cx=, $cy=, $quality=85, $thumb=, $crop=, $thumbstandin=, $passedWM=, $adminrequest=, $gray=0
{Sat, 29 May 2010 07:45:17 GMT}
cacheImage($imgfile=IMG_0687.JPG, $newfilename=/Divers/IMG_0687_595.jpg, $allow_watermark=1, $force_cache=, $theme=default) $size=595, $width=, $height=, $cw=, $ch=, $cx=NULL, $cy=NULL, $quality=85, $thumb=, $crop= $image_use_side=longest; $upscale=0;
{Sat, 29 May 2010 07:45:18 GMT}
cacheImage(/Divers/IMG_0687_595.jpg) exception: Invalid parameter provided
Cheers!

Member
Member
kagutsuchi   2010-05-29, 16:59
#2

I've found the bug and will have a patch for it tonight.

Member
Member
kagutsuchi   2010-05-29, 20:01
#3

The fix is in SVN so the next nightly version will contain the fix.

Member
Member
Gurney   2010-05-29, 21:54
#4

Excellent

Thank you very much !!!

Member
Member
Gurney   2010-05-29, 22:07
#5

Works a treat !!!

Member
Member
Gurney   2010-05-30, 04:50
#6

Spoke too soon

I still get the following debug messages

Quote:{Sun, 30 May 2010 04:48:36 GMT}
Zenphoto v1.3[5483]
{Sun, 30 May 2010 04:48:36 GMT}
Loading PHP Imagick library 2.1.1-rc1ImageMagick 6.5.1-0 2009-08-27 Q16 OpenMP http://www.imagemagick.org
{Sun, 30 May 2010 04:48:36 GMT}
i.php(2010.01.27-31 Dubai, IMG_2780.JPG): $size=595, $width=, $height=, $cw=, $ch=, $cx=, $cy=, $quality=85, $thumb=, $crop=, $thumbstandin=, $passedWM=, $adminrequest=, $gray=0
{Sun, 30 May 2010 04:48:36 GMT}
cacheImage($imgfile=IMG_2780.JPG, $newfilename=/2010.01.27-31 Dubai/IMG_2780_595.jpg, $allow_watermark=1, $force_cache=, $theme=default) $size=595, $width=, $height=, $cw=, $ch=, $cx=NULL, $cy=NULL, $quality=85, $thumb=, $crop= $image_use_side=longest; $upscale=0;
{Sun, 30 May 2010 04:48:37 GMT}
cacheImage(/2010.01.27-31 Dubai/IMG_2780_595.jpg) exception: Invalid parameter provided

Member
Member
kagutsuchi   2010-05-30, 05:54
#7

Just posted another patch on Trac, it should be in SVN either tonight or tomorrow. I'm 100% sure this will fix it.

Member
Member
Gurney   2010-05-30, 12:47
#8

Thanks, I applied the patch manually and it works!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.