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

Conflict between images with the same name but different extensions #23

Open
1 task done
SoakedTofu opened this issue Jul 15, 2022 · 1 comment
Open
1 task done
Labels
enhancement New feature or request

Comments

@SoakedTofu
Copy link

Bug description

When you try to optimize multiple images to the same output format, images with the same name but a different file extension will conflict with each other.

What happened

I tried optimizing a bunch of images to WebP and a few of them had the the same name, but with a different file extension. In this case, I noticed that only one of the images will get optimized. Ex: test.png and test.jpeg will (silently) conflict, and only the former test.png will get placed in the output folder as test.opti.webp, even though the app shows test.jpeg as completed.

What was expected

Both images should get optimized and be placed in the output folder, with some sort of renaming. Ex: test.opti.webp and test(1).opti.webp

Step to reproduce

  • The bug is always reproducible

Steps to reproduce:

  • Place two images with the same name, but a different extension into the app
  • Select the same output format for all images
  • Optimize
  • Only one image will be placed in the output folder.

System information

Fedora, installed from Flatpak.

Version 1.1.1

@SoakedTofu SoakedTofu added the bug Something isn't working label Jul 15, 2022
@flozz
Copy link
Owner

flozz commented Jul 25, 2022

Hello,

This is not really a bug as the software is working as expected, but you are right, this is a missing feature. I will try to work on this for the next release (I have no date for now).

Thanks for the report :)

@flozz flozz added enhancement New feature or request and removed bug Something isn't working labels Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants