-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image successful converted using the web app but not in the command line #1271
Comments
I also get this error, The problem is that this error cannot be caught, and crashes the application. |
This will be the same problem with The CMYK image causes a hang-up. const squoosh = require('@squoosh/lib');
const fs = require('fs').promises;
(async function() {
const imagePool = new squoosh.ImagePool();
const imageFile = await fs.readFile('cmyk.jpg');
const image = imagePool.ingestImage(imageFile);
console.log(await image.decoded);
await imagePool.close();
})(); $ npx node ./test.js
Unsupported color conversion request
^C |
Why don't developers care about this? Did they stop fixing problems? |
I don't think is developed anymore... |
Unfortunately, due to a few people leaving the team, and staffing issues resulting from the current economic climate (ugh), the CLI and libsquoosh packages are no longer actively maintained. I know that sucks, but there simply isn't the time & people to work on this. If anyone from the community wants to fork it, you have my blessing. The squoosh.app web app will continue to be supported and improved. |
I have some image that is converted to webp or avif in the web app but it get stuck in the command line, also in some code that I wrote the error displayed is Unsupported color conversion request and the application get stuck as well.
For the web app I did:
npm install
,npm run build
.npm run dev
.For the command line I did:
cd libsquoosh
,npm install
,npm run build
.cd cli
,npm install
.node src/index.js --avif "{cqLevel: 33, cqAlphaLevel: -1, denoiseLevel: 0, tileColsLog2: 0, tileRowsLog2: 0, speed: 6, subsample: 1, chromaDeltaQ: false, sharpness: 0, tune: 0}" --output-dir /home/cchavez/Descargas/libSquoosh/ /home/cchavez/Descargas/libSquoosh/1.jpeg
0/1 ⠴ ▐╌╌╌╌╌╌╌╌╌╌▌ Decoding...
My environment is:
In the command line there is no error displayed but I think is the same error as in my piece of code which is Unsupported color conversion request and the application get stuck, the thing is that when I use the web application the same image is converted correctly, I tried to see if there additional parameter in the web app but I was not able to figure out if something is missed.
The following image works in the web app but didn't work in the command line:
The following image works in the web app and in the command line with the same parameters:
The text was updated successfully, but these errors were encountered: