getJpeg
The image of a document as a JPEG.
Return
a byte array containg a JPEG
Deprecated
Use getData instead. This method might return a byte array containing other types, like PDFs.
To check if the byte array contains an image query the type with getType and check if it equals IMAGE.