ankidroid / ankidroid/Anki-Android

Improve file size of output from DrawingFragment

未关闭
#20,930 3 条评论 1 个 reaction 已指派 1 人 已被 @criticalAY 认领 在 GitHub 查看
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

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`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。