Bug 692497 - Linear color drawing procedure may not need the color model to be separable
Summary: Linear color drawing procedure may not need the color model to be separable
Status: RESOLVED WONTFIX
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Graphics Library (show other bugs)
Version: 9.04
Hardware: PC Windows 7
: P4 enhancement
Assignee: Michael Vrhel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 07:48 UTC by Zoltán
Modified: 2023-05-23 16:29 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltán 2011-09-12 07:48:08 UTC
As long there are encode_color and decode_color driver procedures I cannot see why linear color drawing functions should limit to devices whose color models are linear and separable – especially separable. 

I think default implementations for all such devices would be possible (in the worst case with serious performance penalty) and there are situations when implementing linear driving functions would be even highly desirable despite of the limitation above. 

A typical one would be the situation when the color index itself is a “non-linear and non-separable” POINTER to an otherwise linear and separable color data structure. As Studiorip is exactly the case it would be highly appreciated if this limitation was removed.