Creates new JpegImage instance from content, represented as byte stream, and with specified name
publicJpegImage(stringname,StreambinaryContent)
Parameter
Type
Description
name
String
Name of the JPEG image. Cannot be null, empty or whitespaces.
binaryContent
Stream
Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too.