Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add TGS (telegram animated sticker) support#309

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
agusibrahim wants to merge1 commit intoxvrh:master
base:master
Choose a base branch
Loading
fromagusibrahim:master

Conversation

@agusibrahim
Copy link

@agusibrahimagusibrahim commentedOct 21, 2023
edited
Loading

hi, i added some stuff to support load gzip json data where is used in telegram animated sticker file (tgs). simply just load normally tgs file from asset or network

- update ios pod
@xvrh
Copy link
Owner

xvrh commentedNov 15, 2023
edited
Loading

@agusibrahim the next version (currentlyv3.0.0-alpha.1) will support loading .tgs file like this:

Lottie.asset('sticker.tgs',  decoder:LottieComposition.decodeGZip,)

This is a bit different from your PR because:

  • It uses the GZip decoder frompackage:archive. That way, it works on the web
  • Thedecoder parameter trick allows for the GZip decoder to be tree-shaked if not used.

Let me know if it works for you.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@agusibrahim@xvrh

[8]ページ先頭

©2009-2025 Movatter.jp