I can't seem to get this to work..
image1 = ImageSource("foo.png").Trim(0,-1)
image2 = ImageSource("bar.png").Trim(0,-1)
ImageWriter(image1, "D:\cat", 0,1, "png",info=true)
ImageWriter(image2, "D:\dog", 0,1, "png",info=true)
This only seems to write out image2... Super kudos to anyone can help me!
Anyone know how to call ImageWriter twice in one script?
- rook2pawn
- Joined: Tue Jan 29, 2008 9:06 am
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Re: Anyone know how to call ImageWriter twice in one script?
Avisynth can only return 1 output clip.
What are you trying to do exactly?
What are you trying to do exactly?
- rook2pawn
- Joined: Tue Jan 29, 2008 9:06 am
Re: Anyone know how to call ImageWriter twice in one script?
i want to be able to open two different images and apply some trans, then write those two outputs.. in one script, not two
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Re: Anyone know how to call ImageWriter twice in one script?
You'll need to treat it as an image sequence, and name the files accordingly. It has some examples in the avisynth documentation.