Very strange varying results
Posted: 2009-05-05T08:48:22-07:00
Hi everyone.
I've recently installed the latest versions of ImageMagic and Imagic, and at first glance everything appears to be in order.
I can access the Imagick class, create thumbs and write new images just fine.
However, when I attempt to use other functions, for example roundCorners(), I get seemingly random success. Only every other reload produces round corners.
All other reloads don't produce any error, the thumb is created, written and displayed perfectly fine, only without roundCorners.
I can produce similar varying results with just about every single example I've found on Mikko's blog: http://valokuva.org/
It can work fine five reloads in a row, but then suddenly stop working for the next five reloads and magically start working again a few times before failing again.
That has me going pretty crazy, as you can imagine.
Example:
Image reflection example from Mikko's blog: http://valokuva.org/?p=82
First try I get the correct result.
2nd page reload, same result.
3rd page reload i get this: http://velin.dk/straw_sample_1.png
More reloads seem to produce the odd result with the yellow border roughly on every third reload.
It doesn't seem to matter how long I wait between the reloads.
About my test setup:
OS X Leopard (10.5.6)
PHP 5.2.5
MAMP
Imagick info from phpInfo():
imagick module version 2.2.2
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.5.1-0 2009-04-30 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2009 ImageMagick Studio LLC
ImageMagick release date 2009-04-30
ImageMagick Number of supported formats: 190
I have tried
Reinstalling MAMP
Restarting MAMP
Reinstalling both Imagick and ImageMagick
Recompiling Imagick
Rebooting... Not sure why
Changing MAMP envvars to include: export PATH=”$PATH:/opt/local/bin:/usr/local/bin”
I am looking for any ideas and thoughts you may have, or even just some sympathy for how ridiculous a problem this is to spend the better part of two days on solving.
Thanks for your time.
I've recently installed the latest versions of ImageMagic and Imagic, and at first glance everything appears to be in order.
I can access the Imagick class, create thumbs and write new images just fine.
However, when I attempt to use other functions, for example roundCorners(), I get seemingly random success. Only every other reload produces round corners.
All other reloads don't produce any error, the thumb is created, written and displayed perfectly fine, only without roundCorners.
I can produce similar varying results with just about every single example I've found on Mikko's blog: http://valokuva.org/
It can work fine five reloads in a row, but then suddenly stop working for the next five reloads and magically start working again a few times before failing again.
That has me going pretty crazy, as you can imagine.
Example:
Image reflection example from Mikko's blog: http://valokuva.org/?p=82
First try I get the correct result.
2nd page reload, same result.
3rd page reload i get this: http://velin.dk/straw_sample_1.png
More reloads seem to produce the odd result with the yellow border roughly on every third reload.
It doesn't seem to matter how long I wait between the reloads.
About my test setup:
OS X Leopard (10.5.6)
PHP 5.2.5
MAMP
Imagick info from phpInfo():
imagick module version 2.2.2
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.5.1-0 2009-04-30 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2009 ImageMagick Studio LLC
ImageMagick release date 2009-04-30
ImageMagick Number of supported formats: 190
I have tried
Reinstalling MAMP
Restarting MAMP
Reinstalling both Imagick and ImageMagick
Recompiling Imagick
Rebooting... Not sure why
Changing MAMP envvars to include: export PATH=”$PATH:/opt/local/bin:/usr/local/bin”
I am looking for any ideas and thoughts you may have, or even just some sympathy for how ridiculous a problem this is to spend the better part of two days on solving.
Thanks for your time.