Screen shot high resolution image
Hi,
i would like to screen shot a higher resolution image from Hypermesh. Is there a way to achieve it? Currently i set up the JEPG quality to 99 already.
Thanks,
Miao
Answers
-
if you open the tcl console (from view menu) in either HW or HV
Then you can do it from there with the 'capturescreentosize' command:
E.g. to capture screen to a JPEG type file called MyHiResPicture.jpg with a resolution of 3200 X 2400 pixels and quality level 100:
enter following:
hwi GetSessionHandle sess; sess CaptureScreenToSize jpeg E:\MyHiResPicture.jpg 3200 2400 100;<br /><br />
There are a number of similar hwi commands for getting the whole desktop, a window or animations, you can find the documentation for them in the help
- hwISession CaptureActiveWindow
- hwISession CaptureAnimation
- hwISession CaptureAnimationByArea
- hwISession CaptureAnimationByAreaPercentage
- hwISession CaptureAnimationByWindow
- hwISession CaptureDesktop
- hwISession CaptureDesktopByArea
- hwISession CaptureScreen
- hwISession CaptureScreenByArea
- hwISession CaptureScreenByAreaPercentage
- hwISession CaptureScreenToSize
1 -
Paul Sharp_21301 said:
if you open the tcl console (from view menu) in either HW or HV
Then you can do it from there with the 'capturescreentosize' command:
E.g. to capture screen to a JPEG type file called MyHiResPicture.jpg with a resolution of 3200 X 2400 pixels and quality level 100:
enter following:
hwi GetSessionHandle sess; sess CaptureScreenToSize jpeg E:\MyHiResPicture.jpg 3200 2400 100;<br /><br />
There are a number of similar hwi commands for getting the whole desktop, a window or animations, you can find the documentation for them in the help
- hwISession CaptureActiveWindow
- hwISession CaptureAnimation
- hwISession CaptureAnimationByArea
- hwISession CaptureAnimationByAreaPercentage
- hwISession CaptureAnimationByWindow
- hwISession CaptureDesktop
- hwISession CaptureDesktopByArea
- hwISession CaptureScreen
- hwISession CaptureScreenByArea
- hwISession CaptureScreenByAreaPercentage
- hwISession CaptureScreenToSize
Thanks Paul! i tried it but couldn't find the .jpg in the folder.
CaptureScreenToSize jpeg <span style="color: #ff0000;">E:\MyHiResPicture.jpg</span> 3200 2400 100;<br /><br /><span style="font-family: arial, helvetica, sans-serif;">I believe E:\MyHiResPicture.jpg referring to the folder path. Is it correct?</span>
0 -
Miao Yu said:
Thanks Paul! i tried it but couldn't find the .jpg in the folder.
CaptureScreenToSize jpeg <span style="color: #ff0000;">E:\MyHiResPicture.jpg</span> 3200 2400 100;<br /><br /><span style="font-family: arial, helvetica, sans-serif;">I believe E:\MyHiResPicture.jpg referring to the folder path. Is it correct?</span>
Yes, that's correct, you can set this to any path and filename you like (that you have write permissions for) if you don't have an E: drive then the above exact syntax wouldn't work
0