Dne 29.8.2014 v 8:21 Jon A. Cruz napsal(a):
However it would probably be quite a bit more than just a few lines of code. To handle JPEG properly, significant interactive GUI work is also needed. A good reference would be to see how GIMP handles this.
Of course the full implementation of all options and metadata would be complex, but what I was thinking about was simply to use the "gdk_pixbuf_save" function, which saves as "jpeg", "png", "ico" and "bmp", and more formats may be installed. It allows to set the "quality" parameter, but even with some fixed value (for example 85) it could be enough for what many users need. So no extra GUI would be added, only in the dialog "Select a filename for exporting", the combo "Save as type" would have more items.