public EncodeStrip ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public override bool EncodeStrip(byte[] buffer, int offset, int count, short plane)
{
if (m_rawEncode)
return JPEGEncodeRaw(buffer, offset, count, plane);
return JPEGEncode(buffer, offset, count, plane);
}