Page 1 of 1

Can you render frames without frame numbers?

PostPosted: Tue Oct 20, 2015 10:40 pm
by Peter Leary
Hi there,

I was just setting up a fusion comp to save a bunch of single images and I was wondering, is it possible to make the savers save single images without frame numbers?

Thanks
Pete

Re: Can you render frames without frame numbers?

PostPosted: Wed Oct 21, 2015 12:23 am
by Mikhail Korovyansky
Peter Leary wrote:Hi there,

I was just setting up a fusion comp to save a bunch of single images and I was wondering, is it possible to make the savers save single images without frame numbers?

Thanks
Pete


don't think so.. you're doing sequencial saving of the images so it is have a logic behind.. another way - is to make RMB in vewport and select "Save image" - then you can specify any name but for one frame only.

Re: Can you render frames without frame numbers?

PostPosted: Wed Oct 21, 2015 1:23 am
by Peter Leary
Hey I found something!

SirEdric posted a script on this the pigs fly forum, I can't post a link :( maybe it's cause I'm new?
Anyway, for future reference, just pop this in the 'frame saved script'.

Code: Select all
path, name = string.match(filename, "^(.+[/\\])(.+)")
name, extension = string.match(name, "^(.+)(%..+)$")
barename, sequence = string.match(name, "^(.-)(%d+)$")
print("bare:"..barename..extension)
os.remove(path..barename..extension)
os.rename(filename, path..barename..extension)
os.remove(filename)


Works a treat!
Thanks
Pete