-
Notifications
You must be signed in to change notification settings - Fork 65
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
How do I prevent pixelation of the GIF from 2nd frame onwards when serving it from Node Server? #39
Comments
I'm also having the same problem. Has anyone found a fix yet? |
Playing the GIF you supplied in the gifuct sample player seems to playback fine without artifacts. Could it be something to do with the encoder? |
… so that can resolve matt-way#39
@flyskywhy/gifuct-js add imageData besides patch, here imageData of every frame is full size. Or you can find out how small size patch (from 2nd frame) be converted into full size imageData in the source code, and use them in your APP code with official gifuct-js. Also you may ref to pixel-gif and it's react-native version react-native-pixel-gif |
@Tribevote @xenodirt I faced this issue too and figured out the solution (at least in my case) to rendering the frames from this old issue:
Here's a link to my full code (I had to use a temp canvas for some reason to get it working):
I don't think this will be useful for OP, although here's how I rendered it if it helps anyone else:
|
The first frame seems to load fine, from 2nd frame onwards, there are black pixels. Any idea on how to get rid of them?
Pixelated Screen reference
Here is my code in NodeJS
The text was updated successfully, but these errors were encountered: