ankidroid / ankidroid/Anki-Android

Improve file size of output from DrawingFragment

オープン
#20,930 コメント 3 件 リアクション 1 件 担当者 1 名 @criticalAY が担当を希望しています GitHub で見る
主要言語
Kotlin
スター
11.8k
フォーク
2.9k
平均マージ
2日 3時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。