sj_bee
03-14-2007, 12:52 PM
Hi people
Does anyone know of a command or a way to query if an image file has an alpha channel or not?
what i want to do is something like:
if (/*THE FILE HAS AN ALPHA CHANNEL*/) connectAttr -f ($fileNode + ".outTransparency") ($lambert + ".transparency");
else //dont do anything
Any ideas?
Does anyone know of a command or a way to query if an image file has an alpha channel or not?
what i want to do is something like:
if (/*THE FILE HAS AN ALPHA CHANNEL*/) connectAttr -f ($fileNode + ".outTransparency") ($lambert + ".transparency");
else //dont do anything
Any ideas?
