fortnox007 Posted November 7, 2010 Share Posted November 7, 2010 Hi all, i was wondering if someone could point me in the right direction on how to create the following. After someone uploaded a photo than Cut out only his head in a fixed square say 90x120 pix (of a larger picture). I have seen some on the internet but most of them use flash and i rather use javascript or no javascript at all. Can this be done with GD library for instance where you just give the coordinates and the size of a square. (if this can be done automated i love to hear it) I have seen one where someone should pinpoint the eyes. IF someone has experience with this or a general idea on what techniques to use let me know I bet there are loads of way to do this but the most light weight technique would be great. Something like the attached image [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/218016-photo-cutter/ Share on other sites More sharing options...
litebearer Posted November 7, 2010 Share Posted November 7, 2010 Perhaps... http://deepliquid.com/projects/Jcrop/demos.php?demo=live_crop Link to comment https://forums.phpfreaks.com/topic/218016-photo-cutter/#findComment-1131428 Share on other sites More sharing options...
fortnox007 Posted November 7, 2010 Author Share Posted November 7, 2010 Thanks Litebearer, I'm certainly going to check that out. -edit I just saw it and that's almost exactly what i was looking for. I am pretty sure I can alter the script to have a fixed width and height. Thanks a lot Litebearer! -edit2: oh hehe it is a fixed width, This is exactly what i was looking for. your awesome!! Link to comment https://forums.phpfreaks.com/topic/218016-photo-cutter/#findComment-1131433 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.