Skip to content

Make image extension check case insensitive#5501

Merged
emilk merged 1 commit intoemilk:masterfrom
RyanBluth:support-uppercase-image-ext
Dec 28, 2024
Merged

Make image extension check case insensitive#5501
emilk merged 1 commit intoemilk:masterfrom
RyanBluth:support-uppercase-image-ext

Conversation

@RyanBluth
Copy link
Contributor

  • Images with capitalized extensions do not load because the list of extensions they are checked against is lowercase. The image extension is now converted to lowercase before comparing
  • [x ] I have followed the instructions in the PR template

@github-actions
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5501-support-uppercase-image-ext
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@RyanBluth RyanBluth force-pushed the support-uppercase-image-ext branch from c1ffa34 to af9ff5a Compare December 28, 2024 13:39
@emilk emilk merged commit 8131b7b into emilk:master Dec 28, 2024
@lucasmerlin lucasmerlin changed the title Make image extension lowercase before checking if it is supported Make image extension check case insensitive Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants