Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animated Stickers not playing on mobile devices #5320

Open
danieltang34 opened this issue Apr 18, 2022 · 16 comments
Open

Animated Stickers not playing on mobile devices #5320

danieltang34 opened this issue Apr 18, 2022 · 16 comments

Comments

@danieltang34
Copy link

I created the sticker on a windows PC client
The stickers works great on PC
However it becomes a static picture when viewed on a mobile device (not just me but also my friends)
Here’s the sticker link
https://signal.art/addstickers/#pack_id=3806e00599303bcbe1b21e3daab6a574&pack_key=96ed9d3b7d0b99d61e01b6cb775badf3615ff305915c94106374c7c1fcf8f015

https://signal.art/addstickers/#pack_id=8661baf3250b89b5d60a310a98fdcfa8 &pack_key=8ba92bb93be189e4a7a8a615bb3f7dc958856458f8ada788c6106cf2d4f7306f

@0xMQQ
Copy link

0xMQQ commented Apr 20, 2022

I had the exact same issue. I found at least 2 previous issues (#4782 #4611 ) that discuss the same problem, but it still hasn't been resolved. Looks like it is a png rendering bug that only affects iOS.

@stale
Copy link

stale bot commented Jun 19, 2022

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.

@stale stale bot added the wontfix label Jun 19, 2022
@cpohli
Copy link

cpohli commented Jul 5, 2022

Same here, seems to be a specific IOS problem, as Signal on desktop renders and animates them correctly.
Sticker link:
https://signalstickers.com/pack/25c17c28406a7f176a86c6564893f4b7

@jademcs
Copy link

jademcs commented Oct 20, 2022

I'm still seeing this issue as well.

Any chance it could be a problem with the YYImage library that you're using? I checked it out on GitHub and it no longer seems to be a maintained project.

Was able to find this alternative that seems to be actively supported: https://github.com/onevcat/APNGKit

@ilvon
Copy link

ilvon commented Dec 23, 2022

This issue still exists.
The animated stickers in .png can render on Android and Windows client but not for iOS.

@Tursko
Copy link

Tursko commented Jan 9, 2023

@shuffle2
Copy link

I ran into this issue as well. I recently made a sticker pack with apngs, however only a few animate on ios, while they all animate on the desktop client. I assume it's the same root case, but unfortunately I'm not sure how to obtain the link to the pack again to post it here...

@jackwong0519
Copy link

Not sure if my solution would work for you guys. I used an online tool to create an APNG file for my sticker. So it came with meta data I suppose.

Then I used an optimisation tool from the same website https://ezgif.com/optipng. Removed the metadata and re-uploaded my stickers. It actually worked.

@Leonard-Yeung
Copy link

Not sure if my solution would work for you guys. I used an online tool to create an APNG file for my sticker. So it came with meta data I suppose.

Then I used an optimisation tool from the same website https://ezgif.com/optipng. Removed the metadata and re-uploaded my stickers. It actually worked.

Can confirm this works. I used exifcleaner to remove the metadata if anyone is curious.

@Miguel-Signal
Copy link

If you have ensured your images meet all the requirements for a Sticker and they still do not animate, please write in to support@signal.org with your debugs logs so we can look into it further.

To share a debug log from Signal iOS, tap your profile, Settings, Help, Submit Debug Log, and copy the link.

Sticker Requirements:
Non-animated stickers must be a separate PNG or WebP file
Animated stickers must be a separate APNG file. Please do not upload GIFs
Each sticker has a size limit of 300kb
Animated stickers maximum animation length of 3 seconds
Stickers resize to 512 x 512 px
Assign one emoji to each sticker
Maximum 200 stickers per pack
Cover must be a 512 x 512 px PNG or WebP file (defaults to first image in sticker pack)
Title
Author

@kaugummiheld
Copy link

Hi at all!

I'm almost sure it has not just something to do with stickers, but with playing GIFs in Signal iOS in general.
I just sent my partner (iOS, Version 6.38.0.13) a GIF (from Desktop). My Android phone is rendering it normally, but she can't see it at all.

I've found the following issues: #4641 & #5102
They are closed, but the issue still seems to persist.

@Brog33
Copy link

Brog33 commented Feb 18, 2024

There is still a problem with this. My animated stickers work fine in the Android and Desktop clients, but it's static in iOS.

UPDATE: ran them in the exifcleaner and they works now.

@shimamizu
Copy link

Still an issue

@swcolegrove
Copy link

swcolegrove commented Aug 24, 2024

i have been using ezgif to convert gifs to animated pngs and crop them

I was having this problem when i converted .gif files to animated png files and then cropped the .png files to make them square. I was able to fix the broken animated stickers in ios by first cropping the .gif and then converting it to an animated png

@km9l
Copy link

km9l commented Oct 9, 2024

still an issue

2 exif tags seem to be causing this: Software and Comment.

Software                        : ezgif.com
Comment                         : PNG created with https://ezgif.com/apng-maker

using exiftool (exiftool -Software= -Comment= image.png) fixes this

second thought: this might be caused by any exif tag. exiftool -all= image.png will probably work better

@swcolegrove
Copy link

still an issue

2 exif tags seem to be causing this: Software and Comment.

Software                        : ezgif.com
Comment                         : PNG created with https://ezgif.com/apng-maker

using exiftool (exiftool -Software= -Comment= image.png) fixes this

second thought: this might be caused by any exif tag. exiftool -all= image.png will probably work better

This works perfectly thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests