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

Ability to use an element or image as a scratch-able background #60

Open
ExEr7um opened this issue Mar 4, 2024 · 7 comments
Open

Ability to use an element or image as a scratch-able background #60

ExEr7um opened this issue Mar 4, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@ExEr7um
Copy link

ExEr7um commented Mar 4, 2024

I can only use a color as a scratch-able background, but it will provide much more utility if that forward element will be not color, but an actual element that I can customize (or at least an image).

@ExEr7um ExEr7um changed the title Ability to use an element as a scratch-able background Ability to use an element or image as a scratch-able background Mar 4, 2024
@sebastianwachter
Copy link
Owner

For my understanding: do you want to scratch away an image (as in the image is hiding something) or do you want to scratch free an image (as in the image is hidden)?

@ExEr7um
Copy link
Author

ExEr7um commented Mar 12, 2024

For my understanding: do you want to scratch away an image (as in the image is hiding something) or do you want to scratch free an image (as in the image is hidden)?

Scratch away an image, as it is hiding something.

@sebastianwachter
Copy link
Owner

Okay thanks I'll look into it 👀

@sebastianwachter sebastianwachter added the enhancement New feature or request label Mar 12, 2024
@tameroski
Copy link

tameroski commented Mar 28, 2024

I'm very interested in such a feature too 😉

sebastianwachter added a commit that referenced this issue Mar 31, 2024
sebastianwachter added a commit that referenced this issue Mar 31, 2024
@sebastianwachter
Copy link
Owner

Please check version 0.6.0 for this feature and also check the readme 😄

@tameroski
Copy link

tameroski commented Apr 2, 2024

Hi !

Works great, thanks.

The only issue i got is when the scratch-source image has not the exact same size has the content. The scratched percentage then was wrong in the different tests i made (looked like a matter of adding a ratio somewhere to me, but maybe not).

Would be great to have the option to have a smaller/greater scratch-source image to "cover" the scratch zone though. Do you think this is possible ?

@sebastianwachter
Copy link
Owner

Very interesting I'll (once again) look into it ;)

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

No branches or pull requests

3 participants