Coder Social home page Coder Social logo

optimize images about imageproxy HOT 4 CLOSED

willnorris avatar willnorris commented on June 28, 2024
optimize images

from imageproxy.

Comments (4)

takashi avatar takashi commented on June 28, 2024

@willnorris any updates on this issue?
I'd strongly like to use this feature

from imageproxy.

willnorris avatar willnorris commented on June 28, 2024

nope, no update. hasn't ever really become an issue for me, so haven't invested any time into it. I'm not sure that I'd be able to come up with an implementation that I'd be super happy with anyway (having to call out to a separate binary, compile a cgo library, etc)

from imageproxy.

iammichiel avatar iammichiel commented on June 28, 2024

Hi there,

I am quite interested as well in this feature. However, you must understand that optimizing images is a very heavy task for CPU. Plus most PNG optimization algorithms are quite longs in execution time. For example on a 200x200px PNG, with an [email protected], ImageOptim runs for about 5 seconds.

I don't think this can be done in a proxy such as this project. The best way to optimize the image, would be to optimize the image after upload and then work with the optimized version in this proxy.

from imageproxy.

willnorris avatar willnorris commented on June 28, 2024

closing as unlikely to be implemented. If ever a pure go library is written for doing this kind of optimization, then we can revisit this.

from imageproxy.

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.