screamingtaco / inkscape_app_icon_generator Goto Github PK
View Code? Open in Web Editor NEWInkscape extension to generate app icon sizes
License: GNU General Public License v3.0
Inkscape extension to generate app icon sizes
License: GNU General Public License v3.0
Hi,
https://gitlab.com/inkscape/inbox/issues/1248
As you can see from the Gitlab issue above, Ubuntu icon themes need SVGs to be exported as SVGs in various sizes. Say I draw on a 24x24 canvas, I will need 16x16, 32x32, 64x64, 128x128, 512x512 etc as the canvas size.
It takes hours to do the resize for a proper icon theme. If we can draw one SVG and then export it to different canvas sizes as SVG, that will be a great thing for Inkscape. Considering you have done a great addon here, will it be possible for you to attend this issue when you have time ?
Thanks.
Got a bunch of depreciation warnings.
app_icon.py:50: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-k', '--ios_icons', action = 'store',
app_icon.py:53: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-i', '--ios_path', action = 'store',
app_icon.py:56: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-m', '--android_mipmap', action = 'store',
app_icon.py:59: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-d', '--android_drawable', action = 'store',
app_icon.py:62: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-a', '--android_path', action = 'store',
app_icon.py:65: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-t', '--android_tvdpi', action = 'store',
app_icon.py:68: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-b', '--android_basepx', action = 'store',
app_icon.py:71: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-x', '--windows_icons', action = 'store',
app_icon.py:74: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-c', '--windows_one_ico_file', action = 'store',
app_icon.py:77: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-w', '--windows_path', action = 'store',
app_icon.py:81: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
self.OptionParser.add_option('-n', '--name', action = 'store',
app_icon.py:295: DeprecationWarning: Effect.affect is now `Effect.run()`. The `output` argument has changed.
effect.affect()
app_icon.py:279: DeprecationWarning: Effect.unittouu is now a method in the svg document. Use `self.svg.unittouu(str)` instead.
width = self.unittouu(svg.get('width'))
app_icon.py:280: DeprecationWarning: Effect.unittouu is now a method in the svg document. Use `self.svg.unittouu(str)` instead.
Errors encountered. Please fix them and try again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.