FileInputStream in = null;
FileInputStream in2 = null;
try {
in = new FileInputStream(dest);
in2 = new FileInputStream(src);
ImageRender rr = new ReadRender(in, false);
ImageRender rr2 = new ReadRender(in2, false);
ImageWrapper srcImg = rr2.render();
ImageWrapper dstImg = rr.render();
BufferedImage dstBi = dstImg.getAsBufferedImage();
assertTrue(dstBi.getColorModel().getColorSpace().isCS_sRGB());
assertTrue(dstBi.getWidth() <= 1024);