Interface Region
- All Superinterfaces:
SegmentData
- All Known Implementing Classes:
GenericRefinementRegion, GenericRegion, HalftoneRegion, TextRegion
Interface for all JBIG2 region segments.
-
Method Summary
Modifier and TypeMethodDescriptionDecodes and returns a regions content.Simply returns theRegionSegmentInformation.Methods inherited from interface SegmentData
init
-
Method Details
-
getRegionBitmap
Decodes and returns a regions content.- Returns:
- The decoded region as
Bitmap. - Throws:
IOException- if an underlying IO operation failsIntegerMaxValueException- if the maximum value limit of an integer is exceededInvalidHeaderValueException- if the segment header value is invalid
-
getRegionInfo
RegionSegmentInformation getRegionInfo()Simply returns theRegionSegmentInformation.- Returns:
- The
RegionSegmentInformation.
-