You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So,webp "Loop count:" parameter differs with the one that execute "RemoveMetadata()"
, two doubts here:
a:) why RemoveMetadata() affects "Loop count : 0" parameter?
b:) how to set webp's loop count if the original picture is a gif with GIF87a type?
We also tested the normal GIF89a type(gif2.zip) picture with loop 2, it works well when transfered to webp.
t00350320
changed the title
for webp, will RemoveMetadata() keep "Loop count : 0" parameter?
how to set webp's loop count if the original picture is a gif with GIF87a type?
Aug 28, 2023
We have a task to transfer a gif(GIF87a, gif1.zip) to webp,
here is our govips demo code:
in order to get a thin image, we default use "RemoveMetadata()" before Export to webp, the output webp's loop count is 0 , so the webp loop forever.
if we remove "RemoveMetadata()" , the output is 1, the webp loop once
So,webp "Loop count:" parameter differs with the one that execute "RemoveMetadata()"
, two doubts here:
a:) why RemoveMetadata() affects "Loop count : 0" parameter?
b:) how to set webp's loop count if the original picture is a gif with GIF87a type?
We also tested the normal GIF89a type(gif2.zip) picture with loop 2, it works well when transfered to webp.
FYI:
gif may has two types: GIF87a, GIF89a. While 87a has no reference to loop count and 89a's loop count is set near "0x31d".
For example, 89a type gif (gif2.zip), “31D: 00 00 # Loop forever".
gif89a doc,http://www.vurdalakov.net/misc/gif/netscape-looping-application-extension。
The text was updated successfully, but these errors were encountered: