LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
UseSopMarker Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000SaveOptions Class : UseSopMarker Property



Enables or disables use of the Start of Packet(SOP) marker.

Syntax

Visual Basic (Declaration) 
Public Property UseSopMarker As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Boolean
 
instance.UseSopMarker = value
 
value = instance.UseSopMarker
C# 
public bool UseSopMarker {get; set;}
C++/CLI 
public:
property bool UseSopMarker {
   bool get();
   void set (    bool value);
}

Property Value

true to use the SOP marker, false otherwise.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

The "Start of Packet" and "End of Packet Header" markers help detect file corruption during transmission. If these markers exist in the JPEG2000 compressed stream, it is easy for the decoder to find the packet boundary, or, in case of a stream error, check the size. If UseSopMarker is true, each packet in any given tile part will be prepended with a SOP marker segment. The SOP marker includes the size of the packet. The default value is false.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also