xRyul / obsidian-image-converter

⚡️ Convert and compress images from one format to another by drag'n'dropping or pasting files into the note.
MIT License
111 stars 11 forks source link

Add heuristics to use pngquant / webp lossless for text based images or 2d graphics #54

Open ICHx opened 2 months ago

ICHx commented 2 months ago

While the default webp lossy setting is good for most situations, for documents pngquant or webp lossless would excel in replacing original png file better in preserving details and minimizing artifacts.

ICHx commented 2 months ago

My suggest would be, if the original file is in png, use the proposed new default, else if it is in jpeg, keep the original default.