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 ../../../_images/create.gif ../../../_images/query.gif
  Input iff file name
psdFileName / pfn unicode ../../../_images/create.gif ../../../_images/query.gif
  Output file name
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 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 )