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

Additional features #29

Open
jag2x opened this issue Mar 12, 2024 · 2 comments
Open

Additional features #29

jag2x opened this issue Mar 12, 2024 · 2 comments

Comments

@jag2x
Copy link

jag2x commented Mar 12, 2024

Hi,

Is it possible to have additional features added:

Load PNG images which include transparent backgrounds as the tiles.
The tiles are not specifically preset in the constraint of a set X/Y dimension but are based on the above construct of however the foreground object is in the PNG file. For example a long point leaf (and a transparent background in the PNG), only the leaf is utilized to make the mosaic and the transparent background is not included.
Each PNG like the leaf can be rotated in a 360 degree fashion.

Thanks this is a great project.
Jag

@jag2x
Copy link
Author

jag2x commented Mar 12, 2024

Here is an example.
I would make a block alphabet "W" as my input subject.
Load my PNG tiles of flowers with transparent backgrounds.
Example

I don't expect it to be exactly as the above image, but say just the blue and pink tulip.
Potentially rotating the blue and pink tulip.
Possibly if it can resize it as well? :)

Hopefully it can be achieved.
Thanks
Jag

@hanzhi713
Copy link
Owner

This would be pretty hard. Basically now we need to discard the notion of a grid. Instead, we pack tiles of arbitrary shape together. I cannot even think of a brute force solution to this.

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