Hey Guys
I would like to build a component that I can put at the end of a network to save an image of the current frame. The image should automatically (triggered with a keyboard in) be saved in a folder with a custom Name + Project Name + Number. I already got the numbering right but for the rest I lack Python skills!
Also, I had to put a lag CHOP in front of the âRecord Triggerâ to trigger the count first. Donât know if this is the right way!?
My moviefile out expression:
âImageSaver-out\ImageSaver-â + str(int(op(âcount3â)[0])) + â.pngâ
Can someone help me?
Unfortunately, Iâm a new user here and canât upload any files
The Moviefileout TOP already has a counter build in of sorts. When enabling the parameter âUnique Suffixâ and appending the python Member me.fileSuffix this will automatically increment every time you trigger the âAdd Frameâ pulse parameter.
The format is a bit differernt. As explained here in the docs
the fileSuffix member will add a string in the form of .N.i.ext to your filename where N is the counter and i the image sequence counter but only used if you are in the recording type âImage Sequenceâ.
To get to your format, you can use a small format expression:
Thank you for the quick help!
Sorry I didnât quite get it but it works! I got the suffix thing but not the format stuff. Unfortunately, the Add Frame button cannot be triggered with the keyboard in!? I have to use the ârecordâ but this is ok.
Is there also an expression to read out my project name and put it in the Image File Name?
ĂhmâŚit doesnât work for meâŚI trigger the âAdd Frameâ but nothing is happening! When i klick the Add it´s working!
I also found that there is a project name class that can be easily called with âproject.nameâ . But how do I get that with an expression in my moviefile out file?