Package Exports
- image-in-browser
- image-in-browser/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (image-in-browser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
image-in-browser
Description
Package for converting images between different formats that works in the browser (no need for server Node.js).
It may be necessary when you need to work with static or animated images directly in the browser code, when the code is isolated from the system it is running on.
It is able to decode static and animated images from the buffer (byte data) into a special raw MemoryImage object, as well as encode this MemoryImage object vice-versa into the buffer, which is essentially the contents of the image file.
The following formats are currently supported for encoding/decoding:
- BMP,
- GIF,
- ICO,
- JPEG,
- PNG
Fully compatible with the ES6 standard and provides typings for use with Typescript.
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
To contribute:
- Fork the project
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
I will be very grateful for your support.