From bbfe382db147c552bcbd2af3029591afea5ae16f Mon Sep 17 00:00:00 2001 From: Mahdi Hosseinzadeh Date: Fri, 2 Aug 2024 10:11:38 +0330 Subject: [PATCH] Update asset/README --- asset/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/asset/README.md b/asset/README.md index 87a12d5..b912644 100644 --- a/asset/README.md +++ b/asset/README.md @@ -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)