pymel.core.rendering.convertIffToPsd¶
- convertIffToPsd(*args, **kwargs)¶
Converts iff file to PSD file of given size In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name Argument Types Properties iffFileName / ifn unicode Input iff file name psdFileName / pfn unicode Output file name xResolution / xr int X resolution of the image yResolution / yr int Y resolution of the image Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.convertIffToPsd
Example:
import pymel.core as pm pm.convertIffToPsd( 'd:/test.iff', 'd:/test.psd', xr=640, yr=320 )