Re:Show HN: A Highly Configurable Linux-Based Desktop Notifi...
by Escher21 on Tuesday September 26, 2023 @01:20AM
(#37654773)
The PNG is an art piece hand-drawn by a friend, and I wanted to preserve its quality. What is a suitable size range I should try to downscale the image to?
[ Parent
| on HN ]
Re:Show HN: A Highly Configurable Linux-Based Desktop Notifi...
by esafak on Tuesday September 26, 2023 @03:28AM
(#37655703)
Given its graphic nature I would vectorize it. You can compress it more if you clean it up in PS first.
https://vectorizer.ai/images/1695712791489-52152002c3989318-...
Re:Show HN: A Highly Configurable Linux-Based Desktop Notifi...
by atoav on Tuesday September 26, 2023 @04:29AM
(#37656179)
Just scale it down to 1080px height and save it as a jpeg with 75% quality. Nobody will ever see the difference. Most browser windows will never display that picture bigger anyways (that means you can use computationally more expensive downscaling offline vs realtime downscaling by the browser).
I wouldn't vectorize it, that would have you lose the hand-drawn feel of it.