Commit Graph

16 Commits

Author SHA1 Message Date
decodatain
2493555faf Made changes based on ZXY101 code review 2025-06-22 20:16:15 -06:00
decodatain
2fb5d4ae0a Enhance image processing settings in AnkiConnect
- Added height, width, and quality fields to AnkiConnect settings.
- Updated imageToWebp and getCroppedImg functions to accept settings for resizing and quality.
- Integrated settings into Cropper and QuickActions components for improved image handling.

Reason Note:

The recommended settings of 200 and 0.5 make average file sizes of around 5kb. This is about the same filesize as the audio for a given word.

With maximum quality and no file size limit, an image size of 1200x1800 pixels is around 1mb.

This means 1,000 words mined with full sized pictures takes up a 1gb of space on anki.

With the recommended settings, it would take 200,000 words mined to take up a GB of space on anki.

These quality settings can be disabled by settings the max quality to 1 and max width and height to 0. The user is in full control of these changes.
2025-04-26 21:18:55 -06:00
AnonMiraj
6220b6172e Add way to import from other sources 2024-11-13 20:54:10 +02:00
Kenrick
1fdbdf5185 Settings to invert colors of the images
Useful for novels, for reading in dark mode
2024-07-08 23:15:17 +08:00
ZXY101
109241e584 Add default fullscreen setting 2024-05-25 22:30:16 +02:00
ZXY101
bec5e84067 Update edge buttons 2024-03-13 05:05:51 +02:00
ZXY101
39d4e0f072 Update bounds 2024-03-12 10:17:35 +02:00
ZXY101
491c4efab2 More QOL changes 2024-02-11 08:45:21 +02:00
ZXY101
83843ff5dd Various QOL changes 2024-02-11 07:25:41 +02:00
ZXY101
1c92a749be Refactor stats, add derived catalog stores, improve timer 2024-02-05 15:39:22 +02:00
ZXY101
28201f5d88 Add misc settings + misc cleanup 2024-01-13 17:53:21 +02:00
ZXY101
5c652344c2 Add volume settings 2023-10-04 23:24:43 +02:00
ZXY101
310febe53c Handle mobile viewer 2023-10-02 12:05:26 +02:00
ZXY101
9179bc750b Handle profile management 2023-09-28 16:26:21 +02:00
ZXY101
2e9a929b92 Refactor settings to use profiles 2023-09-28 15:14:20 +02:00
ZXY101
cb08e39333 Settings cleanup 2023-09-28 14:13:01 +02:00