- getAlphaOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
For the given pixel format, returns the number of bytes that the alpha
component is offset from the start of the pixel.
- getBlueOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
For the given pixel format, returns the number of bytes that the blue
component is offset from the start of the pixel.
- getBuf() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the YUV buffer (if this image is stored in a unified buffer rather
than separate image planes.)
- getColorspace() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the colorspace used in the source image (JPEG or YUV) associated
with this decompressor instance.
- getCompressedSize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Returns the size of the image (in bytes) generated by the most recent
compress operation.
- getDenom() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
-
Returns denominator
- getErrorCode() - Method in exception org.libjpegturbo.turbojpeg.TJException
-
Returns a code (one of
TJ.ERR_*
) indicating the severity of the
last error.
- getGreenOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
For the given pixel format, returns the number of bytes that the green
component is offset from the start of the pixel.
- getHeight() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the height of the source image (JPEG or YUV) associated with this
decompressor instance.
- getHeight() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the height of the YUV image (or subregion.)
- getJPEGBuf() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the JPEG buffer associated with this decompressor instance.
- getJPEGSize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the size of the JPEG image (in bytes) associated with this
decompressor instance.
- getMCUHeight(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
Returns the MCU block height for the given level of chrominance
subsampling.
- getMCUWidth(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
Returns the MCU block width for the given level of chrominance
subsampling.
- getNum() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
-
Returns numerator
- getOffsets() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the offsets (in bytes) of each plane within the planes of a larger
YUV image.
- getPad() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the row alignment (in bytes) of the YUV buffer (if this image is
stored in a unified buffer rather than separate image planes.)
- getPixelSize(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
Returns the pixel size (in bytes) for the given pixel format.
- getPlanes() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the YUV image planes.
- getRedOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
-
For the given pixel format, returns the number of bytes that the red
component is offset from the start of the pixel.
- getScaled(int) - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
-
Returns the scaled value of dimension
.
- getScaledHeight(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the height of the largest scaled-down image that the TurboJPEG
decompressor can generate without exceeding the desired image width and
height.
- getScaledWidth(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the width of the largest scaled-down image that the TurboJPEG
decompressor can generate without exceeding the desired image width and
height.
- getScalingFactors() - Static method in class org.libjpegturbo.turbojpeg.TJ
-
Returns a list of fractional scaling factors that the JPEG decompressor
supports.
- getSize() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the size (in bytes) of the YUV buffer (if this image is stored in
a unified buffer rather than separate image planes.)
- getStrides() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the number of bytes per row of each plane in the YUV image.
- getSubsamp() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the level of chrominance subsampling used in the source image
(JPEG or YUV) associated with this decompressor instance.
- getSubsamp() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the level of chrominance subsampling used in the YUV image.
- getTransformedSizes() - Method in class org.libjpegturbo.turbojpeg.TJTransformer
-
Returns an array containing the sizes of the transformed JPEG images
(in bytes) generated by the most recent transform operation.
- getWidth() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Returns the width of the source image (JPEG or YUV) associated with this
decompressor instance.
- getWidth() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the width of the YUV image (or subregion.)
- op - Variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Transform operation (one of
OP_*
)
- OP_HFLIP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Flip (mirror) image horizontally.
- OP_NONE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Do not transform the position of the image pixels.
- OP_ROT180 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Rotate image 180 degrees.
- OP_ROT270 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Rotate image counter-clockwise by 90 degrees.
- OP_ROT90 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Rotate image clockwise by 90 degrees.
- OP_TRANSPOSE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Transpose image (flip/mirror along upper left to lower right axis).
- OP_TRANSVERSE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Transverse transpose image (flip/mirror along upper right to lower left
axis).
- OP_VFLIP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Flip (mirror) image vertically.
- OPT_COPYNONE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
This option will prevent
TJTransformer.transform()
from copying any extra markers (including EXIF
and ICC profile data) from the source image to the destination image.
- OPT_CROP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
This option will enable lossless cropping.
- OPT_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
This option will discard the color data in the source image and produce a
grayscale destination image.
- OPT_NOOUTPUT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
- OPT_PERFECT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
- OPT_PROGRESSIVE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
This option will enable progressive entropy coding in the JPEG image
generated by this particular transform.
- OPT_TRIM - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
This option will discard any partial MCU blocks that cannot be
transformed.
- options - Variable in class org.libjpegturbo.turbojpeg.TJTransform
-
Transform options (bitwise OR of one or more of
OPT_*
)
- org.libjpegturbo.turbojpeg - package org.libjpegturbo.turbojpeg
-
- SAMP_411 - Static variable in class org.libjpegturbo.turbojpeg.TJ
-
4:1:1 chrominance subsampling.
- SAMP_420 - Static variable in class org.libjpegturbo.turbojpeg.TJ
-
4:2:0 chrominance subsampling.
- SAMP_422 - Static variable in class org.libjpegturbo.turbojpeg.TJ
-
4:2:2 chrominance subsampling.
- SAMP_440 - Static variable in class org.libjpegturbo.turbojpeg.TJ
-
4:4:0 chrominance subsampling.
- SAMP_444 - Static variable in class org.libjpegturbo.turbojpeg.TJ
-
4:4:4 chrominance subsampling (no chrominance subsampling).
- SAMP_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
-
Grayscale.
- setBuf(byte[][], int[], int, int[], int, int) - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Assign a set of image planes to this YUVImage
instance.
- setBuf(byte[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Assign a unified buffer to this YUVImage
instance.
- setJPEGImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
- setJPEGQuality(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Set the JPEG image quality level for subsequent compress operations.
- setSourceImage(byte[], int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Associate a packed-pixel RGB, grayscale, or CMYK source image with this
compressor instance.
- setSourceImage(byte[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
- setSourceImage(BufferedImage, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Associate a packed-pixel RGB or grayscale source image with this
compressor instance.
- setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Associate a planar YUV source image with this compressor instance.
- setSourceImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Associate the JPEG image or "abbreviated table specification" (AKA
"tables-only") datastream of length imageSize
bytes stored in
jpegImage
with this decompressor instance.
- setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Associate the specified planar YUV source image with this decompressor
instance.
- setSubsamp(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Set the level of chrominance subsampling for subsequent compress/encode
operations.
- TJ - Class in org.libjpegturbo.turbojpeg
-
TurboJPEG utility class (cannot be instantiated)
- TJCompressor - Class in org.libjpegturbo.turbojpeg
-
TurboJPEG compressor
- TJCompressor() - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
-
Create a TurboJPEG compressor instance.
- TJCompressor(byte[], int, int, int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
-
Create a TurboJPEG compressor instance and associate the packed-pixel
source image stored in srcImage
with the newly created
instance.
- TJCompressor(byte[], int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
-
- TJCompressor(BufferedImage, int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
-
Create a TurboJPEG compressor instance and associate the packed-pixel
source image stored in srcImage
with the newly created
instance.
- TJCustomFilter - Interface in org.libjpegturbo.turbojpeg
-
Custom filter callback interface
- TJDecompressor - Class in org.libjpegturbo.turbojpeg
-
TurboJPEG decompressor
- TJDecompressor() - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
-
Create a TurboJPEG decompresssor instance.
- TJDecompressor(byte[]) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
-
Create a TurboJPEG decompressor instance and associate the JPEG source
image or "abbreviated table specification" (AKA "tables-only") datastream
stored in jpegImage
with the newly created instance.
- TJDecompressor(byte[], int) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
-
Create a TurboJPEG decompressor instance and associate the JPEG source
image or "abbreviated table specification" (AKA "tables-only") datastream
of length imageSize
bytes stored in jpegImage
with the newly created instance.
- TJDecompressor(YUVImage) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
-
Create a TurboJPEG decompressor instance and associate the planar YUV
source image stored in yuvImage
with the newly created
instance.
- TJException - Exception in org.libjpegturbo.turbojpeg
-
- TJException() - Constructor for exception org.libjpegturbo.turbojpeg.TJException
-
- TJException(String, Throwable) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
-
- TJException(String) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
-
- TJException(String, int) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
-
- TJException(Throwable) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
-
- TJScalingFactor - Class in org.libjpegturbo.turbojpeg
-
Fractional scaling factor
- TJScalingFactor(int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJScalingFactor
-
Create a TurboJPEG scaling factor instance.
- TJTransform - Class in org.libjpegturbo.turbojpeg
-
Lossless transform parameters
- TJTransform() - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
-
Create a new lossless transform instance.
- TJTransform(int, int, int, int, int, int, TJCustomFilter) - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
-
Create a new lossless transform instance with the given parameters.
- TJTransform(Rectangle, int, int, TJCustomFilter) - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
-
Create a new lossless transform instance with the given parameters.
- TJTransformer - Class in org.libjpegturbo.turbojpeg
-
TurboJPEG lossless transformer
- TJTransformer() - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
-
Create a TurboJPEG lossless transformer instance.
- TJTransformer(byte[]) - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
-
Create a TurboJPEG lossless transformer instance and associate the JPEG
source image stored in jpegImage
with the newly created
instance.
- TJTransformer(byte[], int) - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
-
Create a TurboJPEG lossless transformer instance and associate the JPEG
source image of length imageSize
bytes stored in
jpegImage
with the newly created instance.
- transform(byte[][], TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
-
Losslessly transform the JPEG source image associated with this
transformer instance into one or more JPEG images stored in the given
destination buffers.
- transform(TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
-
Losslessly transform the JPEG source image associated with this
transformer instance and return an array of
TJDecompressor
instances, each of which has a transformed JPEG image associated with it.