Jump to content

hscript imgsave how to use ?


junvfx

Recommended Posts

I want to use mplay save sequence image to disk. I find hscript imgsave can do it.

5e9fbbbdd0a4c_.JPG.851badf52b31e482240216bb42af23b6.JPG

the help -a tag can render all frames. actually not. only save one frame at a time.

Texport command :

                       imgsave -a -f 1000 1100 -i 1 C:/test/test.$F4.jpg

I want save sequence image to disk. Is there any other way.

please

thanks

Edited by junvfx
Link to comment
Share on other sites

  • 9 months later...

In case anyone else runs across this in the future, you need to escape the $F like so:

 

imgsave -a "/tmp/test/test1.\$F.jpg"

 

And if running from Python

hou.hscript("imgsave -a "/tmp/test/test1.\$\F.jpg")

 

Edited by jamesr
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...