Search found 4 matches

by iou2
2012-07-16T15:34:31-07:00
Forum: IMagick
Topic: Thumbnail code not working. Resize code do, but it's so slow
Replies: 7
Views: 20252

Re: Thumbnail code not working. Resize code do, but it's so

Hi again, first thanks for the download link. I will study the code, most likely I will find something useful. Thanks! :)

After tweaking and twiddleing my code I am almost done.

You can se the resize result here: http://www.u2commerce.com/product_info.php?cPath=52&products_id=81

My test revealed ...
by iou2
2012-07-15T13:51:42-07:00
Forum: IMagick
Topic: Thumbnail code not working. Resize code do, but it's so slow
Replies: 7
Views: 20252

Re: Thumbnail code not working. Resize code do, but it's so

Hi!

Low and behold I've got it working! :)

Although still one flaw, I am trying to save the thumbnail in png format:
// oldpath
// $thumbnail = $this->destination . $this->filename;
// newpath
$thumbnail = $tn_dir . $this->filename;
// Tried:
// $thumbnail->setImageFormat( "png" );// PHP Fatal ...
by iou2
2012-07-14T13:10:49-07:00
Forum: IMagick
Topic: Thumbnail code not working. Resize code do, but it's so slow
Replies: 7
Views: 20252

Re: Thumbnail code not working. Resize code do, but it's so

Hi Bonzo, nice nick! :)

I have changed the logic to first create the resized image, which works but isn't blending fast...
So I tried: $image->setResourceLimit( Imagick::MAGICK_THREAD_LIMIT, 1 );
which resulted in: Undefined class constant 'MAGICK_THREAD_LIMIT' and a blank screen.

The ...
by iou2
2012-07-14T04:30:37-07:00
Forum: IMagick
Topic: Thumbnail code not working. Resize code do, but it's so slow
Replies: 7
Views: 20252

Thumbnail code not working. Resize code do, but it's so slow

Hi, my name is Sara and I am using Imagick for the first time on shared LAMP, php version 5.3

During a file upload I am trying to:
1) Create a thumbnail.
2) Resize the image.

Number 1 is not working
Number 2 is working, but only if number 1 is not used.

This is whats phpinfo says:

imagick module ...