Skip to content
Discussion options

You must be logged in to vote

I don't fully understand what you are asking to be honest, but I'll answer generally as best I can.

I want to generate a PIL image with any width, height

We don't directly interact with PIL, nor do most color libraries, they normally focus on the color portion, not the image portion, that is what PIL is for. You have to write that code.

I want to generate ... any .. number of stops and stop locations

Sure, you can interpolate with any number of stops and stop locations. I don't know if all libraries make this easy for the user, but ColorAide does.

I want to generate ... direction vector for the angle.

I assume you are talking about the direction of the gradient in the image? If so, …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by facelessuser
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
S: triage Issue needs triage.
2 participants
Converted from issue

This discussion was converted from issue #452 on January 28, 2025 05:29.