i am using LibJpeg library for decoding jpeg image ( given in form of byte array ) into rgb color map . but it come different from my sample output i want to check by java programme . how to do this in by java programme ? w开发者_Go百科hat is use of APPn in header ? how to decode jpeg image into rgb pixel .
Why not use ImageIO.read together with ByteArrayInputStream to read the byte array into an image then no extra library is needed (pure java solution):
BufferedImage image = ImageIO.read(new ByteArrayInputStream(bytes));
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论