Skip to content

Instantly share code, notes, and snippets.

View mailsonanselmo's full-sized avatar
🎯
Focusing

@mailsonanselmo mailsonanselmo

🎯
Focusing
  • Brasil, Fortaleza/CE
  • 21:05 (UTC -03:00)
View GitHub Profile
@jpt1122
jpt1122 / StrangeImageTest.java
Created July 23, 2014 11:02
Solution for this Exception : Numbers of source Raster bands and source color space components do not match when i read image
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
import javax.imageio.ImageIO;
import javax.imageio.ImageReader;