< prev index next >
src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java
Print this page
*** 1128,1141 ****
}
/*
* from jpeg_metadata.html:
* If no stream metadata is supplied to
! * <code>ImageWriter.prepareWriteSequence</code>, then no
* tables-only image is written. If stream metadata containing
* no tables is supplied to
! * <code>ImageWriter.prepareWriteSequence</code>, then a tables-only
* image containing default visually lossless tables is written.
*/
if (streamMetadata != null) {
if (streamMetadata instanceof JPEGMetadata) {
// write a complete tables-only image at the beginning of
--- 1128,1141 ----
}
/*
* from jpeg_metadata.html:
* If no stream metadata is supplied to
! * {@code ImageWriter.prepareWriteSequence}, then no
* tables-only image is written. If stream metadata containing
* no tables is supplied to
! * {@code ImageWriter.prepareWriteSequence}, then a tables-only
* image containing default visually lossless tables is written.
*/
if (streamMetadata != null) {
if (streamMetadata instanceof JPEGMetadata) {
// write a complete tables-only image at the beginning of
*** 1697,1707 ****
/** Sets up native structures for output stream */
private native void setDest(long structPointer);
/**
! * Returns <code>true</code> if the write was aborted.
*/
private native boolean writeImage(long structPointer,
byte [] data,
int inCsType, int outCsType,
int numBands,
--- 1697,1707 ----
/** Sets up native structures for output stream */
private native void setDest(long structPointer);
/**
! * Returns {@code true} if the write was aborted.
*/
private native boolean writeImage(long structPointer,
byte [] data,
int inCsType, int outCsType,
int numBands,
< prev index next >