Skip to content

PlanCZero/HTML5Cropping-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image zoom and crop by using html5 canvas and jQuery slider ui.

The reason is I want to use zoom in or zoom out to crop instead of resize image.

// =============== Thank you for original awesome code from the link below ========================

░░░░░░░░░░░░▄▄ ░░░░░░░░░░░█░░█ ░░░░░░░░░░░█░░█ ░░░░░░░░░░█░░░█ ░░░░░░░░░█░░░░█ ███████▄▄█░░░░░██████▄ ▓▓▓▓▓▓█░░░░░░░░░░░░░░█ ▓▓▓▓▓▓█░░░░░░░░░░░░░░█ ▓▓▓▓▓▓█░░░░░░░░░░░░░░█ ▓▓▓▓▓▓█░░░░░░░░░░░░░░█ ▓▓▓▓▓▓█░░░░░░░░░░░░░░█ ▓▓▓▓▓▓█████░░░░░░░░░█ ██████▀░░░░▀▀██████▀

Image Resizing with Canvas

Learn how to resize images using JavaScript and the HTML5 Canvas element using controls, commonly seen in photo editing applications.

Article on Codrops

Demo

This demo is required to run on local server. If you don't have one you might try using XAMPP or WAMP.

https://www.apachefriends.org/ http://www.wampserver.com/en/

Integrate or build upon it for free in your personal or commercial projects. Don't republish, redistribute or sell "as-is".

Read more here: License

© Codrops 2014

Image by Alejandro Mallea

About

Crop image by using html5 canvas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published