<metaname="description" content="JavaScript Load Image is a library to load images provided as File or Blob objects or via URL. It returns an optionally scaled and/or cropped HTML img or canvas element. It also provides a method to parse image meta data to extract Exif tags and thumbnails and to restore the complete image header after resizing.">
<p><ahref="https://github.com/blueimp/JavaScript-Load-Image">JavaScript Load Image</a> is a library to load images provided as <ahref="https://developer.mozilla.org/en/DOM/File">File</a> or <ahref="https://developer.mozilla.org/en/DOM/Blob">Blob</a> objects or via URL.<br>
It returns an optionally <strong>scaled</strong> and/or <strong>cropped</strong> HTML <ahref="https://developer.mozilla.org/en/docs/HTML/Element/Img">img</a> or <ahref="https://developer.mozilla.org/en/docs/HTML/Canvas">canvas</a> element.<br>
It also provides a method to parse image meta data to extract <ahref="https://en.wikipedia.org/wiki/Exif">Exif</a> tags and thumbnails and to restore the complete image header after resizing.</p>
<p>Or <strong>drag & drop</strong> an image file onto this webpage.</p>
<br>
<h2>Result</h2>
<pid="actions" style="display:none;">
<buttontype="button" id="edit">Edit</button>
<buttontype="button" id="crop">Crop</button>
</p>
<divid="result" class="result">
<p>This demo works only in browsers with support for the <ahref="https://developer.mozilla.org/en/DOM/window.URL">URL</a> or <ahref="https://developer.mozilla.org/en/DOM/FileReader">FileReader</a> API.</p>