def jbig2Encode(stream, parameters):
 encodedStream = ''
 return ((-1), 'Jbig2Encode not supported yet')

def jbig2Encode ( stream , parameters ) : encodedStream = '' return ( ( - 1 ) , 'Jbig2Encode not supported yet' )
method to encode streams using the jbig2 standard .