Closed rtsisyk closed 3 years ago
Yeah, the logic is pretty dumb as you've noticed. :) I'll have to see if the API tells us what the image type is. If not, I guess we can just read the first few bytes of the file and check it against the magic numbers: https://en.wikipedia.org/wiki/List_of_file_signatures
Thanks a lot!
On Mon, 20 Sep 2021, 05:29 Alex Saveau, @.***> wrote:
Closed #992 https://github.com/Triple-T/gradle-play-publisher/issues/992 via 1de6e41 https://github.com/Triple-T/gradle-play-publisher/commit/1de6e419b306c930e321ba8ec3fe917572ed2da7 .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Triple-T/gradle-play-publisher/issues/992#event-5325652151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANXHDVXEB444B4CPDIHGTTUC2L7RANCNFSM5BZMDW4Q .
Describe the bug
A clear and concise description of what the bug is.
How To Reproduce
All JPEG screenshots downloaded as .png.
Versions
Tasks executed
bootstrap
.Expected behavior
JPEG files downloaded with .jpg extension instead of .png.