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

[BUG] Auflösungsproblem der Bilder #4

Open
BundesStolz opened this issue Jul 8, 2023 · 1 comment
Open

[BUG] Auflösungsproblem der Bilder #4

BundesStolz opened this issue Jul 8, 2023 · 1 comment

Comments

@BundesStolz
Copy link

[BUG] Auflösungsproblem der Bilder

Dies ist mein TestBild für den Bug (Größe: 1620 px x 1368 px):
exilStolzBeauftragter

Auf meinem Mobilfunkgerät (iPhone 12), wird das Bild verzerrt.
image

Ebenfalls wird es auf meinem Rechner verzerrt.
image

@GERMatti
Copy link
Contributor

The stretching issue is likely due to how the rectangles are drawn on the canvas. In the current implementation, the width and height of each rectangle are determined by dividing the total width and height of the canvas by the number of colors. This can lead to stretching if the aspect ratio of the individual rectangles doesn't match the aspect ratio of the original image.

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