Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Expression] add project/ramp_color_object functions #58578

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

troopa81
Copy link
Contributor

@troopa81 troopa81 commented Sep 4, 2024

Those functions contrary to project/ramp_color doesn't return a string representation so there is no RGB conversion involved. This way we can use CMYK colors.

@nyalldawson @nirvn I failed to come up with a better name, and I really do think that we need another set of functions behaving differently that the old ones. Returning an object only on CMYK color seems hazardous.

Funded by Bordeaux Métropôle

@troopa81 troopa81 added Feature Expressions Related to the QGIS expression engine or specific expression functions labels Sep 4, 2024
@github-actions github-actions bot added this to the 3.40.0 milestone Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 6d4bc26)

Which contrary to ramp_color doesn't return a string
representation there is no rgb conversion involved
Which contrary to project_color doesn't return a string
representation there is no rgb conversion involved
@troopa81 troopa81 force-pushed the feat_project_ramp_color_object branch from e94e6bd to 842affb Compare September 5, 2024 07:07
@troopa81 troopa81 force-pushed the feat_project_ramp_color_object branch from 842affb to 6d4bc26 Compare September 5, 2024 12:14
@nyalldawson nyalldawson added the Freeze Exempt Feature Freeze exemption granted label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Freeze Exempt Feature Freeze exemption granted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants