How to convert Java Image into JPEG array of bytes?
        Posted  
        
            by unknownthreat
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by unknownthreat
        
        
        
        Published on 2010-04-02T17:35:49Z
        Indexed on 
            2010/04/02
            17:43 UTC
        
        
        Read the original article
        Hit count: 319
        
Is there a way to convert a Java Image, encode it into JPEG (but not saving it to a file), and store it as an array of bytes? (byte[]) I need the JPEG-encoded image as an array of bytes.
© Stack Overflow or respective owner