Removed svgcleaner

This commit is contained in:
alonso.torres 2021-03-24 18:04:34 +01:00 committed by Andrey Antukh
parent c380400578
commit ecff4c5dce
79 changed files with 8 additions and 15953 deletions

View file

@ -20,7 +20,6 @@
[app.common.data :as d]
[app.common.pages :as cp]
[app.common.spec :as us]
["./svgclean" :as svgc]
["xml-js" :as xml]
["child_process" :as chp]
["os" :as os]
@ -115,7 +114,6 @@
(p/then (constantly pbmpath)))))
(p/then trace-color-mask)
(p/then read-file)
(p/then clean-svg)
(p/then (fn [data]
(p/let [data (parse-xml data)
data (get-in data ["elements" 0])]
@ -141,10 +139,6 @@
(-> (p/all (map (partial generate-color-mask ppmpath) colors))
(p/then join-color-layers)))
(clean-svg [data]
(log/trace :fn :clean-svg)
(svgc/optimize data))
(trace-single-node [{:keys [data] :as node}]
(log/trace :fn :trace-single-node)
(p/let [tdpath (create-tmpdir! "svgexport-")

File diff suppressed because one or more lines are too long