catdad-experiments / heic-cli Goto Github PK
View Code? Open in Web Editor NEW๐จโ๐ป convert heic/heif images to jpeg or png from the command line
๐จโ๐ป convert heic/heif images to jpeg or png from the command line
Thank you for this utility :-)
Question:
When I try to convert the image on your app
https://catdad-experiments.github.io/heic-app/
It takes in a 294KB heic image and outputs a 645KB image.
However, when I use the command line -
node bin < sample1.heic > sample1.jpg
sample1.jpg is 2.2 MB.
I guess quality is hardcoded to 1 ?
Any plans on giving an option to override it ?
Image is from an iPhone from a friend (didn't know the spec).
https://www.dropbox.com/s/l36ivq71ejpsmdo/IMG_6744.HEIC?dl=0
The correct result should be something like
heic-cli outputs:
On one of our test servers, I had an old version of nodejs.
The code did not work and no errors were reported.
It worked fine when I updated to node 10.10.0.
I don't know the minimum requirements, but would be helpful to others, in case it's added to the documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.