Jump to content
You must now use your email address to sign in [click for more info] ×

Gradient Map Adjustment Stops Float Values


Recommended Posts

Hi All, 

Some color ramps that I often use have float values in the stops ranging from 0 to 1... like this one:

Stop 0: 110,145,138
Stop 0.0071: 127,162,157
Stop 0.0286: 144,174,168
Stop 0.0857: 178,190,178
Stop 0.1429: 211,201,179
Stop 0.2857: 212,184,164
Stop 0.4282: 213,192,181
Stop 0.5714: 214,209,206
Stop 0.7143: 222,222,222
Stop 0.8571 238,238,238
Stop 1: 245,246,245

How to insert these values? I only see % values in the gradient map tool. 

image.thumb.png.7fb13a3e7161070a7dcadb495a13da58.png

 

Is this possible? 

Thanks!!! Have a nice day

 

Link to comment
Share on other sites

Maybe I'm missing something here, but can you not simple multiply the floating stop values by 100?  That will map your existing range of 0 to 1 to the full Affinity  percentage range?

For example

Stop 0.0000    0.00%
Stop 0.0071    0.71%
Stop 0.0286    2.86%
Stop 0.0857    8.57%
Stop 0.1429    14.29%
Stop 0.2857    28.57%
Stop 0.4282    42.82%
Stop 0.5714    57.14%
Stop 0.7143    71.43%
Stop 0.8571    85.71%
Stop 1.0000    100.00%

I'd suspect that you want/need to round off your percentage decimals, but I think it should otherwise sort your issue…

—— Gary ——

Photo/Designer/Publisher: Affinity Store, v2.1.1 release

Mac mini (M1, 2020), 16GB/2TB, macOS Ventura 13.4.1(c) • MacBook Pro (Intel), macOS Ventura • Windows 10 via VMware Fusion • iOS: current release

Link to comment
Share on other sites

10 hours ago, GaryLearnTech said:

Maybe I'm missing something here, but can you not simple multiply the floating stop values by 100?  That will map your existing range of 0 to 1 to the full Affinity  percentage range?

For example

Stop 0.0000    0.00%
Stop 0.0071    0.71%
Stop 0.0286    2.86%
Stop 0.0857    8.57%
Stop 0.1429    14.29%
Stop 0.2857    28.57%
Stop 0.4282    42.82%
Stop 0.5714    57.14%
Stop 0.7143    71.43%
Stop 0.8571    85.71%
Stop 1.0000    100.00%

I'd suspect that you want/need to round off your percentage decimals, but I think it should otherwise sort your issue…


Yes, I know that you need to multiply by 100, but if you try to enter a float value such as 0.71 the software will consider it as 1, or 85.71 as 86 and so on. So Gradient tool doesn't support float values in stops, only integers.

image.png.357279b1c755d366535ec628be474fec.png

image.png.d324b952000feab87609e2b804368f39.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.