Skip to content

Commit

Permalink
=remove png icons
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWoroschilow committed Jan 29, 2020
1 parent 197bf82 commit b24363e
Show file tree
Hide file tree
Showing 9,560 changed files with 27 additions and 311 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 6 additions & 14 deletions builder.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import os
import gc
import sys
import glob
import optparse
from lxml import etree
from cairosvg import svg2png
from multiprocessing import Pool, TimeoutError
from PyQt5 import QtSvg
from PyQt5 import QtGui
from PyQt5 import QtWidgets
from PyQt5 import QtCore
from multiprocessing import Pool


def render_color(source=None, ignores=[]):
Expand Down Expand Up @@ -94,8 +88,6 @@ def iconify(arguments=None):
parser.add_option("--file", default=None, dest="file", help="file to parse")
(options, args) = parser.parse_args()

application = QtWidgets.QApplication(sys.argv)

pool = Pool(processes=4)

elements = []
Expand All @@ -105,11 +97,11 @@ def iconify(arguments=None):
if os.path.isdir(scalable):
continue

elements.append((scalable, (8, 8)))
elements.append((scalable, (12, 12)))
elements.append((scalable, (16, 16)))
elements.append((scalable, (20, 20)))
elements.append((scalable, (24, 24)))
#elements.append((scalable, (8, 8)))
#elements.append((scalable, (12, 12)))
#elements.append((scalable, (16, 16)))
#elements.append((scalable, (20, 20)))
#elements.append((scalable, (24, 24)))
elements.append((scalable, (32, 32)))
elements.append((scalable, (48, 48)))
elements.append((scalable, (64, 64)))
Expand Down
Loading

0 comments on commit b24363e

Please sign in to comment.