| Package | Description |
|---|---|
| org.apache.pdfbox.jbig2 | |
| org.apache.pdfbox.jbig2.decoder.mmr | |
| org.apache.pdfbox.jbig2.image | |
| org.apache.pdfbox.jbig2.segments |
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
Region.getRegionBitmap()
Decodes and returns a regions content.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Bitmap> |
Dictionary.getDictionary()
Decodes a dictionary segment and returns the result.
|
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
MMRDecompressor.uncompress() |
| Modifier and Type | Method and Description |
|---|---|
static Bitmap |
Bitmaps.extract(Rectangle roi,
Bitmap src)
Returns the specified rectangle area of the bitmap.
|
static Bitmap |
Bitmaps.subsample(Bitmap src,
ImageReadParam param) |
static Bitmap |
Bitmaps.subsampleX(Bitmap src,
int xSubsampling,
int xSubsamplingOffset) |
static Bitmap |
Bitmaps.subsampleY(Bitmap src,
int ySubsampling,
int ySubsamplingOffset) |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
Bitmaps.asBufferedImage(Bitmap bitmap)
Returns the given bitmap as buffered image.
|
static BufferedImage |
Bitmaps.asBufferedImage(Bitmap bitmap,
FilterType filterType)
Returns the given bitmap as buffered image.
|
static BufferedImage |
Bitmaps.asBufferedImage(Bitmap bitmap,
ImageReadParam param,
FilterType filterType)
Returns the given bitmap as buffered image.
|
static WritableRaster |
Bitmaps.asRaster(Bitmap bitmap)
Returns the given bitmap as writable raster.
|
static WritableRaster |
Bitmaps.asRaster(Bitmap bitmap,
FilterType filterType)
Returns the given bitmap as writable raster.
|
static WritableRaster |
Bitmaps.asRaster(Bitmap bitmap,
ImageReadParam param,
FilterType filterType)
Returns the given bitmap as writable raster.
|
static void |
Bitmaps.blit(Bitmap src,
Bitmap dst,
int x,
int y,
CombinationOperator combinationOperator)
This method combines a given bitmap with the current instance.
|
static Bitmap |
Bitmaps.extract(Rectangle roi,
Bitmap src)
Returns the specified rectangle area of the bitmap.
|
static Bitmap |
Bitmaps.subsample(Bitmap src,
ImageReadParam param) |
static Bitmap |
Bitmaps.subsampleX(Bitmap src,
int xSubsampling,
int xSubsamplingOffset) |
static Bitmap |
Bitmaps.subsampleY(Bitmap src,
int ySubsampling,
int ySubsamplingOffset) |
| Modifier and Type | Method and Description |
|---|---|
Bitmap |
TextRegion.getRegionBitmap() |
Bitmap |
GenericRegion.getRegionBitmap()
The procedure is described in 6.2.5.7, page 17.
|
Bitmap |
HalftoneRegion.getRegionBitmap()
The procedure is described in JBIG2 ISO standard, 6.6.5.
|
Bitmap |
GenericRefinementRegion.getRegionBitmap()
Decode using a template and arithmetic coding, as described in 6.3.5.6
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Bitmap> |
PatternDictionary.getDictionary()
This method decodes a pattern dictionary segment and returns an array of
Bitmap s. |
ArrayList<Bitmap> |
SymbolDictionary.getDictionary()
6.5.5 Decoding the symbol dictionary
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenericRefinementRegion.setParameters(CX cx,
ArithmeticDecoder arithmeticDecoder,
short grTemplate,
int regionWidth,
int regionHeight,
Bitmap grReference,
int grReferenceDX,
int grReferenceDY,
boolean isTPGRon,
short[] grAtX,
short[] grAtY) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TextRegion.setParameters(ArithmeticDecoder arithmeticDecoder,
ArithmeticIntegerDecoder iDecoder,
boolean isHuffmanEncoded,
boolean sbRefine,
int sbw,
int sbh,
long sbNumInstances,
int sbStrips,
int sbNumSyms,
short sbDefaultPixel,
short sbCombinationOperator,
short transposed,
short refCorner,
short sbdsOffset,
short sbHuffFS,
short sbHuffDS,
short sbHuffDT,
short sbHuffRDWidth,
short sbHuffRDHeight,
short sbHuffRDX,
short sbHuffRDY,
short sbHuffRSize,
short sbrTemplate,
short[] sbrATX,
short[] sbrATY,
ArrayList<Bitmap> sbSyms,
int sbSymCodeLen) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.