public final class PlaneLocation extends Object
TiffPyramidWriter as planes are written and by
TiffPyramidReader when an existing file is reopened; used by the storage's read path
to fetch pixels without re-parsing the IFDs.| Modifier and Type | Field and Description |
|---|---|
long[] |
byteCount
On-disk byte count of each level's strip (compressed length if compressed).
|
int[] |
height
Pixel height of each level.
|
long[] |
offset
File offset of each level's pixel strip (index 0 = full resolution).
|
long[][] |
tileByteCounts |
boolean |
tiled
Whether this plane is stored as tiles (TIFF tags 322–325) rather than one strip.
|
int |
tileHeight |
long[][] |
tileOffsets
Per-level, per-tile file offset and on-disk byte count (row-major tile order).
|
int[] |
tilesAcross
Tile-grid dimensions of each level.
|
int[] |
tilesDown |
int |
tileWidth
Tile width/height in pixels (same for every level).
|
int[] |
width
Pixel width of each level.
|
| Constructor and Description |
|---|
PlaneLocation(int numLevels) |
| Modifier and Type | Method and Description |
|---|---|
int |
numLevels() |
static PlaneLocation |
tiled(int numLevels,
int tileWidth,
int tileHeight)
Create a tiled plane location; callers fill the per-level geometry and tile arrays.
|
public final long[] offset
public final long[] byteCount
public final int[] width
public final int[] height
public final boolean tiled
public final int tileWidth
public final int tileHeight
public final int[] tilesAcross
public final int[] tilesDown
public final long[][] tileOffsets
public final long[][] tileByteCounts
public static PlaneLocation tiled(int numLevels, int tileWidth, int tileHeight)
public int numLevels()
Copyright © 2026. All rights reserved.