[feature] Export PNG / bulk generation
Hello,
In my use of Inkscape, I use the "export png image" feature from the vector drawing to a specific size. However, I systematically use the generation multiple times because I work with standardized sizes. I use it on my website to pick the smallest appropriate image.
I am thinking of evolving the export feature to have predefined sizes and being capable of generating all the images at once. For instance, by selecting a generation profile and a destination folder.
Do you guys think that this feature may be useful for the software?
++
Florent
ps: I haven't yet developed on this software and I'd be happy to have a little bit of coaching for the beginning.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Hi Florent,
what you describe sounds like a very specialized feature, so I'm not sure it would be useful for the wider audience, but I'm sure some users might well be interested.
Maybe you can investigate implementing this as an extension, which should be a lot easier than to do it directly in C++ plus has the added advantage that everybody interested can easily install it and/or modify it as needed.
Who knows - maybe there's already an extension out there - so I'd strongly recommend to do do some searching first. There's nothing more frustrating than to find exactly what you were looking for after being almost through your own implementation. :-D
Cheers, Patrick
Am 21.05.2020 um 12:45 schrieb Florent Mathis:
Hello,
In my use of Inkscape, I use the "export png image" feature from the vector drawing to a specific size. However, I systematically use the generation multiple times because I work with standardized sizes. I use it on my website to pick the smallest appropriate image.
I am thinking of evolving the export feature to have predefined sizes and being capable of generating all the images at once. For instance, by selecting a generation profile and a destination folder.
Do you guys think that this feature may be useful for the software?
++
Florent
ps: I haven't yet developed on this software and I'd be happy to have a little bit of coaching for the beginning.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Inkscape Devel mailing list -- inkscape-devel@lists.inkscape.org To unsubscribe send an email to inkscape-devel-leave@lists.inkscape.org
Hello Patrick,
Alright, I thought that it could be useful for all of the users. I'll keep it to myself then if I ever develop it. And, yes, I'll see if I find such feature in the catalog of extensions of inkscape.
Have a good day,
Florent
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Le lun. 25 mai 2020 à 19:47, Patrick Storz eduard.braun2@gmx.de a écrit :
Hi Florent,
what you describe sounds like a very specialized feature, so I'm not sure it would be useful for the wider audience, but I'm sure some users might well be interested.
Maybe you can investigate implementing this as an extension, which should be a lot easier than to do it directly in C++ plus has the added advantage that everybody interested can easily install it and/or modify it as needed.
Who knows - maybe there's already an extension out there - so I'd strongly recommend to do do some searching first. There's nothing more frustrating than to find exactly what you were looking for after being almost through your own implementation. :-D
Cheers, Patrick Am 21.05.2020 um 12:45 schrieb Florent Mathis:
Hello,
In my use of Inkscape, I use the "export png image" feature from the vector drawing to a specific size. However, I systematically use the generation multiple times because I work with standardized sizes. I use it on my website to pick the smallest appropriate image.
I am thinking of evolving the export feature to have predefined sizes and being capable of generating all the images at once. For instance, by selecting a generation profile and a destination folder.
Do you guys think that this feature may be useful for the software?
++
Florent
ps: I haven't yet developed on this software and I'd be happy to have a little bit of coaching for the beginning.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Inkscape Devel mailing list -- inkscape-devel@lists.inkscape.org To unsubscribe send an email to inkscape-devel-leave@lists.inkscape.org
Hello Florent,
I am not sure which export options you need and if all of them are accessible via the command line. If they are, you could just invoke inkscape for each of the required settings. For example
inkscape --export-png=res200.png --export-dpi=200 test.svg
generates a 200 dpi PNG from test.svg (tested with Inkscape 0.92.3 on Ubuntu).
You can put multiple such lines into a batch file or shell script (even with the filename supplied as a parameter if you like) to generate a set of images with one call to the script.
Cheers, Thomas
On 21.05.2020 12:45, Florent Mathis wrote:
Hello,
In my use of Inkscape, I use the "export png image" feature from the vector drawing to a specific size. However, I systematically use the generation multiple times because I work with standardized sizes. I use it on my website to pick the smallest appropriate image.
I am thinking of evolving the export feature to have predefined sizes and being capable of generating all the images at once. For instance, by selecting a generation profile and a destination folder.
Do you guys think that this feature may be useful for the software?
++
Florent
ps: I haven't yet developed on this software and I'd be happy to have a little bit of coaching for the beginning.
[1] Garanti sans virus. www.avast.com [1]
Links:
[1] https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm...
Inkscape Devel mailing list -- inkscape-devel@lists.inkscape.org To unsubscribe send an email to inkscape-devel-leave@lists.inkscape.org
Hello Thomas,
I understand the command line aspect but I'm looking for a functionality integrated with the UI. Otherwise, it'd take me too much time to configure it every time io doing it manually.
I still keep in mind, though, the possibility to use the command line possibilities of inkscape.
Have a good day,
Florent
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Le mar. 26 mai 2020 à 20:27, wiesi@posteo.net a écrit :
Hello Florent,
I am not sure which export options you need and if all of them are accessible via the command line. If they are, you could just invoke inkscape for each of the required settings. For example
inkscape --export-png=res200.png --export-dpi=200 test.svg
generates a 200 dpi PNG from test.svg (tested with Inkscape 0.92.3 on Ubuntu).
You can put multiple such lines into a batch file or shell script (even with the filename supplied as a parameter if you like) to generate a set of images with one call to the script.
Cheers, Thomas
On 21.05.2020 12:45, Florent Mathis wrote:
Hello,
In my use of Inkscape, I use the "export png image" feature from the vector drawing to a specific size. However, I systematically use the generation multiple times because I work with standardized sizes. I use it on my website to pick the smallest appropriate image.
I am thinking of evolving the export feature to have predefined sizes and being capable of generating all the images at once. For instance, by selecting a generation profile and a destination folder.
Do you guys think that this feature may be useful for the software?
++
Florent
ps: I haven't yet developed on this software and I'd be happy to have a little bit of coaching for the beginning.
[1] Garanti sans virus. www.avast.com [1]
Links:
[1]
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm...
Inkscape Devel mailing list -- inkscape-devel@lists.inkscape.org To unsubscribe send an email to inkscape-devel-leave@lists.inkscape.org
participants (3)
-
Florent Mathis
-
Patrick Storz
-
wiesi@posteo.net