ankidroid / ankidroid/Anki-Android

Improve file size of output from DrawingFragment

Đang mở
#20,930 3 bình luận 1 reaction 1 người được giao Được @criticalAY nhận Xem trên GitHub
Ngôn ngữ chính
Kotlin
Star
11.8k
Fork
2.9k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
171

Mô tả

https://www.reddit.com/r/Anki/comments/1t1qpzm/does_drawing_picture_instead_of_adding_the_image/

We save the Whiteboard as JPG with quality 95.

https://github.com/ankidroid/Anki-Android/blob/0498bdfd9ab31706f15c1acc71092b4f1a80b365/AnkiDroid/src/main/java/com/ichi2/anki/DrawingFragment.kt#L83-L99

----

* [x] Create a few images and see the sizes, determine if this is a problem
* Reported sizes of 300KB on reddit - likely an issue
* See below. Ouch
2. Determine the output file we want
* I suspect we should generate a SVG, since the file should be moved to `collection.media`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.