Upgrade to OPENRNDR 0.4 snapshot
This commit is contained in:
10
orx-jvm/orx-video-profiles/src/main/kotlin/GIFProfile.kt
Normal file
10
orx-jvm/orx-video-profiles/src/main/kotlin/GIFProfile.kt
Normal file
@@ -0,0 +1,10 @@
|
||||
package org.openrndr.extra.videoprofiles
|
||||
import org.openrndr.ffmpeg.VideoWriterProfile
|
||||
|
||||
class GIFProfile : VideoWriterProfile() {
|
||||
override val fileExtension = "gif"
|
||||
|
||||
override fun arguments(): Array<String> {
|
||||
return arrayOf("-vf", "split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse=dither=none:diff_mode=rectangle,vflip")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user