Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Reduce QPixmap quality
sonichy last edited by
I am using https://github.com/ginsweater/gif-h to insert QPixmap to gif.
The GIF size is too big, is there a way to reduce QPixmap quality, but no need to save to jpg.
@sonichy Your problem is not QPixmap as it does not have "quality" - it just contains pixel data. The problem is probably that you don't compress the GIF.
Do you use GifWriteLzwImage to write the GIF file, it should compress it then.
sonichy last edited by sonichy
@jsulm GifWriteLzwImage is already called in the function of GifWriteFrame !