Jump to content

Crop two images together


rahultailwal

Recommended Posts

Hi, I have two moving images in a web page. now i want to crop those images. i m not getting any way to get this done. I used a selection box who can select the portion of the two images but not getting the way to find the coordinates. Its easy to crop a single image. but what about croping two images together. Please reply to this post. Thanks

Link to comment
Share on other sites

imagecopymerge() is a function is php to merge two images and for single image crop we use it. but now the question is we have two images with drag drop feature. and a selection box. now after clicking on the crop button the selected area of two images should be cropped to make a new image. now i not getting the way to continue. i m stuck after making the drag drop function. i need crop button functionality. See the image for better understanding. Thanks,

post-92783-0-12237900-1329734068_thumb.png

Link to comment
Share on other sites

Just a suggestion. I really don't know how to make it, but what about some <div> which is parent to those 2 images, and then work with javascript..

Link to comment
Share on other sites

In which context the images resides? canvas? or just DOM?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...