On Fri, Aug 29, 2014, at 12:45 AM, A. da Mek wrote:
But if someone else will implement exporting in different bittmap formats (it will be most probably only few lines of code, because all the low-level work is handled by the GTK library; the only difficulty would be to find the place where to put them), would it be accepted into the official version?
Yes...
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.
http://docs.gimp.org/en/gimp-images-out.html#file-jpeg-load
Things get especially 'interesting' when you enable the "Show preview in image window" checkbox. The main GIMP window for the image suddenly becomes the live preview that allows the end user to get the correct settings figured out.