Class Overview
A class containing JPEG-related constants, definitions, and
static methods. This class and its constants must be public so that
JPEGImageWriteParam
can see it.
Summary
Public Constructors |
|
JPEG()
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Constants
public
static
final
int
ADOBE_IMPOSSIBLE
Constant Value:
-1
(0xffffffff)
public
static
final
int
ADOBE_UNKNOWN
Constant Value:
0
(0x00000000)
public
static
final
int
ADOBE_YCC
Constant Value:
1
(0x00000001)
public
static
final
int
ADOBE_YCCK
Constant Value:
2
(0x00000002)
public
static
final
int
APP0
Constant Value:
224
(0x000000e0)
public
static
final
int
APP1
Constant Value:
225
(0x000000e1)
public
static
final
int
APP10
Constant Value:
234
(0x000000ea)
public
static
final
int
APP11
Constant Value:
235
(0x000000eb)
public
static
final
int
APP12
Constant Value:
236
(0x000000ec)
public
static
final
int
APP13
Constant Value:
237
(0x000000ed)
public
static
final
int
APP14
Constant Value:
238
(0x000000ee)
public
static
final
int
APP15
Constant Value:
239
(0x000000ef)
public
static
final
int
APP2
Constant Value:
226
(0x000000e2)
public
static
final
int
APP3
Constant Value:
227
(0x000000e3)
public
static
final
int
APP4
Constant Value:
228
(0x000000e4)
public
static
final
int
APP5
Constant Value:
229
(0x000000e5)
public
static
final
int
APP6
Constant Value:
230
(0x000000e6)
public
static
final
int
APP7
Constant Value:
231
(0x000000e7)
public
static
final
int
APP8
Constant Value:
232
(0x000000e8)
public
static
final
int
APP9
Constant Value:
233
(0x000000e9)
public
static
final
int
COM
Constant Value:
254
(0x000000fe)
public
static
final
int
DAC
Define Arithmetic conditioning tables
Constant Value:
204
(0x000000cc)
public
static
final
float
DEFAULT_QUALITY
public
static
final
int
DENSITY_UNIT_ASPECT_RATIO
The X and Y units simply indicate the aspect ratio of the pixels.
Constant Value:
0
(0x00000000)
public
static
final
int
DENSITY_UNIT_DOTS_CM
Pixel density is in pixels per centemeter.
Constant Value:
2
(0x00000002)
public
static
final
int
DENSITY_UNIT_DOTS_INCH
Pixel density is in pixels per inch.
Constant Value:
1
(0x00000001)
public
static
final
int
DHP
Define Heirarchical progression
Constant Value:
222
(0x000000de)
public
static
final
int
DHT
Constant Value:
196
(0x000000c4)
public
static
final
int
DNL
Constant Value:
220
(0x000000dc)
public
static
final
int
DQT
Define Quantisation Tables
Constant Value:
219
(0x000000db)
public
static
final
int
DRI
Constant Value:
221
(0x000000dd)
public
static
final
int
EOI
Constant Value:
217
(0x000000d9)
public
static
final
int
EXP
Expand reference image(s)
Constant Value:
223
(0x000000df)
public
static
final
int
JCS_CMYK
Constant Value:
4
(0x00000004)
public
static
final
int
JCS_GRAYSCALE
Constant Value:
1
(0x00000001)
public
static
final
int
JCS_RGB
Constant Value:
2
(0x00000002)
public
static
final
int
JCS_RGBA
Constant Value:
6
(0x00000006)
public
static
final
int
JCS_UNKNOWN
Constant Value:
0
(0x00000000)
public
static
final
int
JCS_YCC
Constant Value:
5
(0x00000005)
public
static
final
int
JCS_YCCA
Constant Value:
10
(0x0000000a)
public
static
final
int
JCS_YCCK
Constant Value:
11
(0x0000000b)
public
static
final
int
JCS_YCbCr
Constant Value:
3
(0x00000003)
public
static
final
int
JCS_YCbCrA
Constant Value:
7
(0x00000007)
public
static
final
int
JPG
Reserved for JPEG extensions
Constant Value:
200
(0x000000c8)
public
static
final
int
NUM_DENSITY_UNIT
The max known value for DENSITY_UNIT
Constant Value:
3
(0x00000003)
public
static
final
int
NUM_JCS_CODES
Constant Value:
12
(0x0000000c)
public
static
final
int
RESTART_RANGE
Number of restart markers
Constant Value:
8
(0x00000008)
public
static
final
int
RST0
Constant Value:
208
(0x000000d0)
public
static
final
int
RST1
Constant Value:
209
(0x000000d1)
public
static
final
int
RST2
Constant Value:
210
(0x000000d2)
public
static
final
int
RST3
Constant Value:
211
(0x000000d3)
public
static
final
int
RST4
Constant Value:
212
(0x000000d4)
public
static
final
int
RST5
Constant Value:
213
(0x000000d5)
public
static
final
int
RST6
Constant Value:
214
(0x000000d6)
public
static
final
int
RST7
Constant Value:
215
(0x000000d7)
public
static
final
int
SOF0
Constant Value:
192
(0x000000c0)
public
static
final
int
SOF1
Constant Value:
193
(0x000000c1)
public
static
final
int
SOF10
Progressive DCT, Arithmetic coding
Constant Value:
202
(0x000000ca)
public
static
final
int
SOF11
Lossless Sequential, Arithmetic coding
Constant Value:
203
(0x000000cb)
public
static
final
int
SOF13
Differential Sequential DCT, Arithmetic coding
Constant Value:
205
(0x000000cd)
public
static
final
int
SOF14
Differential Progressive DCT, Arithmetic coding
Constant Value:
206
(0x000000ce)
public
static
final
int
SOF15
Differential Lossless, Arithmetic coding
Constant Value:
207
(0x000000cf)
public
static
final
int
SOF2
Constant Value:
194
(0x000000c2)
public
static
final
int
SOF3
Constant Value:
195
(0x000000c3)
public
static
final
int
SOF5
Differential Sequential DCT
Constant Value:
197
(0x000000c5)
public
static
final
int
SOF6
Differential Progressive DCT
Constant Value:
198
(0x000000c6)
public
static
final
int
SOF7
Constant Value:
199
(0x000000c7)
public
static
final
int
SOF9
Extended Sequential DCT, Arithmetic coding
Constant Value:
201
(0x000000c9)
public
static
final
int
SOI
Constant Value:
216
(0x000000d8)
public
static
final
int
SOS
Constant Value:
218
(0x000000da)
public
static
final
int
TEM
For temporary use in arithmetic coding
Constant Value:
1
(0x00000001)
public
static
final
String
nativeImageMetadataFormatClassName
Constant Value:
"com.sun.imageio.plugins.jpeg.JPEGImageMetadataFormat"
public
static
final
String
nativeImageMetadataFormatName
Constant Value:
"javax_imageio_jpeg_image_1.0"
public
static
final
String
nativeStreamMetadataFormatClassName
Constant Value:
"com.sun.imageio.plugins.jpeg.JPEGStreamMetadataFormat"
public
static
final
String
nativeStreamMetadataFormatName
Constant Value:
"javax_imageio_jpeg_stream_1.0"
public
static
final
String
vendor
Constant Value:
"Sun Microsystems, Inc."
public
static
final
String
version
Fields
public
static
final
int[]
bOffsRGB
public
static
final
int[][]
bandOffsets
IJG can handle up to 4-channel JPEGs
Public Constructors