Giter Site home page Giter Site logo

Comments (5)

meowtec avatar meowtec commented on August 16, 2024 1

这是正常的,我没想到有人会批量处理这么多图片。
这个可以考虑后续从交互上进行优化,比如把体积增大的图片高亮显示出来,增加一键排序功能,让体积增大的图片排到前面。

from imagine.

cyang812 avatar cyang812 commented on August 16, 2024 1

或者做一个体积变大的就不保存了,只保存减少的。

from imagine.

linhua55 avatar linhua55 commented on August 16, 2024

应该对 体积增大的图片,自动降低 图片质量,直到 体积减小为止。
比如色彩为 128时,体积增大了 4.4%,而色彩减小到 64后,体积减小了 7%,那么就以色彩 64 为最终结果

from imagine.

Jerome-lara avatar Jerome-lara commented on August 16, 2024

应该对 体积增大的图片,自动降低 图片质量,直到 体积减小为止。
比如色彩为 128时,体积增大了 4.4%,而色彩减小到 64后,体积减小了 7%,那么就以色彩 64 为最终结果

如果反而增大的原因是算法引起的,降低质量不是很好的方法。

from imagine.

Jerome-lara avatar Jerome-lara commented on August 16, 2024

@meowtec 大佬,好几个issue提到,期待更新。

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.