Giter Site home page Giter Site logo

Comments (2)

rayrobdod avatar rayrobdod commented on June 12, 2024

In theory, the benefit here is that this allows git to perform delta compressions. However, apparently git by default will not attempt any delta compression on any blob with a size greater than 512Mb. Which, at 32 bits per pixel is about a 1100-pixel square image. Not that most of the images I've seen in a repository are either larger in physical size or 32 bits per pixel.

from png-inflate.

rayrobdod avatar rayrobdod commented on June 12, 2024

With pret/pokepinball (with master on 69a220a9efce3939147b8086af4bee3363c9f10f):

All variants have 6253 items after a git gc --aggressive --prune=NOW, which is a basic check that nothing was discarded

  • The original repository has a size-pack of 2769
  • Using filter-branch with pngout has a size-pack of 2754 (although pngout's algorithm doesn't seem to work well with tiny, 2-bit-depth images, resulting in a lot of Unable to compress further: copying original file)
  • Using filter-branch with png-inflate has a size-pack of 2712

from png-inflate.

Related Issues (6)

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.