image = MImage() image.readFromFile( filename ) scriptUtil = MScriptUtil() widthPtr = scriptUtil.asUintPtr() heightPtr = scriptUtil.asUintPtr() scriptUtil.setUint( widthPrt, 0 ) scriptUtil.setUint( heightPtr, 0 ) image.getSize( widthPtr, heightPtr ) ix = scriptUtil.getUint( widthPtr ) iy = scriptUtil.getUint( heightPtr )
댓글 없음:
댓글 쓰기