Giter VIP home page Giter VIP logo

animated-gif-lib-for-java's Introduction

animated-gif-lib-for-java's People

Contributors

carlosame avatar junquero avatar rtyley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animated-gif-lib-for-java's Issues

Why a gif going through decode and encode will drop quality and size

I was trying to test decode and encode a gif and compare with original input file, I found the size drops and quality drops. is encode a lossy process? Or I miss something? below is my encode code

encoder.setRepeat(0);
      encoder.setDelay(decoder.delay);
      encoder.setDispose(decoder.dispose);
      encoder.setQuality(1);
      encoder.setSize(decoder.width, decoder.height);
      for (int i = 0; i < decoder.getFrameCount(); i ++) {
        encoder.addFrame(decoder.getFrame(i));
      }

      encoder.finish();
      assertEncodedImageIsEqualTo(gif);

generated gif size

Is there any way to compress the generated gif, it is much bigger than the original images size(I mean the file size instead of image resolution/size), almost 10 times bigger, any optimized solution?

Set an automatic module name in the Jar MANIFEST

To use this project in JPMS modular builds, an automatic module name would be helpful; see the following blog post for context:

http://branchandbound.net/blog/java/2017/12/automatic-module-name/

The idea would be to add the following to the pom.xml, inside the build/plugins section:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <version>3.2.0</version>
  <configuration>
    <archive>
      <manifestEntries>
        <Automatic-Module-Name>com.madgag.gif.fmsware</Automatic-Module-Name>
      </manifestEntries>
    </archive>
  </configuration>
</plugin>

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.