SVG Images and the aspect ratio check #3124

Open
opened 2023-01-09 10:25:48 +00:00 by tobiasd · 0 comments
Owner

The image aspect ratio check (in the pre-commit hook) seems to have a problem with SVG images. It cannot determine the width and height of the image so that the ratio calculation fails with an devision by zero

The image aspect ratio check (in the [pre-commit hook](https://git.fsfe.org/FSFE/fsfe-website/src/branch/master/tools/githooks/pre-commit#L309)) seems to have a problem with SVG images. It cannot determine the width and height of the image so that the [ratio calculation](https://git.fsfe.org/FSFE/fsfe-website/src/branch/master/tools/githooks/pre-commit#L342) fails with an devision by zero
tobiasd added the
bug
label 2023-01-09 10:25:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FSFE/fsfe-website#3124
No description provided.