Talk:ChannelMixer
From Avisynth wiki
(Difference between revisions)
(found script) |
m (forgot timestamp) |
||
Line 4: | Line 4: | ||
− | It's an [http://en.wikipedia.org/wiki/APNG Animated PNG] created with AviSynth and [http://vdubapngmod.sourceforge.net/ VirtualDub APNG Mod]. Below is the script I used, Loop=delay and AssumeFPS=speed, load the script and save to apng. I chose to to it this way because not all browsers support apng. If a apng is not supported by the browser (for example Chrome) then the user just get a side-by-side comparison. I could of used GIF but the quality is limited. | + | It's an [http://en.wikipedia.org/wiki/APNG Animated PNG] created with AviSynth and [http://vdubapngmod.sourceforge.net/ VirtualDub APNG Mod]. Below is the script I used, Loop=delay and AssumeFPS=speed, load the script and save to apng. I chose to to it this way because not all browsers support apng. If a apng is not supported by the browser (for example Chrome) then the user just get a side-by-side comparison. I could of used GIF but the quality is limited. [[User:Reel.Deal|Reel.Deal]] 19:39, 16 September 2015 (CEST) |
<pre> | <pre> | ||
# Single frame RGB32 source | # Single frame RGB32 source |
Revision as of 18:39, 16 September 2015
How did you animate that before-and-after image?
I can't figure it out.
Raffriff42 18:46, 16 September 2015 (CEST)
It's an Animated PNG created with AviSynth and VirtualDub APNG Mod. Below is the script I used, Loop=delay and AssumeFPS=speed, load the script and save to apng. I chose to to it this way because not all browsers support apng. If a apng is not supported by the browser (for example Chrome) then the user just get a side-by-side comparison. I could of used GIF but the quality is limited. Reel.Deal 19:39, 16 September 2015 (CEST)
# Single frame RGB32 source o = last.Loop(25) # Processing o2 = o.ChannelMixer() # Combine Left = o.Subtitle("Before") ++ o2.Subtitle("After") Right = o2.Subtitle("After") ++ o.Subtitle("Before") Stack = StackHorizontal(Left, Right) # Output Return (Stack.AssumeFPS(30))