Refactor KNotification to use QImage instead of tossing around QPixmaps. This reduces unnessecary serialization. In addition, resize notification thumbnail to 512px.
The GUI might still take too long to update for extremely large images, as resizing is not free. This is still an improvement.
In the future, we could cache these smaller thumbnails, or on Linux, pass the image-path parameter.
Also, disable autoDelete on the notification to prevent use-after-free crashes.
Refactor KNotification to use QImage instead of tossing around QPixmaps. This reduces unnessecary serialization. In addition, resize notification thumbnail to 512px.
The GUI might still take too long to update for extremely large images, as resizing is not free. This is still an improvement.
In the future, we could cache these smaller thumbnails, or on Linux, pass the
image-path
parameter.Also, disable
autoDelete
on the notification to prevent use-after-free crashes.Addresses #22, #17.