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

image pattern fill question #1297

Closed
refactor73 opened this issue Feb 6, 2024 · 1 comment
Closed

image pattern fill question #1297

refactor73 opened this issue Feb 6, 2024 · 1 comment

Comments

@refactor73
Copy link

Hi!

I have more or less a question, instead of a feature request:

following scenario:

i have two images.
one image is an image pattern (like a metallic surface - something complex, so nothing you can simply define with an color code).
the second picture is a rectangle with an hole in the middle. the hole is transparent.
both images have the same size.
now i want to place (or better fill) image 1 over image 2 without covering the hole. the pattern should only apply on non-transparent parts of image 2. is this even possible?

thank you very much!

@olivervogel
Copy link
Member

I know what you have in mind. Unfortunately, it is currently not possible to fill with an image as a texture. I have already worked on this feature, but have encountered problems that need to be solved first.

I would recommend using the Imagick library directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants