Jump to content

Photo cutter


fortnox007

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.