PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images Package / PDFImage Class / getBitsPerComponent Method
Collapse All Expand All
In This Topic

getBitsPerComponent Method
In This Topic
Gets the bits per component.
Valid values are 1, 2, 4, 8, and (in PDF 1.5) 16.
Syntax

    public int getBitsPerComponent()

#### Return Value

The number of bits used to represent each color component.
See Also

#### Reference

PDFImage Class
PDFImage Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.