image-encode
image-encode copied to clipboard
Encode pixels data to PNG, GIF, BMP, TIF or JPG
I run in node.js and use webpack to package, but I throw an error. How can I solve it? ``` import fs from 'fs'; let encode = require('image-encode') // create...
when I try to convert jpg to bmp , I find that the bmp image is different from the one from online tool. I find the picture binary is different...
I tried following qualities on the same image: - quality: 0.5 => ~450 kb - quality: 0.8 => ~900 kb - quality: 0.9 => ~1500 kb - quality: 0.95 =>...
The attributes from pngjs look different as in image-encode. **image-encode** ``` // encode png buffer 'use strict' var PNG = require('pngjs').PNG var toab = require('to-array-buffer') var x = require('object-assign') module.exports...
Thanks for this cool tool! Any chance to have **WebP** in future?
Really useful package, thank you for all the work you have put in. Is there any way to make the transparencies white ⚪️ instead of black ⚫️ when outputting a...
https://github.com/GoogleChromeLabs/squoosh