Unable to change BitDepth of a Document

You need to use constants
Check this topic and the solution

1 Like