Crop from existing file to new X & Y

See all posts See thread Reply

Re: Crop from existing file to new X & Y new!
by kambing, 12 years, 8 months ago
Thanks colin.. yeah that way will crop according to $image_width & $image_height

Here and example http://jsfiddle.net/83qFW/

I want to keep the $image_width & $image_height but just want to crop it by new $source_x & $source_yReply
Re: Crop from existing file to new X & Y new!
by colin, 12 years, 8 months ago
I see.

You can use image_precrop for that. See this thread.Reply
Re: Crop from existing file to new X & Y new!
by kambing, 12 years, 8 months ago
Thank you so much colin! I owe you a Coffee. Greatest image class ;)Reply
Re: Crop from existing file to new X & Y new!
by colin, 12 years, 8 months ago
You're welcome :)

If you really want to buy me a coffee, there is a way here!Reply