Returns the bit depth (8=byte, 16=short, 24=RGB, 32=float).
()
| 641 | |
| 642 | /** Returns the bit depth (8=byte, 16=short, 24=RGB, 32=float). */ |
| 643 | public int getBitDepth() { |
| 644 | if (this.bitDepth==0 && stack!=null && stack.length>0) |
| 645 | setBitDepth(stack[0]); |
| 646 | return this.bitDepth; |
| 647 | } |
| 648 | |
| 649 | /** Sets the bit depth (8=byte, 16=short, 24=RGB, 32=float). */ |
| 650 | public void setBitDepth(int depth) { |
no test coverage detected