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

[Feature request] create tool to generate Custom paths. #37

Open
sikandernoori opened this issue Aug 10, 2023 · 3 comments
Open

[Feature request] create tool to generate Custom paths. #37

sikandernoori opened this issue Aug 10, 2023 · 3 comments

Comments

@sikandernoori
Copy link
Contributor

Core concept is to generate Path based on Custom shapes, Alphabets, numbers, Tree, logo etc.

Sample:
https://www.mockofun.com/wp-content/uploads/2019/12/crop-pictures-into-shapes.jpg

@ikbendewilliam
Copy link
Collaborator

I think this might be a bit much for this package to create a tool for those type of shapes 😅.

That being said, you might be able to create a similar effect based on a mask 🤔 What you would do is first draw the mask (any image), then draw the to-crop image and use Paint()..blendMode = BlendMode.srcIn which should then only draw where the mask has pixels.
Feel free to experiment with it and create a PR for this 🙂. I don't have much time for this atm, but if there are more poeple that need this I can look at it.

@sikandernoori
Copy link
Contributor Author

Thanks for suggestions, not a requirement ATM, just had this idea, will implement myself in near future.
Than maybe you can add in readme for users.

With drawPath option in plugin it's more flexible to achieve such solution.

@ikbendewilliam
Copy link
Collaborator

If you create a tool for this, I'd be happy to add it to the readme, keep us posted 😁

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