Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / Problem using OpenMaya to open *.jpg
  RSS 2.0 ATOM  

Problem using OpenMaya to open *.jpg
Rate this thread
 
58402
 
Permlink of this thread  
avatar
  • arthurzb
  • Posted: 25 July 2011 10:40 PM
  • Total Posts: 8
  • Joined: 06 July 2011 08:45 AM

import maya.OpenMaya as mom

mayaImage 
mom.MImage()
mayaImage.readFromFile('modle.0.jpg')

when I run this script, it replys ‘Segmentation fault’ =.=
And this problem also occurred when open a iff file but saves as a jpg file.
Anyone know what is wrong?



Replies: 0