Imagemagick Help (PHP)

Hi,

I found this forum in a frantic rush to try and finally solve the problem I have.

I am trying to crop an image using Imagemagick: http://pastebin.com/1ZKgHWLk

The code I have written to do this: http://pastebin.com/Cr7qDj3J does everything & crops the image BUT it outputs a black image.

I have tried everything to try and resolve. Im sure it's something simple BUT I can't figure out what it is.

Does anyone have any ideas?

Thanks!
 
Back
Top