Bug 50257 - Please add a new operator to add min/max HSL Luminosity
Summary: Please add a new operator to add min/max HSL Luminosity
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.12.2
Hardware: Other All
: medium enhancement
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-22 21:04 UTC by Bug Fly
Modified: 2018-08-25 13:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bug Fly 2012-05-22 21:04:06 UTC
I'd like to see operators in HSL space that force a minimal or maximal luminosity similar to the CAIRO_OPERATOR_DARKEN and CAIRO_OPERATOR_LIGHTEN:

f(cA,cB) = set_lum(cB, max(lum(cA), lum(cA) )
f(cA,cB) = set_lum(cB, min(lum(cA), lum(cA) )


This can be used to provide a more accurate dark background to a rendering than what CAIRO_OPERATOR_DARKEN can provide.
Comment 1 GitLab Migration User 2018-08-25 13:55:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/271.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.