You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
Thank you for creating this wonderful app.
👍
There is one problem I’ve found:
I take a screenshot.
I choose PNG as the format.
I share it with my computer using Bluetooth.
I open it with an image viewer.
The image viewer says that the file is not a valid PNG.
I open the image with a hex editor.
The first letters in the file are: JFIF (indicating the file is actually a JPEG), when the first letters should be: PNG.
I did the same thing but chose WEBP as the format, but the file still started with: JFIF, instead of something like: RIFFr WEBPVP8.
I also redid both of the aforementioned actions, but shared the file using Phone Saver (version 5.2.1), but the same thing happened.
It seems that the file always comes out as a JPEG on the inside, and only the file extension (.jpeg, .png, .webp) changes.
(Note: Most programs (like the web browsers) are coded the silently ignore a disparity between file extension and contents, which might have masked this issue.)
What an insanely good catch! Already found the problematic code section. I am currently wrinting my master's thesis though, so its really hard to find the time.
It may take me some time to squeeze this in. I am however always open to good pull requests :P
Thank you for creating this wonderful app.
👍
There is one problem I’ve found:
JFIF
(indicating the file is actually a JPEG), when the first letters should be:PNG
.I did the same thing but chose WEBP as the format, but the file still started with:
JFIF
, instead of something like:RIFFr WEBPVP8
.I also redid both of the aforementioned actions, but shared the file using Phone Saver (version 5.2.1), but the same thing happened.
It seems that the file always comes out as a JPEG on the inside, and only the file extension (
.jpeg
,.png
,.webp
) changes.(Note: Most programs (like the web browsers) are coded the silently ignore a disparity between file extension and contents, which might have masked this issue.)
I am using F-Droid Screenshot Assistant (version 2.0.1), with Android 9.
If you need more diagnostics information, just ask.
🙂
The text was updated successfully, but these errors were encountered: