Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Please reply with a code if available.
Posted
Updated 8-Jun-15 18:20pm
v2
Comments
Mohibur Rashid 8-Jun-15 23:32pm    
What is your attempt to solve this issue?
Sergey Alexandrovich Kryukov 9-Jun-15 0:19am    
Right question! See also my comment below and the answer.
—SA
Sergey Alexandrovich Kryukov 9-Jun-15 0:19am    
What have you tried so far?
Please write code yourself, don't expect anyone doing all your work. Please see my answer. You got everything to do such job.
—SA

With PHP, you can crop an image using Image Magic: http://php.net/manual/en/imagick.cropimage.php[^].

Also, you can render images using HTML5 Canvas objects and, of course crop them and do other transforms. On cropping, see, for example, this short tutorial: http://tympanus.net/codrops/2014/10/30/resizing-cropping-images-canvas[^].

—SA
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900