ImageIO porting for Android platform