-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. fixed the order of settings (according to gifski's code) pub struct GifskiSettings { pub width: u32, pub height: u32, pub quality: u8, pub fast: bool, pub repeat: i16, } 2. Since version 1.4.0 had been pubulished, set it to be default.(dll files'length built by different persons can be different, I got 606720bytes by version 1.4.0 x64) 3. No need to set up lastTimestamp when addframe, it can be auto-calc. refer to gifski.h * Presentation timestamp (PTS) is time in seconds, since start of the file, when this frame is to be displayed. * For a 20fps video it could be `frame_number/20.0`. First frame must have PTS=0. * Frames with duplicate or out-of-order PTS will be skipped.
- Loading branch information
1 parent
c8abcbe
commit 538acb0
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters