Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.75 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.75 KB

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