mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 15:15:51 +03:00
[GH-ISSUE #129] Add support to APNG #1482
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#1482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mlocati on GitHub (Apr 28, 2017).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/129
APNG is finally going to land on Chrome too (reference).
What about adding support to it, in addition to .gif?
PS: here's a sample APNG image
@panther2 commented on GitHub (Apr 28, 2017):
+1 for this request.
See this demo to compare the size of output files.
@vatterspun commented on GitHub (Apr 30, 2017):
Workarounds:
@mlocati commented on GitHub (May 1, 2017):
Since this wonderful app seems to work with frames in PNG format, I think it could be quite easy to integrate http://apngasm.sourceforge.net into ScreenToGif
@vatterspun commented on GitHub (May 4, 2017):
Oh and I forgot to mention: one reason to use animated PNG is quality: GIFs are limited to 256 colors while PNG supports 24-bit color. You can see a very clear example of this in software slideshow:
https://imgur.com/gallery/N4MzwAd - Animated PNG
https://imgur.com/gallery/eeSoS - Animated GIF (look at the very grainy cancel button)
( Why this happens: "When converting an image from the PNG format to GIF, the image quality may suffer due to posterization if the PNG image has more than 256 colors." https://en.wikipedia.org/wiki/Portable_Network_Graphics#Graphics_Interchange_Format_.28GIF.29 )
@NickeManarin commented on GitHub (Nov 23, 2017):
Done!
Should be available with the next release, v2.11
@vatterspun commented on GitHub (Nov 24, 2017):
Ah fantastic news, thanks for that.
@vatterspun commented on GitHub (Dec 25, 2017):
So by way of reference, some notes about Animated PNG and Animated GIF ...
All of the following are the same recording made by clicking on a few buttons on the screentogif.com homepage, one saved to GIF and the other PNG. The 3rd and 4th images were run through a second program PNGOptimizer (http://psydk.org/pngoptimizer ... also an open source program), which converts GIF files to PNG (both animated and static) and further compresses PNG files.
File 1 (66 k): GIF file. You'll notice that it doesn't have the same color depth as GIF files are restricted to 256 colors.
File 2 (91 k): PNG file. Not smaller than the GIF file because it has a much wider color range.
File 3 (80 k): File 2 with PNGOptimizer. About 10% smaller than before.
File 4 (46 k): File 1 saved using PNGOptimizer, which converts the animated GIF (File 1) to animated PNG . The conversion results in a file that's about 30% smaller and almost half the size of the compressed PNG (File 3).
Results: This was about what I was expecting and shows some of the strengths and limitations of the APNG vs. GIF format.
@vatterspun commented on GitHub (Dec 25, 2017):
Oh and one final note, Github doesn't currently accept files that end with .APNG.
@NickeManarin commented on GitHub (Jan 13, 2018):
@vatterspun Indeed, instead you can select to export as *.png.