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.

Quality issue when resizing big image to small.

See original GitHub issue

I resize a very big image (12288 × 12288) to a small image (512x512) with this library.

I have big image quality issues while resizing, how to fix this quality problem ? Thanks a lot for your help !

My code

const zoomRoot = bigSquareImageClone
        .resize({ 'width': 512, 'height': 512 });

Original (screenshot un-zoomed) image

Resized: Screenshot 100% image

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
targoscommented, Feb 7, 2020

I’m skiing right now 😁 but I can help you when I’m back this afternoon

0reactions
targoscommented, Jan 14, 2022

@fabb we are actively working on the new version in a separate temporary repository: https://github.com/image-js/image-js-typescript

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Resize an Image without Losing Quality - HubSpot Blog
High-quality images are larger in file size, which can result in slow performance and a poor user experience.
Read more >
How to Resize an Image Correctly | The TechSmith Blog
It definitely can! Typically, making an image smaller will not impact the quality, but an image can suffer quality loss when scaled beyond...
Read more >
How to Resize and Make Images Larger without Losing Quality
This is why when you resize an image to a smaller size, there is no visible quality loss. Mainly because those pixels become...
Read more >
Will I Lose Quality When Resizing Images?
The short answer to your question: Yes, you will lose image quality. If you resize your images down to a smaller size, and...
Read more >
5 Solutions of How to Resize an Image Without Losing Quality
Go to Image, then Scale, where you can input your desired dimensions. Finally, under the Quality, choose Sinc as Interpolation and then click...
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