Open romainricard opened 4 years ago
Thanks for the detailed report, we will look into this.
The animation doesn't work if I try to add the animated PNG that is saved in the Photo Library. All I get is just a static picture. The transparent background of the picture is just white.
The PNG I tried has no palette.
pngcheck 01.png ✔
OK: 01.png (370x300, 32-bit RGB+alpha, non-interlaced, 60.4%).
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
still not working
This is an example pack that doesn't work.
https://signalstickers.com/pack/8dd301e0ed9f45dfc232774ae845780e
The issue is still not resolved, is it a problem with IOS itself?
Bug description
Some animated APNG stickers are not animated on Signal for iOS. While digging, I realized that the common thread between faulty stickers is that they contain a palette (i.e. PNG with a
tRNS
chunck).Having a palette is very important for animated stickers, as it allows to save a lot of weight, thus allowing stickers with higher resolution/more frames to be uploaded.
Note that APNG stickers with palette do work on Signal on all other platforms.
Here are some examples:
Demo sticker with palette
This sticker is not animated on iOS. ❌ https://signal.art/addstickers/#pack_id=b020b5f29795e931cf11c4450d12ebca&pack_key=f2a19052ed4077ffbe59d7374a6a7ed7e433854abb5b5844f0af5eaf3c7f5ade
Demo sticker without palette (RGB)
This sticker is animated on iOS. ✔️ https://signal.art/addstickers/#pack_id=f30476e7bab76d9b73c289c97bc6fdb4&pack_key=0bb6189c1c7ab04b56a3aa59a69de5101a4a6b0dec54cc3c880732b7be7546d7
Example pack containing both with and without palette stickers
This pack's only sticker that is animated on iOS is the one without a palette:
https://signal.art/addstickers/#pack_id=c8b7a540d40b85697a6f80491f78a04a&pack_key=75aa857b1bd3d7553320da129f4db97a0c10b6f4fceb9264b22d66f4292b318e
Steps to reproduce
Actual result: animated stickers are not animated
Expected result: animated stickers are animated
Device info
Device: iPhone 11 Pro
iOS version:
14.1
Signal version:
3.21.0.1
Note that I don't own an iOS device, so I can't provide debug log or further information.