B C D F G H I O P R S T U W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BACKGROUND - Static variable in class com.sixlegs.png.PngConstants
-
bKGD
: Background samples - BIT_DEPTH - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Bit depth - bKGD - Static variable in class com.sixlegs.png.PngConstants
-
Background color
- build() - Method in class com.sixlegs.png.PngConfig.Builder
-
Create a configuration using the current values of this builder.
- Builder() - Constructor for class com.sixlegs.png.PngConfig.Builder
-
Create a new builder using default values.
- Builder(PngConfig) - Constructor for class com.sixlegs.png.PngConfig.Builder
-
Create a builder using values from the given configuration.
C
- cHRM - Static variable in class com.sixlegs.png.PngConstants
-
Primary chromaticities
- CHROMATICITY - Static variable in class com.sixlegs.png.PngConstants
-
cHRM
: Chromaticity - COLOR_TYPE - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Color type - COLOR_TYPE_GRAY - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Grayscale color type - COLOR_TYPE_GRAY_ALPHA - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Grayscale+alpha color type - COLOR_TYPE_PALETTE - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Palette color type - COLOR_TYPE_RGB - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: RGB color type - COLOR_TYPE_RGB_ALPHA - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: RGBA color type - com.sixlegs.png - package com.sixlegs.png
- COMPRESSION - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Compression method - COMPRESSION_BASE - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Deflate/inflate compression - convertIndexed(boolean) - Method in class com.sixlegs.png.PngConfig.Builder
-
Whether to convert images with an indexed color model (paletted and 1/2/4/8-bit grayscale) to use a component color model.
- createImage(InputStream, Dimension) - Method in class com.sixlegs.png.PngImage
-
A hook by which subclasses can access or manipulate the raw image data.
D
- defaultGamma(float) - Method in class com.sixlegs.png.PngConfig.Builder
-
Sets the default gamma value.
- displayExponent(float) - Method in class com.sixlegs.png.PngConfig.Builder
-
Sets the default display exponent.
F
- FILTER - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Filter method - FILTER_BASE - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Adaptive filtering
G
- gAMA - Static variable in class com.sixlegs.png.PngConstants
-
Image gamma
- GAMMA - Static variable in class com.sixlegs.png.PngConstants
-
gAMA
: Gamma - gammaCorrect(boolean) - Method in class com.sixlegs.png.PngConfig.Builder
-
Enables or disables gamma correction.
- getBackground() - Method in class com.sixlegs.png.PngImage
-
Returns the background color explicitly encoded in the image.
- getBitDepth() - Method in class com.sixlegs.png.PngImage
-
Returns the image bit depth.
- getChunkName(int) - Static method in class com.sixlegs.png.PngConstants
-
Returns the four-character ASCII name corresponding to the given chunk type.
- getChunkType(String) - Static method in class com.sixlegs.png.PngConstants
-
Returns the chunk type corresponding to the given four-character ASCII chunk name.
- getColorType() - Method in class com.sixlegs.png.PngImage
-
Returns the image color type.
- getConfig() - Method in class com.sixlegs.png.PngImage
-
Returns the configuration used by this object.
- getConvertIndexed() - Method in class com.sixlegs.png.PngConfig
-
Return sthe current indexed image conversion setting.
- getDefaultGamma() - Method in class com.sixlegs.png.PngConfig
-
Returns the current default gamma value.
- getDisplayExponent() - Method in class com.sixlegs.png.PngConfig
-
Returns the current display exponent.
- getFrequency(int) - Method in interface com.sixlegs.png.SuggestedPalette
-
Retrieve a sample frequency value.
- getGamma() - Method in class com.sixlegs.png.PngImage
-
Returns the gamma exponent that was explicitly encoded in the image, if there was one, or the value of
PngConfig.getDefaultGamma()
otherwise. - getGammaCorrect() - Method in class com.sixlegs.png.PngConfig
-
Returns the current gamma correction setting.
- getGammaTable() - Method in class com.sixlegs.png.PngImage
-
Returns a gamma table which can be used for custom gamma correction.
- getHeight() - Method in class com.sixlegs.png.PngImage
-
Returns the image height in pixels.
- getKeyword() - Method in interface com.sixlegs.png.TextChunk
-
Returns the Latin-1 (ISO-8859-1) encoded keyword of this TextChunk.
- getLanguage() - Method in interface com.sixlegs.png.TextChunk
-
Returns the language (RFC-1766) used by the translated keyword and the text, or null if unspecified.
- getName() - Method in interface com.sixlegs.png.SuggestedPalette
-
Returns palette name.
- getProgressive() - Method in class com.sixlegs.png.PngConfig
-
Returns the current progressive display setting.
- getProperties() - Method in class com.sixlegs.png.PngImage
-
Returns the map which stores all of this image's property values.
- getProperty(String) - Method in class com.sixlegs.png.PngImage
-
Returns a per-image property by name.
- getReadLimit() - Method in class com.sixlegs.png.PngConfig
-
Returns the current read limit setting.
- getReduce16() - Method in class com.sixlegs.png.PngConfig
-
Returns the current 16-bit reduction setting.
- getSample(int, short[]) - Method in interface com.sixlegs.png.SuggestedPalette
-
Retrieve a sample value.
- getSampleCount() - Method in interface com.sixlegs.png.SuggestedPalette
-
Returns the number of samples.
- getSampleDepth() - Method in interface com.sixlegs.png.SuggestedPalette
-
Returns the sample depth.
- getSamples() - Method in class com.sixlegs.png.PngImage
-
Returns the number of samples per pixel.
- getSourceRegion() - Method in class com.sixlegs.png.PngConfig
-
Returns the source region to be used.
- getSourceXSubsampling() - Method in class com.sixlegs.png.PngConfig
-
Returns the number of source columns to advance for each pixel.
- getSourceYSubsampling() - Method in class com.sixlegs.png.PngConfig
-
Returns the number of rows to advance for each pixel.
- getSubsamplingXOffset() - Method in class com.sixlegs.png.PngConfig
-
Returns the horizontal offset of the subsampling grid.
- getSubsamplingYOffset() - Method in class com.sixlegs.png.PngConfig
-
Returns the vertical offset of the subsampling grid.
- getText() - Method in interface com.sixlegs.png.TextChunk
-
Returns the text of this TextChunk.
- getTextChunk(String) - Method in class com.sixlegs.png.PngImage
-
Returns a text chunk that uses the given keyword, if one exists.
- getTranslatedKeyword() - Method in interface com.sixlegs.png.TextChunk
-
Returns a translation of the keyword into the language used by this TextChunk, or null if unspecified.
- getTransparency() - Method in class com.sixlegs.png.PngImage
-
Returns the type of this Transparency.
- getType() - Method in interface com.sixlegs.png.TextChunk
-
Returns the type of this TextChunk.
- getWarningsFatal() - Method in class com.sixlegs.png.PngConfig
-
Returns whether warnings are treated as fatal errors.
- getWidth() - Method in class com.sixlegs.png.PngImage
-
Returns the image widt hin pixels.
- GIF_DELAY_TIME - Static variable in class com.sixlegs.png.PngConstants
-
gIFg
: GIF delay time (hundredths of a second) - GIF_DISPOSAL_METHOD - Static variable in class com.sixlegs.png.PngConstants
-
gIFg
: GIF disposal method - GIF_USER_INPUT_FLAG - Static variable in class com.sixlegs.png.PngConstants
-
gIFg
: GIF user input flag - gIFg - Static variable in class com.sixlegs.png.PngConstants
-
GIF Graphic Control Extension
- gIFx - Static variable in class com.sixlegs.png.PngConstants
-
GIF Application Extension
H
- handlePass(BufferedImage, int) - Method in class com.sixlegs.png.PngImage
-
A method which subclasses may override to take some action after each pass has been decoded.
- handleProgress(BufferedImage, float) - Method in class com.sixlegs.png.PngImage
-
Reports the approximate degree of completion of the current read call.
- handleWarning(PngException) - Method in class com.sixlegs.png.PngImage
-
Callback for customized handling of warnings.
- HEIGHT - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Height - hIST - Static variable in class com.sixlegs.png.PngConstants
-
Palette histogram
- HISTOGRAM - Static variable in class com.sixlegs.png.PngConstants
-
hIST
: Palette histogram
I
- ICC_PROFILE - Static variable in class com.sixlegs.png.PngConstants
-
iCCP
: ICC profile - ICC_PROFILE_NAME - Static variable in class com.sixlegs.png.PngConstants
-
iCCP
: ICC profile name - iCCP - Static variable in class com.sixlegs.png.PngConstants
-
Embedded ICC profile
- IDAT - Static variable in class com.sixlegs.png.PngConstants
-
Image data
- IEND - Static variable in class com.sixlegs.png.PngConstants
-
Image trailer
- IHDR - Static variable in class com.sixlegs.png.PngConstants
-
Image header
- INTERLACE - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Interlace method - INTERLACE_ADAM7 - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Adam7 interlace - INTERLACE_NONE - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: No interlace - isAncillary(int) - Static method in class com.sixlegs.png.PngConstants
-
Returns
true
if the given chunk type has the ancillary bit set (the first letter is lowercase). - isFatal() - Method in exception com.sixlegs.png.PngException
-
Returns true if this exception represents a fatal decoding error.
- isInterlaced() - Method in class com.sixlegs.png.PngImage
-
Returns true if the image interlace type (
PngConstants.INTERLACE
) is something other thanINTERLACE_NONE
. - isMultipleOK(int) - Method in class com.sixlegs.png.PngImage
-
Returns whether a chunk is allowed to occur multiple times.
- isPrivate(int) - Static method in class com.sixlegs.png.PngConstants
-
Returns
true
if the given chunk type has the private bit set (the second letter is lowercase). - isReserved(int) - Static method in class com.sixlegs.png.PngConstants
-
Returns
true
if the given chunk type has the reserved bit set (the third letter is lowercase). - isSafeToCopy(int) - Static method in class com.sixlegs.png.PngConstants
-
Returns
true
if the given chunk type has the safe-to-copy bit set (the fourth letter is lowercase). - iTXt - Static variable in class com.sixlegs.png.PngConstants
-
International textual data
O
- oFFs - Static variable in class com.sixlegs.png.PngConstants
-
Image offset
P
- PALETTE - Static variable in class com.sixlegs.png.PngConstants
-
PLTE
: Palette entries - PALETTE_ALPHA - Static variable in class com.sixlegs.png.PngConstants
-
PLTE
: Palette alpha - pCAL - Static variable in class com.sixlegs.png.PngConstants
-
Calibration of pixel values
- pHYs - Static variable in class com.sixlegs.png.PngConstants
-
Physical pixel dimensions
- PIXEL_HEIGHT - Static variable in class com.sixlegs.png.PngConstants
-
sCAL
: Physical height of pixel - PIXEL_WIDTH - Static variable in class com.sixlegs.png.PngConstants
-
sCAL
: Physical width of pixel - PIXELS_PER_UNIT_X - Static variable in class com.sixlegs.png.PngConstants
-
pHYs
: Pixels per unit, X axis - PIXELS_PER_UNIT_Y - Static variable in class com.sixlegs.png.PngConstants
-
pHYs
: Pixels per unit, Y axis - PLTE - Static variable in class com.sixlegs.png.PngConstants
-
Palette
- PngConfig - Class in com.sixlegs.png
-
Customizable parameters used by
PngImage
when decoding an image. - PngConfig.Builder - Class in com.sixlegs.png
-
Builder class used to construct
PngConfig
instances. - PngConstants - Class in com.sixlegs.png
-
This interface defines all registered chunk types and provides methods helper methods to examine them.
- PngConstants() - Constructor for class com.sixlegs.png.PngConstants
- PngException - Exception in com.sixlegs.png
-
The superclass for all decoding exceptions.
- PngImage - Class in com.sixlegs.png
-
A class to decode PNG images.
- PngImage() - Constructor for class com.sixlegs.png.PngImage
-
Constructor which uses a default instance of
PngConfig
. - PngImage(PngConfig) - Constructor for class com.sixlegs.png.PngImage
-
Constructor which uses the specified configuration.
- POSITION_UNIT - Static variable in class com.sixlegs.png.PngConstants
-
oFFs
: Unit for image offset - POSITION_UNIT_MICROMETER - Static variable in class com.sixlegs.png.PngConstants
-
oFFs
: Unit is the micrometer (10^-6 meter) - POSITION_UNIT_PIXEL - Static variable in class com.sixlegs.png.PngConstants
-
oFFs
: Unit is the pixel (true dimensions unspecified) - POSITION_X - Static variable in class com.sixlegs.png.PngConstants
-
oFFs
: Image X position - POSITION_Y - Static variable in class com.sixlegs.png.PngConstants
-
oFFs
: Image Y position - progressive(boolean) - Method in class com.sixlegs.png.PngConfig.Builder
-
Enables or disables progressive display for interlaced images.
R
- read(File) - Method in class com.sixlegs.png.PngImage
-
Reads a PNG image from the specified file.
- read(InputStream, boolean) - Method in class com.sixlegs.png.PngImage
-
Reads a PNG image from the specified input stream.
- READ_ALL - Static variable in class com.sixlegs.png.PngConfig
-
Read the entire image
- READ_EXCEPT_DATA - Static variable in class com.sixlegs.png.PngConfig
-
Read the entire image, skipping over the image data
- READ_EXCEPT_METADATA - Static variable in class com.sixlegs.png.PngConfig
-
Read the entire image, skipping over all non-critical chunks except tRNS and gAMA
- READ_HEADER - Static variable in class com.sixlegs.png.PngConfig
-
Read only the header chunk
- READ_UNTIL_DATA - Static variable in class com.sixlegs.png.PngConfig
-
Read all the metadata up to the image data
- readChunk(int, DataInput, long, int) - Method in class com.sixlegs.png.PngImage
-
Read the chunk data from the image input stream, storing properties into this
PngImage
instance. - readLimit(int) - Method in class com.sixlegs.png.PngConfig.Builder
-
Configures how much of the image to read.
- reduce16(boolean) - Method in class com.sixlegs.png.PngConfig.Builder
-
Enables or disables 16-bit reduction.
- RENDERING_INTENT - Static variable in class com.sixlegs.png.PngConstants
-
sRGB
: Rendering intent
S
- sBIT - Static variable in class com.sixlegs.png.PngConstants
-
Significant bits
- sCAL - Static variable in class com.sixlegs.png.PngConstants
-
Physical scale of image subject
- SCALE_UNIT - Static variable in class com.sixlegs.png.PngConstants
-
sCAL
: Unit for physical scale of image subject - SCALE_UNIT_METER - Static variable in class com.sixlegs.png.PngConstants
-
sCAL
: Unit is the meter - SCALE_UNIT_RADIAN - Static variable in class com.sixlegs.png.PngConstants
-
sCAL
: Unit is the radian - SIGNATURE - Static variable in class com.sixlegs.png.PngConstants
-
Eight byte magic number that begins all PNG images
- SIGNIFICANT_BITS - Static variable in class com.sixlegs.png.PngConstants
-
sBIT
: Significant bits - sourceRegion(Rectangle) - Method in class com.sixlegs.png.PngConfig.Builder
-
Decode only a particular region of the source image.
- sourceSubsampling(int, int, int, int) - Method in class com.sixlegs.png.PngConfig.Builder
-
Reduce the size of the decoded image (or source region) by only using periodic rows and/or columns of the image.
- sPLT - Static variable in class com.sixlegs.png.PngConstants
-
Suggested palette
- sRGB - Static variable in class com.sixlegs.png.PngConstants
-
Standard RGB color space
- SRGB_ABSOLUTE_COLORIMETRIC - Static variable in class com.sixlegs.png.PngConstants
-
sRGB
: Absolute colormetric rendering intent - SRGB_PERCEPTUAL - Static variable in class com.sixlegs.png.PngConstants
-
sRGB
: Perceptual rendering intent - SRGB_RELATIVE_COLORIMETRIC - Static variable in class com.sixlegs.png.PngConstants
-
sRGB
: Relative colorimetric rendering intent - SRGB_SATURATION_PRESERVING - Static variable in class com.sixlegs.png.PngConstants
-
sRGB
: Saturation rendering intent - sTER - Static variable in class com.sixlegs.png.PngConstants
-
Indicator of Stereo Image
- STEREO_MODE - Static variable in class com.sixlegs.png.PngConstants
-
sTER
: Indicator of stereo image - STEREO_MODE_CROSS - Static variable in class com.sixlegs.png.PngConstants
-
sTER
: Cross-fuse layout - STEREO_MODE_DIVERGING - Static variable in class com.sixlegs.png.PngConstants
-
sTER
: Diverging-fuse layout - SUGGESTED_PALETTES - Static variable in class com.sixlegs.png.PngConstants
-
sPLT
: List of suggested palettes - SuggestedPalette - Interface in com.sixlegs.png
-
A suggested palette.
T
- tEXt - Static variable in class com.sixlegs.png.PngConstants
-
Textual data
- TEXT_CHUNKS - Static variable in class com.sixlegs.png.PngConstants
- TextChunk - Interface in com.sixlegs.png
- tIME - Static variable in class com.sixlegs.png.PngConstants
-
Image last-modification time
- TIME - Static variable in class com.sixlegs.png.PngConstants
-
tIME
: Image last-modification time - TRANSPARENCY - Static variable in class com.sixlegs.png.PngConstants
-
tRNS
: Transparency samples - tRNS - Static variable in class com.sixlegs.png.PngConstants
-
Transparency
U
- UNIT - Static variable in class com.sixlegs.png.PngConstants
-
pHYs
: Unit specifier - UNIT_METER - Static variable in class com.sixlegs.png.PngConstants
-
pHYs
: Unit is the meter - UNIT_UNKNOWN - Static variable in class com.sixlegs.png.PngConstants
-
pHYs
: Unit is unknown
W
- warningsFatal(boolean) - Method in class com.sixlegs.png.PngConfig.Builder
-
Configures whether warnings should be treated as fatal errors.
- WIDTH - Static variable in class com.sixlegs.png.PngConstants
-
IHDR
: Width
Z
- zTXt - Static variable in class com.sixlegs.png.PngConstants
-
Compressed textual data
All Classes All Packages