- decompress(byte[], int, int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image or decode the YUV source image associated
with this decompressor instance and output a grayscale, RGB, or CMYK image
to the given destination buffer.
- decompress(byte[], int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
- decompress(int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image associated with this decompressor
instance and return a buffer containing the decompressed image.
- decompress(int[], int, int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image or decode the YUV source image associated
with this decompressor instance and output a grayscale, RGB, or CMYK image
to the given destination buffer.
- decompress(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image or decode the YUV source image associated
with this decompressor instance and output a decompressed/decoded image to
the given BufferedImage
instance.
- decompress(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image or decode the YUV source image associated
with this decompressor instance and return a BufferedImage
instance containing the decompressed/decoded image.
- decompressToYUV(YUVImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image associated with this decompressor
instance into a YUV planar image and store it in the given
YUVImage
instance.
- decompressToYUV(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
- decompressToYUV(int, int[], int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image associated with this decompressor
instance into a set of Y, U (Cb), and V (Cr) image planes and return a
YUVImage
instance containing the decompressed image planes.
- decompressToYUV(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Decompress the JPEG source image associated with this decompressor
instance into a unified YUV planar image buffer and return a
YUVImage
instance containing the decompressed image.
- decompressToYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
- 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 image 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
- 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 image 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 line padding used in the YUV image 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 in
this implementation of TurboJPEG supports.
- getSize() - Method in class org.libjpegturbo.turbojpeg.YUVImage
-
Returns the size (in bytes) of the YUV image 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 line 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
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_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 input image and produce
a grayscale output image.
- OPT_NOOUTPUT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
- OPT_PERFECT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
-
- 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 image 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 an uncompressed 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 an uncompressed RGB or grayscale source image with this
compressor instance.
- setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
-
Associate an uncompressed YUV planar source image with this compressor
instance.
- setSourceImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Associate the JPEG image of length imageSize
bytes stored in
jpegImage
with this decompressor instance.
- setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
-
Associate the specified YUV planar 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)
- TJ() - Constructor for class org.libjpegturbo.turbojpeg.TJ
-
- 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 uncompressed
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 uncompressed
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 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 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 YUV planar
source image stored in yuvImage
with the newly created
instance.
- TJScalingFactor - Class in org.libjpegturbo.turbojpeg
-
Fractional scaling factor
- TJScalingFactor(int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJScalingFactor
-
- 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
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
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 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 image associated with this transformer
instance and return an array of
TJDecompressor
instances, each of
which has a transformed JPEG image associated with it.