pymel.core.rendering.convertIffToPsd

static rendering.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 ../../../_images/create.gif ../../../_images/query.gif
 
Input iff file name
psdFileName (pfn) unicode ../../../_images/create.gif ../../../_images/query.gif
 
Output file name Flag can have multiple arguments, passed either as a tuple or a list.
xResolution (xr) int ../../../_images/create.gif ../../../_images/query.gif
 
X resolution of the image
yResolution (yr) int ../../../_images/create.gif ../../../_images/query.gif
 
Y resolution of the image

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 )