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

Incorrect extension if file is not re-compressed #234

Closed
savchenko opened this issue Oct 8, 2023 · 2 comments
Closed

Incorrect extension if file is not re-compressed #234

savchenko opened this issue Oct 8, 2023 · 2 comments
Assignees
Labels

Comments

@savchenko
Copy link

Describe the bug
With the option "Skip if output size is bigger than the original" checked, the resulting file always has an extension selected in the "Format" drop-down menu.

Software version
v2.5.1

Operating System information

  • Windows 10 22H2

To Reproduce
Steps to reproduce the behavior:

  1. Set output file type to JPEG
  2. Try to compress some vector which is obviously smaller in PNG
  3. Observe original PNG being copied with JPEG extension into destination folder

Expected behavior
Keep original extension if file is unchanged.

Screenshots
image

Application Log

[2023-10-08 00:27:38.328][I] ---- Starting application ----
[2023-10-08 00:27:38.329][I] UUID: "xxx-xxx-xxx-xxx-xxx"
[2023-10-08 00:27:38.485][I] Starting UI
[2023-10-08 00:28:17.328][I] Compression ended successfully.
Total images: 31 
Uncompressed size: "14.50 MB" 
Compressed size: "7.66 MB" 
Elapsed time: 1880 ms
@savchenko savchenko added the bug label Oct 8, 2023
EpicGazel added a commit to EpicGazel/caesium-image-compressor that referenced this issue Dec 21, 2023
Lymphatus added a commit that referenced this issue Jan 7, 2024
@V1e2n3k4a5t6e7s8w9a10r11l12u13

This comment was marked as off-topic.

@V1e2n3k4a5t6e7s8w9a10r11l12u13

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants