25 Oct 2010 2:21 AM #1
Image Crop Utility
on github or on www.thomas-lauria.de you will find a Image Crop Utility written with Ext JS.
The Utility calculates only the crop coordinates and measures. This data can be send to the server, where you have to implement the image crop itself.
For example in PHP:
$t = new Imagick($imagepath);
$t->cropImage($crop['width'], $crop['height'], $crop['x'], $crop['y']);
Last edited by quixit; 18 Aug 2013 at 10:27 PM. Reason: added github URL
25 Oct 2010 4:19 AM #2
your url seems to be missing something. Like .com, .net, etc.
25 Oct 2010 4:44 AM #3
25 Oct 2010 7:21 AM #4
What I would find helpful would be if grabbing the corner kept the image ratio while grabbing from the sides or top/bottom would allow that ratio to be broken.
25 Oct 2010 8:50 PM #5
Yes thats right, a good idea.
As relying on Ext.Resizable, i am going to investigate the possiblities of this Class.
27 Dec 2010 12:09 PM #6
By Sesshomurai in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 23 Oct 2009, 3:13 AM
By nj_gm in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 7 Nov 2008, 9:44 AM
By yew98 in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 8 Nov 2007, 10:37 PM
By mysticav in forum Ext 1.x: Help & DiscussionReplies: 8Last Post: 23 Mar 2007, 11:20 AM