mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
Change the order of -frame argument to be more natural
Now, its: +duration+xoffset+yoffset+disposal +disposal can be omitted and will default to +0 (NONE) additionally, +xoffset+yoffset can be omitted and will default to +0+0 Change-Id: I62138c9f675d4fc4408305babbcd485cb32b73d3
This commit is contained in:
@ -104,10 +104,13 @@ image offset for this fragment.
|
||||
|
||||
.SS FRAME_OPTIONS (\-frame)
|
||||
.TP
|
||||
.B file_i +xi+yi+di+mi
|
||||
.B file_i +di[+xi+yi[+mi]]
|
||||
Where: 'file_i' is the i'th frame (WebP format), 'xi','yi' specify the image
|
||||
offset for this frame, 'di' is the pause duration before next frame and 'mi' is
|
||||
the dispose method for this frame (0 or 1).
|
||||
the dispose method for this frame (0 for NONE or 1 for BACKGROUND).
|
||||
'mi' can be omitted and will default to 0 (NONE).
|
||||
Additionally, if 'mi' is ommitted then'xi' and 'yi' can be omitted and will
|
||||
default to +0+0.
|
||||
.TP
|
||||
.B \-loop n
|
||||
Loop the frames n number of times. 0 indicates the frames should loop forever.
|
||||
|
Reference in New Issue
Block a user