MCPcopy Create free account
hub / github.com/ImageEngine/cortex / testPNG

Method testPNG

test/IECoreImage/ImageReaderTest.py:341–346  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

339 self.assertFalse( r.isComplete() )
340
341 def testPNG( self ) :
342
343 r = IECore.Reader.create( os.path.join( "test", "IECoreImage", "data", "png", "uvMap.512x256.png" ) )
344 self.assertIsInstance( r, IECoreImage.ImageReader )
345 self.assertTrue( r.isComplete() )
346 self.assertTrue( r.read().channelsValid() )
347
348 def testFramesPerSecond( self ):
349 # read an image that have the FramesPerSecond set and ensure the values are correctly identified

Callers

nothing calls this directly

Calls 5

joinMethod · 0.80
channelsValidMethod · 0.80
createMethod · 0.45
isCompleteMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected