JavaScript Load Image (original) (raw)

JavaScript Load Image is a library to load images provided asFile orBlob objects or via URL.
It returns an optionally scaled,cropped or rotated HTMLimg orcanvas element.

It also provides methods to parse image metadata to extractIPTC andExif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value and to restore the complete image header after resizing.

File input

Select an image file:

Or enter an image URL into the following field:

Or drag & drop an image file onto this webpage.

Options

Orientation:

Image smoothing

Result

Loading images from File objects requires support for theURL orFileReader API.

Image metadata