Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.47k stars 209 forks source link

(Windows) File lock on unsupported filetype #213

Closed savchenko closed 1 year ago

savchenko commented 1 year ago

Describe the bug Caesium locks file for writing.

Software version v2.4.0

Operating System information

To Reproduce Steps to reproduce the behavior:

  1. Drag'n'drop TIFF file into the main window
  2. Observe warning that filetype is not supported
  3. Try to delete the original file

Expected behavior The file remains available for writing.

Screenshots N/A

Application Log

[2023-06-21 00:18:54.424][I] ---- Starting application ----
[2023-06-21 00:18:54.697][I] Starting UI
[2023-06-21 00:18:58.482][W] "C:/Users/user/Desktop/test.tif" is not supported. Error: Image format is not supported.
[2023-06-21 00:24:21.297][I] ---- Closing application ----
Lymphatus commented 1 year ago

Pushed a fix in https://github.com/Lymphatus/caesium-image-compressor/commit/15e18dca8fc160c5784ce36e70e2b68d9b5b3580 Will be available in the next release. Thanks for the feedback.

Lymphatus commented 1 year ago

Fixed in v2.4.1