Git Product home page Git Product logo

Comments (7)

avalanche123 avatar avalanche123 commented on August 24, 2024

Can you provide me an example input/output. It might be that we'd need to use both, choosing which one based on the source and target sizes of an image

from imagine.

dmnc avatar dmnc commented on August 24, 2024

Sure. Sorry about the perculiar image. It was the first thing I had to hand!

Original

Resize method

Thumbnail method

The one that went through the thumbnail method looks as though it's used a far better interpolation algorithm to me. The other is rather choppy.

Thanks for taking the time to respond on this.

Dom

from imagine.

avalanche123 avatar avalanche123 commented on August 24, 2024

hmm, I can only see the resize method one, the rest are access denied

from imagine.

dmnc avatar dmnc commented on August 24, 2024

Sorry. I accidentally overwrote each image with the previous! I've now edited the links above. Once again, apologies for the strange image and the odd cropping. I wanted to make sure there was some text in there as that's where the difference is most obvious.

from imagine.

avalanche123 avatar avalanche123 commented on August 24, 2024

Thank you, testing now, will update the issue once I'm done

from imagine.

avalanche123 avatar avalanche123 commented on August 24, 2024

you were right, thumbnailImageResize has better quality, fixed in 2c0b1d6

from imagine.

dmnc avatar dmnc commented on August 24, 2024

Brilliant. Thank you very much.

Looking at it in further detail the adaptive version is applying a filter to preserve edges. I guess it performs much better when the relative change in dimensions is small.

from imagine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.