Giter VIP home page Giter VIP logo

Comments (5)

shaohui10086 avatar shaohui10086 commented on June 18, 2024 1

因为目前的压缩策略是先检查原文件的大小和最终需要的大小,然后压缩分辨率,然后再开始压缩图片质量,对于这种超长图,在压缩完分辨率之后就已经不能看了,所以目前没有办法解决。对与这种情况,你只能自己判断,如果是超长图而且文件大小过大,自己进行图片质量的压缩,这样分辨率就可以保证

from advancedluban.

qstumn avatar qstumn commented on June 18, 2024

压缩纵向的超长图就没有问题,我把图片旋转成3568x23776后就变成了993x6620,这样的分辨率还是很清晰的

from advancedluban.

shaohui10086 avatar shaohui10086 commented on June 18, 2024

刚才看了下,原Luban的那个算法确实有些问题,尝试修改了下,你试下用1.2.8版本,应该修复了这个问题,谢谢你的反馈

from advancedluban.

qstumn avatar qstumn commented on June 18, 2024

横向超长图可以了,很清晰,非常感谢您的算法!

from advancedluban.

shaohui10086 avatar shaohui10086 commented on June 18, 2024

客气啦(/≧▽≦)/,还是要谢谢你的反馈的

from advancedluban.

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.