/** * {@inheritDoc} */ @Override public void setBitsPerValue(final Integer newValue) { super.setBitsPerValue(newValue); }
/** * Sets the maximum number of significant bits in the uncompressed representation for the value in current band. * Storage location is: * * <ul> * <li>{@code metadata/contentInfo/attributeGroup/attribute/bitsPerValue}</li> * </ul> * * @param bits the new maximum number of significant bits. * @throws IllegalArgumentException if the given value is zero or negative. */ public final void setBitPerSample(final int bits) { sampleDimension().setBitsPerValue(bits); }
/** * Sets the maximum number of significant bits in the uncompressed representation for the value in current band. * Storage location is: * * <ul> * <li>{@code metadata/contentInfo/attributeGroup/attribute/bitsPerValue}</li> * </ul> * * @param bits the new maximum number of significant bits. * @throws IllegalArgumentException if the given value is zero or negative. */ public final void setBitPerSample(final int bits) { sampleDimension().setBitsPerValue(bits); }