Skip to content

Commit

Permalink
Update asset/README
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Aug 2, 2024
1 parent 90a0b67 commit bbfe382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ To produce the [demo Animated PNGs](demo-light.png) did as follows:
3. Executed *FFmpeg v5.1-gpl* `./ffmpeg.exe -f gdigrab -framerate 30 -i title="WavySliderDemo" -plays 0 out.apng`
If the entire result is black, use `System.setProperty("skiko.renderApi", "OPENGL")` before the call to `application(...`
See https://trac.ffmpeg.org/ticket/7718
and https://github.com/JetBrains/compose-multiplatform/issues/4931
4. Trimmed the duration using `./ffmpeg.exe -ss 5s -to 7s -i out.apng -plays 0 out-trimmed.apng`
5. Changed the extension of the result from `apng` to `png`
6. Optimized using online tools (for example, https://tinypng.com)
Expand Down

0 comments on commit bbfe382

Please sign in to comment.