下面列出了javax.imageio.plugins.tiff.BaselineTIFFTagSet#SAMPLE_FORMAT_UNSIGNED_INTEGER 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
/**
* Sets the value of the {@code sampleFormat} field.
*
* <p> If this method is called, the {@code beginDecoding}
* method must be called prior to calling any of the decode
* methods.
*
* @param sampleFormat the format of the source image data,
* for example unsigned integer or floating-point.
*/
public void setSampleFormat(int[] sampleFormat) {
this.sampleFormat = sampleFormat == null ?
new int[] {BaselineTIFFTagSet.SAMPLE_FORMAT_UNSIGNED_INTEGER} :
sampleFormat.clone();
}
/**
* Sets the value of the {@code sampleFormat} field.
*
* <p> If this method is called, the {@code beginDecoding}
* method must be called prior to calling any of the decode
* methods.
*
* @param sampleFormat the format of the source image data,
* for example unsigned integer or floating-point.
*/
public void setSampleFormat(int[] sampleFormat) {
this.sampleFormat = sampleFormat == null ?
new int[] {BaselineTIFFTagSet.SAMPLE_FORMAT_UNSIGNED_INTEGER} :
sampleFormat.clone();
}