Package com.itextpdf.io.image
Class Jpeg2000ImageData.ColorSpecBox
- All Implemented Interfaces:
-
Serializable,Cloneable,Iterable<Integer>,Collection<Integer>,List<Integer>,RandomAccess
- Enclosing class:
- Jpeg2000ImageData
Represents a JPEG 2000 color specification box.
The first four list values are the method, precedence, approximation, and enumerated color space.
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
ColorSpecBox
public ColorSpecBox()
-
-
Method Details
-
getMeth
public int getMeth()Gets the color-specification method.- Returns:
-
method value stored at index
0
-
getPrec
public int getPrec()Gets the color-specification precedence.- Returns:
-
precedence value stored at index
1
-
getApprox
public int getApprox()Gets the color-specification approximation.- Returns:
-
approximation value stored at index
2
-
getEnumCs
public int getEnumCs()Gets the enumerated color space.- Returns:
-
color-space value stored at index
3
-
getColorProfile
public byte[] getColorProfile()Gets the embedded color profile.- Returns:
-
retained profile bytes, or
null
-