Summary: | Error: /limitcheck in --run-- | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Jason Giglio <gigs> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | michael.vrhel |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
01726CLC317.pdf
patch |
Description
Jason Giglio
2009-12-15 06:49:45 UTC
Created attachment 5775 [details]
01726CLC317.pdf
Created attachment 5777 [details]
patch
Increase the limit on the number of color components to 12.
9 components are required by the sample file, 3 make a small
reserve.
Regression testing shows no differences.
Does the testing test on psd photoshop output driver? IIRC that is the only other format that supports arbitrary colorants and it has a limit of 8, so if this would break anything that is where I'd expect it to happen. The patch has been committed as a rev. 10504. psdcmyk run finishes without errors. All other devices can convert DeviceN color to standard colors using tint transform functions. Regression testing shows no differences. There is a slight performance penalty with 12 vs. 8 since this increases the size of a gx_device_color and the current code creates and array of 256 image clues (gx_image_clue) that includes a device color. This is why we dropped down from 252 (the Adobe CPSI supported count). Note that the image clues have been ripped out of the icc_work branch, so the performance won't occur there. Michael, any comment on this change ? In terms of prepress, most of our files have less than 8 colorants. I think the largest I have seen is 14 or 15. Actually, Gigs (Jason) you had sent Dan Coby a file that had 17 colorants when he was developing the "compressed color encoding" that tiffsep, tiffsep1 and psdcmyk use. I am not sure about how many colorants are permitted in the psd format, but tiffsep and tiffsep1 can handle more than 16. Dan tested with a file that had 250 "patches" on it (back when we had 252 for the MAX components). |