Details
Description
Validate parameters and check that the correct colorspace is active. Currently this isn't done, see here, where a user was able to call a method meant for DeviceGray although the selected colorspace was Separation:
https://mail-archives.apache.org/mod_mbox/pdfbox-users/201504.mbox/%3C551C8867.1000805%40gmail.com%3E