< prev index next >
src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JFIFMarkerSegment.java
Print this page
*** 88,98 ****
private final int MAX_THUMB_HEIGHT = 255;
private final boolean debug = false;
/**
! * Set to <code>true</code> when reading the chunks of an
* ICC profile. All chunks are consolidated to create a single
* "segment" containing all the chunks. This flag is a state
* variable identifying whether to construct a new segment or
* append to an old one.
*/
--- 88,98 ----
private final int MAX_THUMB_HEIGHT = 255;
private final boolean debug = false;
/**
! * Set to {@code true} when reading the chunks of an
* ICC profile. All chunks are consolidated to create a single
* "segment" containing all the chunks. This flag is a state
* variable identifying whether to construct a new segment or
* append to an old one.
*/
*** 592,605 ****
return ret;
}
/**
* Writes out a default JFIF marker segment to the given
! * output stream. If <code>thumbnails</code> is not <code>null</code>,
* writes out the set of thumbnail images as JFXX marker segments, or
* incorporated into the JFIF segment if appropriate.
! * If <code>iccProfile</code> is not <code>null</code>,
* writes out the profile after the JFIF segment using as many APP2
* marker segments as necessary.
*/
static void writeDefaultJFIF(ImageOutputStream ios,
List<? extends BufferedImage> thumbnails,
--- 592,605 ----
return ret;
}
/**
* Writes out a default JFIF marker segment to the given
! * output stream. If {@code thumbnails} is not {@code null},
* writes out the set of thumbnail images as JFXX marker segments, or
* incorporated into the JFIF segment if appropriate.
! * If {@code iccProfile} is not {@code null},
* writes out the profile after the JFIF segment using as many APP2
* marker segments as necessary.
*/
static void writeDefaultJFIF(ImageOutputStream ios,
List<? extends BufferedImage> thumbnails,
< prev index next >