Summary: | Memory issues with spot colors + transparency | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | Color | Assignee: | Michael Vrhel <michael.vrhel> |
Status: | NOTIFIED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 0.00 | ||
Hardware: | Macintosh | ||
OS: | MacOS X | ||
Customer: | 190 | Word Size: | --- |
Attachments: | bug690218.diff |
Description
Marcos H. Woehrmann
2009-01-02 15:58:56 UTC
Created attachment 4673 [details]
files.tar.gz
I don't see this occuring at all. If a CMYK output device is selected, then the blending buffers are CMYK sized (or smaller if the blending space is different) and all the spot colors are mapped using the tint transform. pdf14_put_image is used NOT pdf14_cmykspot_put_image. That is used if a sep type of device is used (or one that understands all the spot colors). Perhaps this issue existed prior to all the changes that I did with respect to transparency. Reopen of this bug. I now understand that if tiffsep is used and /SeparationColorNames and /SeparationOrder are specified we should only allocate the buffers necessary for the spot colors given in SeparationOrder plus the standard colorants. This is currently not done but rather a buffer is allocated based upon the number of spot colors in the document. The tiff sep description in the documentation is clear that /SeparationOrder will specify the number of separations that will be produced. The number of colorants for the PDF14 transparency device should be based upon the number of non standard spot colorant names in this list + the number of standard colorants. Created attachment 5726 [details] bug690218.diff Testing this fix now.... Fixed with commit 10414. Customer reports this is not fixed. Looking into this.... Verified that this problem still exists. The pdf14 device is getting the number of spot colors from p14dev->devn_params.page_spot_colors during the c-list reader phase. This parameter is the number of colorants used in the source document. The value is used to specify the size of transparency buffers regardless of the device's true spot color capabilities as specified with a command like -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black ] /SeparationOrder [ /Cyan /Magenta /Yellow /Black ] >> setpagedevice". I have a fix for this now. Doing some testing to verify no other problems occur. Fixed with rev11330 Fixed with rev11330 Changing customer bugs that have been resolved more than a year ago to closed. |