Am Samstag, 18. Februar 2017, 14:44:57 CET schrieb Mark Schafer:
One of my most used paint programs (Ulead Photoimpact - now Corel) has an excellent exporter that calculates the file size as you change settings for jpg, png, gif. Its super useful when I am exporting to attach to an email or when I need to know the data transfer overhead for a webpage (say).
It looks like this (in part):
http://i65.tinypic.com/2zqszkj.jpg
This suggests that its not impossible to calculate the size before saving. Of course this tool is way over the top for what is being suggested. A simple slider for jpg quality would suffice.
That seems to be a raster editor. For those creating the PNG/JPEG/... on the fly is cheap. However, Inkscape has to do a lot of calculations to do in the background to create such a raster file which makes it really slow. At least that's my impression, I didn't actually measure the timings. Maybe I should do that so we know what we are talking about ...
On 2/18/2017 6:39 AM, Tobias Ellinghaus wrote:
Am Freitag, 17. Februar 2017, 10:27:32 CET schrieb LucaDC: Guessing the size of the PNG in advance is most likely next to impossible. And given how long a PNG export takes it's not really feasible to do one every time the export dialog is shown just to gather the file size.
Tobias
-- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel