question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

some images do not load. does anyone know how i can solve this ?

image

npx @squoosh/cli --jxl '{"speed":1,"quality":100,"progressive":true,"epf":-1,"nearLossless":0,"lossyPalette":true}' 45.png
npx: installed 2 in 2.31s
0/1 / ▐▨▨▨▨▨╌╌╌╌╌▌ Encoding (6 threads)
 45.png: 35.92MBundefined
Worker error:  Error [RuntimeError]: abort(RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
    at process.w (C:\Users\Ti\AppData\Roaming\npm-cache\_npx\23976\node_modules\@squoosh\cli\build\index.js:7:376640)
    at process.emit (events.js:327:22)
    at processPromiseRejections (internal/process/promises.js:209:33)
0/1 - ▐▨▨▨▨▨╌╌╌╌╌▌ Encoding (6 threads)
 45.png: 35.92MB

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
surmacommented, Dec 22, 2020

So yeah, OxiPNG being slow on a 7159 x 4742‬ image is expected. If you use the PWA, it will use threads for OxiPNG. The CLI doesn’t do that yet. But PNG is a horrible format for big images anyway.

Overall the issue here is actually not the size of the image in general, but only in the context of JPEG-XL. And that codec is still unstable. I am going to close this as there is not much to do on our end except wait that the JPEG-XL encoder stabilizes.

1reaction
surmacommented, Dec 22, 2020

Ah it’s a big image. Yeah, that is most likely the cause. Technically, there is nothing keeping us from handing ~150MB of RGBA data, but I know that big images currently cause issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Runtime Error: What It Is and How to Fix It - Lifewire
A runtime error occurs while a program is running or when you first attempt to start the application. The error sometimes goes away...
Read more >
Runtime Errors - GeeksforGeeks
A runtime error in a program is an error that occurs while the program is running after being successfully compiled. · Runtime errors...
Read more >
What are Runtime Errors? Their causes and How to fix them?
A Runtime Error is an error that occurs at the time of running or executing a program. When this error occurs, the program...
Read more >
Runtime errors in Internet Explorer - Browsers - Microsoft Learn
A runtime error is a software or hardware problem that prevents Internet Explorer from working correctly. Runtime errors can be caused when ...
Read more >
What is a Runtime Error? - Definition from Techopedia
Runtime error refers to an error that takes place while executing a program. As opposed to the compilation errors that occur during a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found