Search found 2 matches

by Spade42
2011-09-29T07:35:30-07:00
Forum: IMagick
Topic: Problems with cropImage()
Replies: 2
Views: 9255

Re: Problems with cropImage()

Turns out it was a rather simple logic error on my part, feel kinda stupid now :p

The $width and $height variables were supposed to be $w and $h, since the values where 0 it was screwing up.. Thanks for the reply =]
by Spade42
2011-09-26T13:03:54-07:00
Forum: IMagick
Topic: Problems with cropImage()
Replies: 2
Views: 9255

Problems with cropImage()

I've been a programmer for a long time, but am just now getting into PHP. I have an application where I need to re-size and crop an image, below is a snippet of code. The re-size works, but the crop does not, yet I still get "Crop Succeeded!" as a result. Ideas? Thanks in advance! if($w > $h ...