Message 1 of 5
Maya 2012 python image control won't resize images
Not applicable
10-19-2011
06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'd been writing GUI for my company for Maya 2011. We're about to switch to 2012, and some things are working differently. I have an image control that can show various files in a gallery folder, resizing them all to 200x200:
mc.image('pictureFrame', image=r'Y:\\RESOURCES\\3D_cinematic_library\\gallery\\none.jpg', h=200, w=200)
In 2012, rather than resizing them it just crops them off at the 200x200 mark. Anyone know what's up with this or how to fix it?
mc.image('pictureFrame', image=r'Y:\\RESOURCES\\3D_cinematic_library\\gallery\\none.jpg', h=200, w=200)
In 2012, rather than resizing them it just crops them off at the 200x200 mark. Anyone know what's up with this or how to fix it?