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

Timestamps are not preserved in PNGs #205

Open
eldelacajita opened this issue Feb 17, 2024 · 5 comments
Open

Timestamps are not preserved in PNGs #205

eldelacajita opened this issue Feb 17, 2024 · 5 comments

Comments

@eldelacajita
Copy link

Hi! I love the fact that Curtail can usually preserve the file attributes like the timestamps. This allows me to optimize images in place while still being able to sort and search them correctly by original date.

However, I just noticed this isn't the case for PNGs. I have the "preserve file attributes if possible" option enabled, but the timestamp of all PNGs gets changed to the current time.

I'm using the Flatpak version of Curtail, v. 1.8.0 on EndeavourOS.

@Huluti Huluti added the bug Something isn't working label Apr 12, 2024
@Huluti
Copy link
Owner

Huluti commented Sep 22, 2024

Hello! Is it still the case with the latest version?

@eldelacajita
Copy link
Author

I have now version 1.10.0 via Flathub (not sure if it's the latest), and the issue is still there.

@Huluti
Copy link
Owner

Huluti commented Oct 13, 2024

Sorry for the answer time. Do you compress lossless or lossy? And do you speak about creation time or modification time?

@Huluti
Copy link
Owner

Huluti commented Oct 13, 2024

It seems to come from the lossy compression of pngquant library: kornelski/pngquant#360

@Huluti Huluti added external-bug and removed bug Something isn't working labels Oct 13, 2024
@eldelacajita
Copy link
Author

Yes, it happens always when using lossy compression, but also sometimes when using lossless compresion. Both creation and modification time get modified.

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

No branches or pull requests

2 participants