Hi, I'd like to create a GIF form a single image.
The source is a PNG with transparency.
https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Yin_yang.svg/2048px-Yin_yang.svg.png
The code I put in Avspmod
It works but how to keep tansparency? Can I write it in some other better way?Code:ImageSource("C:\Users\antip\Desktop\yy\Yin and yang.png") Spline36Resize(64,64) Loop(0,360,1000) # or Trim(0,359) ConvertToRGB32() Rotate(endangle=359)
I could create the GIF using ffmpeg, but can I in another way?
I thought in could encode the script in a mkv, then export all the images in a sequence and re assembly them in vdub2 exporting as a GIF or APNG, but I'm quite sure vdub can't handle transparency.
Any other better suggestion, please?
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by maudit; 4th Sep 2023 at 09:09.
-
pixel_type="RGB32" to load the alpha channel
Code:ImageSource("C:\Users\antip\Desktop\yy\Yin and yang.png", pixel_type="RGB32" )
-
Last edited by maudit; 4th Sep 2023 at 13:54.
Similar Threads
-
[Avisynth] moving image effect
By maudit in forum Newbie / General discussionsReplies: 21Last Post: 28th Nov 2022, 23:29 -
search Avisynth Expert to make Slideshow with template and Text over Image
By danilo in forum EditingReplies: 1Last Post: 7th Jun 2021, 11:34 -
how do i load an image sequence into avisynth+ and can i use QTGMC on it ?
By oduodui in forum EditingReplies: 3Last Post: 28th Oct 2019, 16:45 -
Does CGI animation require more or less bitrate than Hand Drawn animation?
By killerteengohan in forum Newbie / General discussionsReplies: 13Last Post: 29th Mar 2019, 10:50 -
rotate with pan/crop not rotating on image axis [Vegas] [fixed]
By ricmetal in forum EditingReplies: 4Last Post: 9th Sep 2018, 10:55