blueimp / JavaScript-Load-Image

Load images provided as File or Blob objects or via URL. Retrieve an optionally scaled, cropped or rotated HTML img or canvas element. Use methods to parse image metadata to extract IPTC and Exif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value and to restore the complete image header after resizing.
https://blueimp.github.io/JavaScript-Load-Image/
MIT License
4.45k stars 924 forks source link

Added alpha option support to loadImage() #60

Closed OtaK closed 9 years ago

OtaK commented 10 years ago

Hi @blueimp, I had this need today, so I just forked your repo and added the support for alpha channel.

If you think it is appropriate to merge it in, just go ahead. (NB: I didn't include the minified version, as I don't really know which minifier you have been using, so you might need to build a new minified version)

blueimp commented 9 years ago

At the moment I don't think an alpha option is necessary (this goes already into image editing). However I'm curious what your use case is?