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 10: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 14:54.
Similar Threads
-
how do i load an image sequence into avisynth+ and can i use QTGMC on it ?
By oduodui in forum EditingReplies: 5Last Post: 11th Oct 2025, 12:57 -
[Avisynth] moving image effect
By maudit in forum Newbie / General discussionsReplies: 21Last Post: 29th Nov 2022, 00:29 -
search Avisynth Expert to make Slideshow with template and Text over Image
By danilo in forum EditingReplies: 1Last Post: 7th Jun 2021, 12:34 -
Does CGI animation require more or less bitrate than Hand Drawn animation?
By killerteengohan in forum Newbie / General discussionsReplies: 13Last Post: 29th Mar 2019, 11:50 -
rotate with pan/crop not rotating on image axis [Vegas] [fixed]
By ricmetal in forum EditingReplies: 4Last Post: 9th Sep 2018, 11:55


Quote
