On Fri, Aug 29, 2014, at 09:52 AM, A. da Mek wrote:
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.
Yes... but the problem is that in general this ends up with half a
solution which for end users is often worse than no solution. Especially
being a graphics program, our end users tend to have more than the
minimal case expectations. At a minimum we need a preview to show what
the different settings will do.
We've looked into this several times, and unfortunately raw
gdk_pixbuf_save use by itself probably won't make many end users happy.
One of the possible results is that people don't get the quality of JPEG
that they need (too large filesize, too blocky, etc.) and tell people
'Inkscape sucks, don't use it'.
--
Jon A. Cruz
jon@...204...