Search code examples
iosios4

Image IO error on iOS


I'm receiving the following error in the simulator:

ImageIO: <ERROR>  CGImageReadSessionGetCachedImageBlockData ***
CGImageReadSessionGetCachedImageBlockData: readSession [0x6b78af0] has bad
readRef [0x6b7a460]

I'm using the OpenFlow library. I didn't have any bad experience until now. Now, I don't know why I have this. Do you have any idea?


Solution

  • My PNG's contained some transparent parts and I think this caused the problem, because after removing these parts the error disappeared. Maybe I had some error in my PNG files, because transparency should be supported.