Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Inquiry About Image Generation For Two Grayscale Images #2833

Discussion options

I have two grayscale images, and I would like to know if the code in this repository could generate an image similar to the one I provided.
Could you please let me know if this is feasible with the current code? If so, any guidance on how to achieve this would be greatly appreciated.

Screenshot 2024-10-29 at 7 42 07 PM Screenshot 2024-10-29 at 7 42 24 PM
You must be logged in to vote

ImageSharp provides you with the means to create and manipulate image buffers however you would have to implement whatever algorithm you require to create the effect yourself.

Replies: 1 comment · 3 replies

Comment options

I have two grayscale images, and I would like to know if the code in this repository could generate an image similar to the one I provided.

What do you actually mean by this? Do you want grayscale images or do you want algorithms to render a specific pattern or what?

You must be logged in to vote
3 replies
@ffbh123456
Comment options

Hello, thank you for your reply. I would like to generate a grayscale image at runtime. For example, given the texture width, texture height, and circle radius as inputs, the output should be an image featuring a white circle, similar to the one I provided.

@JimBobSquarePants
Comment options

ImageSharp provides you with the means to create and manipulate image buffers however you would have to implement whatever algorithm you require to create the effect yourself.

Answer selected by ffbh123456
@ffbh123456
Comment options

Understood. I'm not sure which algorithm to use for this effect at the moment. If you have any suggestions, I'd appreciate your input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.