4 Replies Latest reply on Nov 20, 2007 11:25 AM by Pete Muir

    s:graphicImage decreases the image quality

    Gena Newbie


      i think, it should be possible to use the byte[] as is (+custom content type) with s:graphicImage.

      I prepare the images with JAI and if use the s:graphicImage the quality decreases. If i comment the preparation of BufferedImage out and put the input array to output thru, i get an expected quality.

       byte[] b = (byte[]) input;
       readImage(new ByteArrayInputStream(b));
       // no transformation needed GB01072007
       output = (byte[]) input;