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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.