I might be wrong but doesn't imgInfo give you size? We wrote something a while back that would use it for resolution.
On 10/7/10, [email protected] <[email protected]> wrote: > Hello all, > Long time since I ve posted and a long time since I ve tackled any API > coding but the pipeline at work could realyl use a tool that revealed > the total texture size of a selected objects shading group. I ve found > the code that does this in C > @ > http://media.quilime.com/files/mel/www.ewertb.com/maya_api/How%20do%20I%20find%20the%20file%20texture,%20and%20the%20image%20filepath,%20assigned%20to%20a%20material_.html > > but was wondering af anyone could give any pointers ? Would it be > easier to retrieve them through MImage() then query their size in > python ? > > Thansk in advance y'all ! > > -- > http://groups.google.com/group/python_inside_maya -- Sent from my mobile device -- http://groups.google.com/group/python_inside_maya
