ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.42k stars 2.19k forks source link

Regression: all images imported from the gallery are converted to JPEG and compressed #17020

Open BrayanDSO opened 2 weeks ago

BrayanDSO commented 2 weeks ago

Checked for duplicates?

Does it also happen in the desktop version?

What are the steps to reproduce this bug?

Import an image that it's not a JPG

Expected behaviour

They should keep their original formats, but they are converted into JPG

Debug info

AnkiDroid Version = 2.19beta1-debug (015b06fa91b4bdefbe7d7c873823669b7322cb48)

Backend Version = 0.1.40-anki24.06.3 (24.06.3 d678e39350a2d243242a69f4e22f5192b04398f2)

Android Version = 14 (SDK 34)

ProductFlavor = amazon

Manufacturer = Google

Model = sdk_gphone64_x86_64

Hardware = ranchu

Webview User Agent = Mozilla/5.0 (Linux; Android 14; sdk_gphone64_x86_64 Build/UE1A.230829.050; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.136 Mobile Safari/537.36

ACRA UUID = bd9abffd-2b75-4d48-898f-50f11c314329

FSRS Enabled = false

Crash Reports Enabled = false

(Optional) Anything else you want to share?

The "paste as PNG" setting also isn't supported anymore

Research

BrayanDSO commented 2 weeks ago

Cause: #16798