GithubHelp home page GithubHelp logo

Comments (4)

radarhere avatar radarhere commented on July 28, 2024

Regarding saving to APNG, I've created #8104

I'm having trouble convincing ImageMagick to tell me the durations on my local machine or on GitHub Actions. I opened different_durations.png with https://davidmz.github.io/apng-js/ and it reported 4000 and 1000. If you think that ImageMagick isn't reading the duration according to the specification, then maybe that's something for you to raise with ImageMagick?

from pillow.

Yay295 avatar Yay295 commented on July 28, 2024

I don't know why I didn't check this before, but saving from APNG to APNG has the same issue; it not only when the source is a GIF.

from PIL import Image, ImageSequence
ddp = Image.open('different_durations.png')
ddp.save('ddc.png',save_all=True)
ddc = Image.open('ddc.png')
print([frame.info.get('duration') for frame in ImageSequence.Iterator(ddc)]) # [1000.0, 1000.0]

I think it probably is an issue in ImageMagick, or perhaps in libpng. I've filed an issue with ImageMagick though.

from pillow.

radarhere avatar radarhere commented on July 28, 2024

The ImageMagick issue is ImageMagick/ImageMagick#7371

from pillow.

radarhere avatar radarhere commented on July 28, 2024

ImageMagick has made a change to fix their problem.

from pillow.

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.