Update webapp
@@ -1,118 +0,0 @@
|
|||||||
# This file is autogenerated by maturin v1.2.3
|
|
||||||
# To update, run
|
|
||||||
#
|
|
||||||
# maturin generate-ci github
|
|
||||||
#
|
|
||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
linux:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: '3.10'
|
|
||||||
- name: Build wheels
|
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
with:
|
|
||||||
target: ${{ matrix.target }}
|
|
||||||
args: -m cmdapp/Cargo.toml --release --out dist --find-interpreter
|
|
||||||
sccache: 'true'
|
|
||||||
manylinux: auto
|
|
||||||
- name: Upload wheels
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: wheels
|
|
||||||
path: dist
|
|
||||||
|
|
||||||
windows:
|
|
||||||
runs-on: windows-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
target: [x64, x86]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: '3.10'
|
|
||||||
architecture: ${{ matrix.target }}
|
|
||||||
- name: Build wheels
|
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
with:
|
|
||||||
target: ${{ matrix.target }}
|
|
||||||
args: -m cmdapp/Cargo.toml --release --out dist --find-interpreter
|
|
||||||
sccache: 'true'
|
|
||||||
- name: Upload wheels
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: wheels
|
|
||||||
path: dist
|
|
||||||
|
|
||||||
macos:
|
|
||||||
runs-on: macos-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
target: [x86_64, aarch64]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: '3.10'
|
|
||||||
- name: Build wheels
|
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
with:
|
|
||||||
target: ${{ matrix.target }}
|
|
||||||
args: -m cmdapp/Cargo.toml --release --out dist --find-interpreter
|
|
||||||
sccache: 'true'
|
|
||||||
- name: Upload wheels
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: wheels
|
|
||||||
path: dist
|
|
||||||
|
|
||||||
sdist:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Build sdist
|
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
with:
|
|
||||||
command: sdist
|
|
||||||
args: -m cmdapp/Cargo.toml --out dist
|
|
||||||
- name: Upload sdist
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: wheels
|
|
||||||
path: dist
|
|
||||||
|
|
||||||
release:
|
|
||||||
name: Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: "startsWith(github.ref, 'refs/tags/')"
|
|
||||||
needs: [linux, windows, macos, sdist]
|
|
||||||
steps:
|
|
||||||
- uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: wheels
|
|
||||||
- name: Publish to PyPI
|
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
env:
|
|
||||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
||||||
with:
|
|
||||||
command: upload
|
|
||||||
args: --non-interactive --skip-existing *
|
|
||||||
manylinux: auto
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
name: Rust
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --verbose
|
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --verbose
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
target
|
|
||||||
Cargo.lock
|
|
||||||
*.sublime*
|
|
||||||
.vscode
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# Changelog
|
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
||||||
|
|
||||||
## 0.6.0 - 2023-09-16
|
|
||||||
|
|
||||||
* Python Binding
|
|
||||||
|
|
||||||
## 0.5.0 - 2022-10-09
|
|
||||||
|
|
||||||
* Handle transparent png images (cli) (#23)
|
|
||||||
|
|
||||||
## 0.4.0 - 2021-07-23
|
|
||||||
|
|
||||||
* SVG path string numeric precision
|
|
||||||
|
|
||||||
## 0.3.0 - 2021-01-24
|
|
||||||
|
|
||||||
* Added cutout mode
|
|
||||||
|
|
||||||
## 0.2.0 - 2020-11-15
|
|
||||||
|
|
||||||
* Use relative & closed paths
|
|
||||||
|
|
||||||
## 0.1.0 - 2020-10-31
|
|
||||||
|
|
||||||
* Initial release
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
Copyright (c) 2026 Seafire Software Limited. All rights reserved.
|
||||||
|
|
||||||
|
This application, including its source code, assets, build configuration,
|
||||||
|
documentation, and distributed binaries, is proprietary software.
|
||||||
|
|
||||||
|
No license is granted to copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
sell, host, or otherwise make this application available to any third party,
|
||||||
|
except with prior written permission from the copyright holder.
|
||||||
|
|
||||||
|
This repository is not open source. Possession of a copy of this repository or
|
||||||
|
application does not grant any redistribution rights.
|
||||||
|
|
||||||
|
Third-party dependencies remain governed by their own license terms.
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
[workspace]
|
|
||||||
|
|
||||||
members = [
|
|
||||||
"cmdapp",
|
|
||||||
"webapp",
|
|
||||||
]
|
|
||||||
resolver = "2"
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
Copyright (c) 2022 Tsang Hao Fung
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any
|
|
||||||
person obtaining a copy of this software and associated
|
|
||||||
documentation files (the "Software"), to deal in the
|
|
||||||
Software without restriction, including without
|
|
||||||
limitation the rights to use, copy, modify, merge,
|
|
||||||
publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software
|
|
||||||
is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice
|
|
||||||
shall be included in all copies or substantial portions
|
|
||||||
of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
||||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
||||||
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
||||||
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
||||||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
DEALINGS IN THE SOFTWARE.
|
|
||||||
@@ -1,108 +0,0 @@
|
|||||||
<div align="center">
|
|
||||||
|
|
||||||
<img src="docs/images/visioncortex-banner.png">
|
|
||||||
<h1>VTracer</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<strong>Raster to Vector Graphics Converter built on top of visioncortex</strong>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3>
|
|
||||||
<a href="//www.visioncortex.org/vtracer-docs">Article</a>
|
|
||||||
<span> | </span>
|
|
||||||
<a href="//www.visioncortex.org/vtracer/">Demo</a>
|
|
||||||
<span> | </span>
|
|
||||||
<a href="//github.com/visioncortex/vtracer/releases/latest">Download</a>
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
<sub>Built with 🦀 by <a href="//www.visioncortex.org/">The Vision Cortex Research Group</a></sub>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## Introduction
|
|
||||||
|
|
||||||
visioncortex VTracer is an open source software to convert raster images (like jpg & png) into vector graphics (svg). It can vectorize graphics and photographs and trace the curves to output compact vector files.
|
|
||||||
|
|
||||||
Comparing to [Potrace](http://potrace.sourceforge.net/) which only accept binarized inputs (Black & White pixmap), VTracer has an image processing pipeline which can handle colored high resolution scans.
|
|
||||||
|
|
||||||
Comparing to Adobe Illustrator's [Image Trace](https://helpx.adobe.com/illustrator/using/image-trace.html), VTracer's output is much more compact (less shapes) as we adopt a stacking strategy and avoid producing shapes with holes.
|
|
||||||
|
|
||||||
VTracer is originally designed for processing high resolution scans of historic blueprints up to gigapixels. At the same time, VTracer can also handle low resolution pixel art, simulating `image-rendering: pixelated` for retro game artworks.
|
|
||||||
|
|
||||||
A technical description of the algorithm is on [visioncortex.org/vtracer-docs](//www.visioncortex.org/vtracer-docs).
|
|
||||||
|
|
||||||
## Web App
|
|
||||||
|
|
||||||
VTracer and its [core library](//github.com/visioncortex/visioncortex) is implemented in [Rust](//www.rust-lang.org/). It provides us a solid foundation to develop robust and efficient algorithms and easily bring it to interactive applications. The webapp is a perfect showcase of the capability of the Rust + wasm platform.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## Cmd App
|
|
||||||
|
|
||||||
```sh
|
|
||||||
visioncortex VTracer 0.4.0
|
|
||||||
A cmd app to convert images into vector graphics.
|
|
||||||
|
|
||||||
USAGE:
|
|
||||||
vtracer [OPTIONS] --input <input> --output <output>
|
|
||||||
|
|
||||||
FLAGS:
|
|
||||||
-h, --help Prints help information
|
|
||||||
-V, --version Prints version information
|
|
||||||
|
|
||||||
OPTIONS:
|
|
||||||
--colormode <color_mode> True color image `color` (default) or Binary image `bw`
|
|
||||||
-p, --color_precision <color_precision> Number of significant bits to use in an RGB channel
|
|
||||||
-c, --corner_threshold <corner_threshold> Minimum momentary angle (degree) to be considered a corner
|
|
||||||
-f, --filter_speckle <filter_speckle> Discard patches smaller than X px in size
|
|
||||||
-g, --gradient_step <gradient_step> Color difference between gradient layers
|
|
||||||
--hierarchical <hierarchical>
|
|
||||||
Hierarchical clustering `stacked` (default) or non-stacked `cutout`. Only applies to color mode.
|
|
||||||
|
|
||||||
-i, --input <input> Path to input raster image
|
|
||||||
-m, --mode <mode> Curver fitting mode `pixel`, `polygon`, `spline`
|
|
||||||
-o, --output <output> Path to output vector graphics
|
|
||||||
--path_precision <path_precision> Number of decimal places to use in path string
|
|
||||||
--preset <preset> Use one of the preset configs `bw`, `poster`, `photo`
|
|
||||||
-l, --segment_length <segment_length>
|
|
||||||
Perform iterative subdivide smooth until all segments are shorter than this length
|
|
||||||
|
|
||||||
-s, --splice_threshold <splice_threshold> Minimum angle displacement (degree) to splice a spline
|
|
||||||
```
|
|
||||||
|
|
||||||
### Usage
|
|
||||||
```
|
|
||||||
./vtracer --input input.jpg --output output.svg
|
|
||||||
```
|
|
||||||
|
|
||||||
## Library
|
|
||||||
|
|
||||||
The library can be found on [crates.io/vtracer](//crates.io/crates/vtracer) and [crates.io/vtracer-webapp](//crates.io/crates/vtracer-webapp).
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
Download pre-built binaries from [Releases](https://github.com/visioncortex/vtracer/releases).
|
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
Install from source (Rust toolchain needed):
|
|
||||||
|
|
||||||
```
|
|
||||||
cargo install vtracer
|
|
||||||
```
|
|
||||||
|
|
||||||
## In the wild
|
|
||||||
|
|
||||||
VTracer is used by the following products (feel free to add yours to the list):
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://logo.aliyun.com/logo#/name"><img src="docs/images/aliyun-logo.png" width="250"/></a>
|
|
||||||
<br>Smart logo design
|
|
||||||
</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# Version 0.6.0 (2023-09-08)
|
|
||||||
|
|
||||||
- Python bindings
|
|
||||||
|
|
||||||
# Version 0.5.0 (2022-10-09)
|
|
||||||
|
|
||||||
- Handle transparent png images
|
|
||||||
|
|
||||||
# Version 0.4.0 (2021-07-23)
|
|
||||||
|
|
||||||
- SVG path string numeric precision
|
|
||||||
|
|
||||||
# Version 0.3.0 (2021-01-24)
|
|
||||||
|
|
||||||
- Added cutout mode
|
|
||||||
|
|
||||||
# Version 0.2.0 (2020-11-15)
|
|
||||||
|
|
||||||
- Use relative & closed paths
|
|
||||||
|
|
||||||
# Version 0.1.1 (2020-11-01)
|
|
||||||
|
|
||||||
- SVG namespace
|
|
||||||
|
|
||||||
# Version 0.1.0 (2020-10-31)
|
|
||||||
|
|
||||||
- Initial release
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
*.svg
|
|
||||||
*.png
|
|
||||||
*.jpg
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "vtracer"
|
|
||||||
version = "0.6.0"
|
|
||||||
authors = ["Chris Tsang <chris.2y3@outlook.com>"]
|
|
||||||
edition = "2021"
|
|
||||||
description = "A cmd app to convert images into vector graphics."
|
|
||||||
license = "MIT OR Apache-2.0"
|
|
||||||
homepage = "http://www.visioncortex.org/vtracer"
|
|
||||||
repository = "https://github.com/visioncortex/vtracer/"
|
|
||||||
categories = ["graphics"]
|
|
||||||
keywords = ["svg", "computer-graphics"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
clap = "2.33.3"
|
|
||||||
image = "0.23.10"
|
|
||||||
visioncortex = { version = "0.8.0" }
|
|
||||||
fastrand = "1.8"
|
|
||||||
pyo3 = { version = "0.19.0", optional = true }
|
|
||||||
|
|
||||||
[features]
|
|
||||||
python-binding = ["pyo3"]
|
|
||||||
@@ -1,201 +0,0 @@
|
|||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
Copyright (c) 2022 Tsang Hao Fung
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any
|
|
||||||
person obtaining a copy of this software and associated
|
|
||||||
documentation files (the "Software"), to deal in the
|
|
||||||
Software without restriction, including without
|
|
||||||
limitation the rights to use, copy, modify, merge,
|
|
||||||
publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software
|
|
||||||
is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice
|
|
||||||
shall be included in all copies or substantial portions
|
|
||||||
of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
||||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
||||||
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
||||||
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
||||||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
DEALINGS IN THE SOFTWARE.
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
[project]
|
|
||||||
name = "vtracer"
|
|
||||||
version = "0.6.0"
|
|
||||||
description = "Python bindings for the Rust Vtracer raster-to-vector library"
|
|
||||||
authors = [ { name = "Chris Tsang", email = "chris.2y3@outlook.com" } ]
|
|
||||||
readme = "vtracer/README.md"
|
|
||||||
requires-python = ">=3.7"
|
|
||||||
license = "MIT"
|
|
||||||
classifiers = [
|
|
||||||
"Programming Language :: Rust",
|
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
|
||||||
]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
python = "^3.7"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
maturin = "^1.2"
|
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["maturin>=1.2,<2.0"]
|
|
||||||
build-backend = "maturin"
|
|
||||||
|
|
||||||
[tool.maturin]
|
|
||||||
features = ["pyo3/extension-module"]
|
|
||||||
compatibility = "manylinux2014"
|
|
||||||
sdist-include = ["LICENSE-MIT", "vtracer/README.md"]
|
|
||||||
@@ -1,397 +0,0 @@
|
|||||||
use std::str::FromStr;
|
|
||||||
use std::path::PathBuf;
|
|
||||||
use clap::{Arg, App};
|
|
||||||
use visioncortex::PathSimplifyMode;
|
|
||||||
|
|
||||||
pub enum Preset {
|
|
||||||
Bw,
|
|
||||||
Poster,
|
|
||||||
Photo
|
|
||||||
}
|
|
||||||
|
|
||||||
pub enum ColorMode {
|
|
||||||
Color,
|
|
||||||
Binary,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub enum Hierarchical {
|
|
||||||
Stacked,
|
|
||||||
Cutout,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Converter config
|
|
||||||
pub struct Config {
|
|
||||||
pub input_path: PathBuf,
|
|
||||||
pub output_path: PathBuf,
|
|
||||||
pub color_mode: ColorMode,
|
|
||||||
pub hierarchical: Hierarchical,
|
|
||||||
pub filter_speckle: usize,
|
|
||||||
pub color_precision: i32,
|
|
||||||
pub layer_difference: i32,
|
|
||||||
pub mode: PathSimplifyMode,
|
|
||||||
pub corner_threshold: i32,
|
|
||||||
pub length_threshold: f64,
|
|
||||||
pub max_iterations: usize,
|
|
||||||
pub splice_threshold: i32,
|
|
||||||
pub path_precision: Option<u32>,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub(crate) struct ConverterConfig {
|
|
||||||
pub input_path: PathBuf,
|
|
||||||
pub output_path: PathBuf,
|
|
||||||
pub color_mode: ColorMode,
|
|
||||||
pub hierarchical: Hierarchical,
|
|
||||||
pub filter_speckle_area: usize,
|
|
||||||
pub color_precision_loss: i32,
|
|
||||||
pub layer_difference: i32,
|
|
||||||
pub mode: PathSimplifyMode,
|
|
||||||
pub corner_threshold: f64,
|
|
||||||
pub length_threshold: f64,
|
|
||||||
pub max_iterations: usize,
|
|
||||||
pub splice_threshold: f64,
|
|
||||||
pub path_precision: Option<u32>,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Default for Config {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self {
|
|
||||||
input_path: PathBuf::default(),
|
|
||||||
output_path: PathBuf::default(),
|
|
||||||
color_mode: ColorMode::Color,
|
|
||||||
hierarchical: Hierarchical::Stacked,
|
|
||||||
mode: PathSimplifyMode::Spline,
|
|
||||||
filter_speckle: 4,
|
|
||||||
color_precision: 6,
|
|
||||||
layer_difference: 16,
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4.0,
|
|
||||||
splice_threshold: 45,
|
|
||||||
max_iterations: 10,
|
|
||||||
path_precision: Some(8),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl FromStr for ColorMode {
|
|
||||||
type Err = String;
|
|
||||||
|
|
||||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
|
||||||
match s {
|
|
||||||
"color" => Ok(Self::Color),
|
|
||||||
"binary" => Ok(Self::Binary),
|
|
||||||
_ => Err(format!("unknown ColorMode {}", s)),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl FromStr for Hierarchical {
|
|
||||||
type Err = String;
|
|
||||||
|
|
||||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
|
||||||
match s {
|
|
||||||
"stacked" => Ok(Self::Stacked),
|
|
||||||
"cutout" => Ok(Self::Cutout),
|
|
||||||
_ => Err(format!("unknown Hierarchical {}", s)),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl FromStr for Preset {
|
|
||||||
type Err = String;
|
|
||||||
|
|
||||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
|
||||||
match s {
|
|
||||||
"bw" => Ok(Self::Bw),
|
|
||||||
"poster" => Ok(Self::Poster),
|
|
||||||
"photo" => Ok(Self::Photo),
|
|
||||||
_ => Err(format!("unknown Preset {}", s)),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn path_simplify_mode_from_str(s: &str) -> PathSimplifyMode {
|
|
||||||
match s {
|
|
||||||
"polygon" => PathSimplifyMode::Polygon,
|
|
||||||
"spline" => PathSimplifyMode::Spline,
|
|
||||||
"none" => PathSimplifyMode::None,
|
|
||||||
_ => panic!("unknown PathSimplifyMode {}", s),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Config {
|
|
||||||
pub fn from_args() -> Self {
|
|
||||||
let app = App::new("visioncortex VTracer ".to_owned() + env!("CARGO_PKG_VERSION"))
|
|
||||||
.about("A cmd app to convert images into vector graphics.");
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("input")
|
|
||||||
.long("input")
|
|
||||||
.short("i")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Path to input raster image")
|
|
||||||
.required(true));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("output")
|
|
||||||
.long("output")
|
|
||||||
.short("o")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Path to output vector graphics")
|
|
||||||
.required(true));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("color_mode")
|
|
||||||
.long("colormode")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("True color image `color` (default) or Binary image `bw`"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("hierarchical")
|
|
||||||
.long("hierarchical")
|
|
||||||
.takes_value(true)
|
|
||||||
.help(
|
|
||||||
"Hierarchical clustering `stacked` (default) or non-stacked `cutout`. \
|
|
||||||
Only applies to color mode. "
|
|
||||||
));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("preset")
|
|
||||||
.long("preset")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Use one of the preset configs `bw`, `poster`, `photo`"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("filter_speckle")
|
|
||||||
.long("filter_speckle")
|
|
||||||
.short("f")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Discard patches smaller than X px in size"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("color_precision")
|
|
||||||
.long("color_precision")
|
|
||||||
.short("p")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Number of significant bits to use in an RGB channel"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("gradient_step")
|
|
||||||
.long("gradient_step")
|
|
||||||
.short("g")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Color difference between gradient layers"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("corner_threshold")
|
|
||||||
.long("corner_threshold")
|
|
||||||
.short("c")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Minimum momentary angle (degree) to be considered a corner"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("segment_length")
|
|
||||||
.long("segment_length")
|
|
||||||
.short("l")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Perform iterative subdivide smooth until all segments are shorter than this length"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("splice_threshold")
|
|
||||||
.long("splice_threshold")
|
|
||||||
.short("s")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Minimum angle displacement (degree) to splice a spline"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("mode")
|
|
||||||
.long("mode")
|
|
||||||
.short("m")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Curver fitting mode `pixel`, `polygon`, `spline`"));
|
|
||||||
|
|
||||||
let app = app.arg(Arg::with_name("path_precision")
|
|
||||||
.long("path_precision")
|
|
||||||
.takes_value(true)
|
|
||||||
.help("Number of decimal places to use in path string"));
|
|
||||||
|
|
||||||
// Extract matches
|
|
||||||
let matches = app.get_matches();
|
|
||||||
|
|
||||||
let mut config = Config::default();
|
|
||||||
let input_path = matches.value_of("input").expect("Input path is required, please specify it by --input or -i.");
|
|
||||||
let output_path = matches.value_of("output").expect("Output path is required, please specify it by --output or -o.");
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("preset") {
|
|
||||||
config = Self::from_preset(Preset::from_str(value).unwrap(), input_path, output_path);
|
|
||||||
}
|
|
||||||
|
|
||||||
config.input_path = PathBuf::from(input_path);
|
|
||||||
config.output_path = PathBuf::from(output_path);
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("color_mode") {
|
|
||||||
config.color_mode = ColorMode::from_str(if value.trim() == "bw" || value.trim() == "BW" {"binary"} else {"color"}).unwrap()
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("hierarchical") {
|
|
||||||
config.hierarchical = Hierarchical::from_str(value).unwrap()
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("mode") {
|
|
||||||
let value = value.trim();
|
|
||||||
config.mode = path_simplify_mode_from_str(if value == "pixel" {
|
|
||||||
"none"
|
|
||||||
} else if value == "polygon" {
|
|
||||||
"polygon"
|
|
||||||
} else if value == "spline" {
|
|
||||||
"spline"
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Curve fitting mode is invalid: {}", value);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("filter_speckle") {
|
|
||||||
if value.trim().parse::<usize>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<usize>().unwrap();
|
|
||||||
if value > 16 {
|
|
||||||
panic!("Out of Range Error: Filter speckle is invalid at {}. It must be within [0,16].", value);
|
|
||||||
}
|
|
||||||
config.filter_speckle = value;
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Filter speckle is not a positive integer: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("color_precision") {
|
|
||||||
if value.trim().parse::<i32>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<i32>().unwrap();
|
|
||||||
if value < 1 || value > 8 {
|
|
||||||
panic!("Out of Range Error: Color precision is invalid at {}. It must be within [1,8].", value);
|
|
||||||
}
|
|
||||||
config.color_precision = value;
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Color precision is not an integer: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("gradient_step") {
|
|
||||||
if value.trim().parse::<i32>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<i32>().unwrap();
|
|
||||||
if value < 0 || value > 255 {
|
|
||||||
panic!("Out of Range Error: Gradient step is invalid at {}. It must be within [0,255].", value);
|
|
||||||
}
|
|
||||||
config.layer_difference = value;
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Gradient step is not an integer: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("corner_threshold") {
|
|
||||||
if value.trim().parse::<i32>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<i32>().unwrap();
|
|
||||||
if value < 0 || value > 180 {
|
|
||||||
panic!("Out of Range Error: Corner threshold is invalid at {}. It must be within [0,180].", value);
|
|
||||||
}
|
|
||||||
config.corner_threshold = value
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Corner threshold is not numeric: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("segment_length") {
|
|
||||||
if value.trim().parse::<f64>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<f64>().unwrap();
|
|
||||||
if value < 3.5 || value > 10.0 {
|
|
||||||
panic!("Out of Range Error: Segment length is invalid at {}. It must be within [3.5,10].", value);
|
|
||||||
}
|
|
||||||
config.length_threshold = value;
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Segment length is not numeric: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("splice_threshold") {
|
|
||||||
if value.trim().parse::<i32>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<i32>().unwrap();
|
|
||||||
if value < 0 || value > 180 {
|
|
||||||
panic!("Out of Range Error: Segment length is invalid at {}. It must be within [0,180].", value);
|
|
||||||
}
|
|
||||||
config.splice_threshold = value;
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Segment length is not numeric: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(value) = matches.value_of("path_precision") {
|
|
||||||
if value.trim().parse::<u32>().is_ok() { // is numeric
|
|
||||||
let value = value.trim().parse::<u32>().ok();
|
|
||||||
config.path_precision = value;
|
|
||||||
} else {
|
|
||||||
panic!("Parser Error: Path precision is not an unsigned integer: {}.", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
config
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn from_preset(preset: Preset, input_path: &str, output_path: &str) -> Self {
|
|
||||||
let input_path = PathBuf::from(input_path);
|
|
||||||
let output_path = PathBuf::from(output_path);
|
|
||||||
match preset {
|
|
||||||
Preset::Bw => Self {
|
|
||||||
input_path,
|
|
||||||
output_path,
|
|
||||||
color_mode: ColorMode::Binary,
|
|
||||||
hierarchical: Hierarchical::Stacked,
|
|
||||||
filter_speckle: 4,
|
|
||||||
color_precision: 6,
|
|
||||||
layer_difference: 16,
|
|
||||||
mode: PathSimplifyMode::Spline,
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4.0,
|
|
||||||
max_iterations: 10,
|
|
||||||
splice_threshold: 45,
|
|
||||||
path_precision: Some(8),
|
|
||||||
},
|
|
||||||
Preset::Poster => Self {
|
|
||||||
input_path,
|
|
||||||
output_path,
|
|
||||||
color_mode: ColorMode::Color,
|
|
||||||
hierarchical: Hierarchical::Stacked,
|
|
||||||
filter_speckle: 4,
|
|
||||||
color_precision: 8,
|
|
||||||
layer_difference: 16,
|
|
||||||
mode: PathSimplifyMode::Spline,
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4.0,
|
|
||||||
max_iterations: 10,
|
|
||||||
splice_threshold: 45,
|
|
||||||
path_precision: Some(8),
|
|
||||||
},
|
|
||||||
Preset::Photo => Self {
|
|
||||||
input_path,
|
|
||||||
output_path,
|
|
||||||
color_mode: ColorMode::Color,
|
|
||||||
hierarchical: Hierarchical::Stacked,
|
|
||||||
filter_speckle: 10,
|
|
||||||
color_precision: 8,
|
|
||||||
layer_difference: 48,
|
|
||||||
mode: PathSimplifyMode::Spline,
|
|
||||||
corner_threshold: 180,
|
|
||||||
length_threshold: 4.0,
|
|
||||||
max_iterations: 10,
|
|
||||||
splice_threshold: 45,
|
|
||||||
path_precision: Some(8),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub(crate) fn into_converter_config(self) -> ConverterConfig {
|
|
||||||
ConverterConfig {
|
|
||||||
input_path: self.input_path,
|
|
||||||
output_path: self.output_path,
|
|
||||||
color_mode: self.color_mode,
|
|
||||||
hierarchical: self.hierarchical,
|
|
||||||
filter_speckle_area: self.filter_speckle * self.filter_speckle,
|
|
||||||
color_precision_loss: 8 - self.color_precision,
|
|
||||||
layer_difference: self.layer_difference,
|
|
||||||
mode: self.mode,
|
|
||||||
corner_threshold: deg2rad(self.corner_threshold),
|
|
||||||
length_threshold: self.length_threshold,
|
|
||||||
max_iterations: self.max_iterations,
|
|
||||||
splice_threshold: deg2rad(self.splice_threshold),
|
|
||||||
path_precision: self.path_precision,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn deg2rad(deg: i32) -> f64 {
|
|
||||||
deg as f64 / 180.0 * std::f64::consts::PI
|
|
||||||
}
|
|
||||||
@@ -1,228 +0,0 @@
|
|||||||
use std::path::PathBuf;
|
|
||||||
use std::{fs::File, io::Write};
|
|
||||||
|
|
||||||
use fastrand::Rng;
|
|
||||||
use visioncortex::{Color, ColorImage, ColorName};
|
|
||||||
use visioncortex::color_clusters::{Runner, RunnerConfig, KeyingAction, HIERARCHICAL_MAX};
|
|
||||||
use super::config::{Config, ColorMode, Hierarchical, ConverterConfig};
|
|
||||||
use super::svg::SvgFile;
|
|
||||||
|
|
||||||
const NUM_UNUSED_COLOR_ITERATIONS: usize = 6;
|
|
||||||
/// The fraction of pixels in the top/bottom rows of the image that need to be transparent before
|
|
||||||
/// the entire image will be keyed.
|
|
||||||
const KEYING_THRESHOLD: f32 = 0.2;
|
|
||||||
|
|
||||||
/// Convert an image file into svg file
|
|
||||||
pub fn convert_image_to_svg(config: Config) -> Result<(), String> {
|
|
||||||
let config = config.into_converter_config();
|
|
||||||
match config.color_mode {
|
|
||||||
ColorMode::Color => color_image_to_svg(config),
|
|
||||||
ColorMode::Binary => binary_image_to_svg(config),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn color_exists_in_image(img: &ColorImage, color: Color) -> bool {
|
|
||||||
for y in 0..img.height {
|
|
||||||
for x in 0..img.width {
|
|
||||||
let pixel_color = img.get_pixel(x, y);
|
|
||||||
if pixel_color.r == color.r && pixel_color.g == color.g && pixel_color.b == color.b {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
false
|
|
||||||
}
|
|
||||||
|
|
||||||
fn find_unused_color_in_image(img: &ColorImage) -> Result<Color, String> {
|
|
||||||
let special_colors = IntoIterator::into_iter([
|
|
||||||
Color::new(255, 0, 0),
|
|
||||||
Color::new(0, 255, 0),
|
|
||||||
Color::new(0, 0, 255),
|
|
||||||
Color::new(255, 255, 0),
|
|
||||||
Color::new(0, 255, 255),
|
|
||||||
Color::new(255, 0, 255),
|
|
||||||
]);
|
|
||||||
let rng = Rng::new();
|
|
||||||
let random_colors = (0..NUM_UNUSED_COLOR_ITERATIONS).map(|_| {
|
|
||||||
Color::new(
|
|
||||||
rng.u8(..),
|
|
||||||
rng.u8(..),
|
|
||||||
rng.u8(..),
|
|
||||||
)
|
|
||||||
});
|
|
||||||
for color in special_colors.chain(random_colors) {
|
|
||||||
if !color_exists_in_image(img, color) {
|
|
||||||
return Ok(color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Err(String::from("unable to find unused color in image to use as key"))
|
|
||||||
}
|
|
||||||
|
|
||||||
fn should_key_image(img: &ColorImage) -> bool {
|
|
||||||
if img.width == 0 || img.height == 0 {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check for transparency at several scanlines
|
|
||||||
let threshold = ((img.width * 2) as f32 * KEYING_THRESHOLD) as usize;
|
|
||||||
let mut num_transparent_boundary_pixels = 0;
|
|
||||||
let y_positions = [0, img.height / 4, img.height / 2, 3 * img.height / 4, img.height - 1];
|
|
||||||
for y in y_positions {
|
|
||||||
for x in 0..img.width {
|
|
||||||
if img.get_pixel(x, y).a == 0 {
|
|
||||||
num_transparent_boundary_pixels += 1;
|
|
||||||
}
|
|
||||||
if num_transparent_boundary_pixels >= threshold {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
false
|
|
||||||
}
|
|
||||||
|
|
||||||
fn color_image_to_svg(config: ConverterConfig) -> Result<(), String> {
|
|
||||||
let (mut img, width, height);
|
|
||||||
match read_image(config.input_path) {
|
|
||||||
Ok(values) => {
|
|
||||||
img = values.0;
|
|
||||||
width = values.1;
|
|
||||||
height = values.2;
|
|
||||||
},
|
|
||||||
Err(msg) => return Err(msg),
|
|
||||||
}
|
|
||||||
|
|
||||||
let key_color = if should_key_image(&img) {
|
|
||||||
let key_color = find_unused_color_in_image(&img)?;
|
|
||||||
for y in 0..height {
|
|
||||||
for x in 0..width {
|
|
||||||
if img.get_pixel(x, y).a == 0 {
|
|
||||||
img.set_pixel(x, y, &key_color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
key_color
|
|
||||||
} else {
|
|
||||||
// The default color is all zeroes, which is treated by visioncortex as a special value meaning no keying will be applied.
|
|
||||||
Color::default()
|
|
||||||
};
|
|
||||||
|
|
||||||
let runner = Runner::new(RunnerConfig {
|
|
||||||
diagonal: config.layer_difference == 0,
|
|
||||||
hierarchical: HIERARCHICAL_MAX,
|
|
||||||
batch_size: 25600,
|
|
||||||
good_min_area: config.filter_speckle_area,
|
|
||||||
good_max_area: (width * height),
|
|
||||||
is_same_color_a: config.color_precision_loss,
|
|
||||||
is_same_color_b: 1,
|
|
||||||
deepen_diff: config.layer_difference,
|
|
||||||
hollow_neighbours: 1,
|
|
||||||
key_color,
|
|
||||||
keying_action: if matches!(config.hierarchical, Hierarchical::Cutout) {
|
|
||||||
KeyingAction::Keep
|
|
||||||
} else {
|
|
||||||
KeyingAction::Discard
|
|
||||||
},
|
|
||||||
}, img);
|
|
||||||
|
|
||||||
let mut clusters = runner.run();
|
|
||||||
|
|
||||||
match config.hierarchical {
|
|
||||||
Hierarchical::Stacked => {}
|
|
||||||
Hierarchical::Cutout => {
|
|
||||||
let view = clusters.view();
|
|
||||||
let image = view.to_color_image();
|
|
||||||
let runner = Runner::new(RunnerConfig {
|
|
||||||
diagonal: false,
|
|
||||||
hierarchical: 64,
|
|
||||||
batch_size: 25600,
|
|
||||||
good_min_area: 0,
|
|
||||||
good_max_area: (image.width * image.height) as usize,
|
|
||||||
is_same_color_a: 0,
|
|
||||||
is_same_color_b: 1,
|
|
||||||
deepen_diff: 0,
|
|
||||||
hollow_neighbours: 0,
|
|
||||||
key_color,
|
|
||||||
keying_action: KeyingAction::Discard,
|
|
||||||
}, image);
|
|
||||||
clusters = runner.run();
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
let view = clusters.view();
|
|
||||||
|
|
||||||
let mut svg = SvgFile::new(width, height, config.path_precision);
|
|
||||||
for &cluster_index in view.clusters_output.iter().rev() {
|
|
||||||
let cluster = view.get_cluster(cluster_index);
|
|
||||||
let paths = cluster.to_compound_path(
|
|
||||||
&view,
|
|
||||||
false,
|
|
||||||
config.mode,
|
|
||||||
config.corner_threshold,
|
|
||||||
config.length_threshold,
|
|
||||||
config.max_iterations,
|
|
||||||
config.splice_threshold
|
|
||||||
);
|
|
||||||
svg.add_path(paths, cluster.residue_color());
|
|
||||||
}
|
|
||||||
|
|
||||||
write_svg(svg, config.output_path)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn binary_image_to_svg(config: ConverterConfig) -> Result<(), String> {
|
|
||||||
|
|
||||||
let (img, width, height);
|
|
||||||
match read_image(config.input_path) {
|
|
||||||
Ok(values) => {
|
|
||||||
img = values.0;
|
|
||||||
width = values.1;
|
|
||||||
height = values.2;
|
|
||||||
},
|
|
||||||
Err(msg) => return Err(msg),
|
|
||||||
}
|
|
||||||
let img = img.to_binary_image(|x| x.r < 128);
|
|
||||||
|
|
||||||
let clusters = img.to_clusters(false);
|
|
||||||
|
|
||||||
let mut svg = SvgFile::new(width, height, config.path_precision);
|
|
||||||
for i in 0..clusters.len() {
|
|
||||||
let cluster = clusters.get_cluster(i);
|
|
||||||
if cluster.size() >= config.filter_speckle_area {
|
|
||||||
let paths = cluster.to_compound_path(
|
|
||||||
config.mode,
|
|
||||||
config.corner_threshold,
|
|
||||||
config.length_threshold,
|
|
||||||
config.max_iterations,
|
|
||||||
config.splice_threshold,
|
|
||||||
);
|
|
||||||
svg.add_path(paths, Color::color(&ColorName::Black));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
write_svg(svg, config.output_path)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn read_image(input_path: PathBuf) -> Result<(ColorImage, usize, usize), String> {
|
|
||||||
let img = image::open(input_path);
|
|
||||||
let img = match img {
|
|
||||||
Ok(file) => file.to_rgba8(),
|
|
||||||
Err(_) => return Err(String::from("No image file found at specified input path")),
|
|
||||||
};
|
|
||||||
|
|
||||||
let (width, height) = (img.width() as usize, img.height() as usize);
|
|
||||||
let img = ColorImage {pixels: img.as_raw().to_vec(), width, height};
|
|
||||||
|
|
||||||
Ok((img, width, height))
|
|
||||||
}
|
|
||||||
|
|
||||||
fn write_svg(svg: SvgFile, output_path: PathBuf) -> Result<(), String> {
|
|
||||||
let out_file = File::create(output_path);
|
|
||||||
let mut out_file = match out_file {
|
|
||||||
Ok(file) => file,
|
|
||||||
Err(_) => return Err(String::from("Cannot create output file.")),
|
|
||||||
};
|
|
||||||
|
|
||||||
write!(&mut out_file, "{}", svg).expect("failed to write file.");
|
|
||||||
|
|
||||||
Ok(())
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
// Copyright 2020 Tsang Hao Fung. See the COPYRIGHT
|
|
||||||
// file at the top-level directory of this distribution and at
|
|
||||||
// http://rust-lang.org/COPYRIGHT.
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
|
|
||||||
mod config;
|
|
||||||
mod converter;
|
|
||||||
mod svg;
|
|
||||||
#[cfg(feature = "python-binding")]
|
|
||||||
mod python;
|
|
||||||
|
|
||||||
pub use config::*;
|
|
||||||
pub use converter::*;
|
|
||||||
pub use svg::*;
|
|
||||||
#[cfg(feature = "python-binding")]
|
|
||||||
pub use python::*;
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
use vtracer::{Config, convert_image_to_svg};
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
let config = Config::from_args();
|
|
||||||
let result = convert_image_to_svg(config);
|
|
||||||
match result {
|
|
||||||
Ok(()) => {
|
|
||||||
println!("Conversion successful.");
|
|
||||||
},
|
|
||||||
Err(msg) => {
|
|
||||||
panic!("Conversion failed with error message: {}", msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
use pyo3::prelude::*;
|
|
||||||
|
|
||||||
use visioncortex::{PathSimplifyMode};
|
|
||||||
use super::converter::*;
|
|
||||||
|
|
||||||
/// Python binding
|
|
||||||
#[pyfunction]
|
|
||||||
fn convert_image_to_svg_py( image_path: &str,
|
|
||||||
out_path: &str,
|
|
||||||
colormode: Option<&str>, // "color" or "binary"
|
|
||||||
hierarchical: Option<&str>, // "stacked" or "cutout"
|
|
||||||
mode: Option<&str>, // "polygon", "spline", "none"
|
|
||||||
filter_speckle: Option<usize>, // default: 4
|
|
||||||
color_precision: Option<i32>, // default: 6
|
|
||||||
layer_difference: Option<i32>, // default: 16
|
|
||||||
corner_threshold: Option<i32>, // default: 60
|
|
||||||
length_threshold: Option<f64>, // in [3.5, 10] default: 4.0
|
|
||||||
max_iterations: Option<usize>, // default: 10
|
|
||||||
splice_threshold: Option<i32>, // default: 45
|
|
||||||
path_precision: Option<u32> // default: 8
|
|
||||||
) -> PyResult<()> {
|
|
||||||
let input_path = PathBuf::from(image_path);
|
|
||||||
let output_path = PathBuf::from(out_path);
|
|
||||||
|
|
||||||
// TODO: enforce color mode with an enum so that we only
|
|
||||||
// accept the strings 'color' or 'binary'
|
|
||||||
let color_mode = match colormode.unwrap_or("color") {
|
|
||||||
"color" => ColorMode::Color,
|
|
||||||
"binary" => ColorMode::Binary,
|
|
||||||
_ => ColorMode::Color,
|
|
||||||
};
|
|
||||||
|
|
||||||
let hierarchical = match hierarchical.unwrap_or("stacked") {
|
|
||||||
"stacked" => Hierarchical::Stacked,
|
|
||||||
"cutout" => Hierarchical::Cutout,
|
|
||||||
_ => Hierarchical::Stacked,
|
|
||||||
};
|
|
||||||
|
|
||||||
let mode = match mode.unwrap_or("spline") {
|
|
||||||
"spline" => PathSimplifyMode::Spline,
|
|
||||||
"polygon" => PathSimplifyMode::Polygon,
|
|
||||||
"none" => PathSimplifyMode::None,
|
|
||||||
_ => PathSimplifyMode::Spline,
|
|
||||||
};
|
|
||||||
|
|
||||||
let filter_speckle = filter_speckle.unwrap_or(4);
|
|
||||||
let color_precision = color_precision.unwrap_or(6);
|
|
||||||
let layer_difference = layer_difference.unwrap_or(16);
|
|
||||||
let corner_threshold = corner_threshold.unwrap_or(60);
|
|
||||||
let length_threshold = length_threshold.unwrap_or(4.0);
|
|
||||||
let splice_threshold = splice_threshold.unwrap_or(45);
|
|
||||||
let max_iterations = max_iterations.unwrap_or(10);
|
|
||||||
|
|
||||||
let config = Config {
|
|
||||||
input_path,
|
|
||||||
output_path,
|
|
||||||
color_mode,
|
|
||||||
hierarchical,
|
|
||||||
filter_speckle,
|
|
||||||
color_precision,
|
|
||||||
layer_difference,
|
|
||||||
mode,
|
|
||||||
corner_threshold,
|
|
||||||
length_threshold,
|
|
||||||
max_iterations,
|
|
||||||
splice_threshold,
|
|
||||||
path_precision,
|
|
||||||
..Default::default()
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
convert_image_to_svg(config).unwrap();
|
|
||||||
Ok(())
|
|
||||||
}
|
|
||||||
|
|
||||||
/// A Python module implemented in Rust.
|
|
||||||
#[pymodule]
|
|
||||||
fn vtracer(_py: Python, m: &PyModule) -> PyResult<()> {
|
|
||||||
m.add_function(wrap_pyfunction!(convert_image_to_svg_py, m)?)?;
|
|
||||||
Ok(())
|
|
||||||
}
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
use std::fmt;
|
|
||||||
use visioncortex::{Color, CompoundPath, PointF64};
|
|
||||||
|
|
||||||
pub struct SvgFile {
|
|
||||||
pub paths: Vec<SvgPath>,
|
|
||||||
pub width: usize,
|
|
||||||
pub height: usize,
|
|
||||||
pub path_precision: Option<u32>,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct SvgPath {
|
|
||||||
pub path: CompoundPath,
|
|
||||||
pub color: Color,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl SvgFile {
|
|
||||||
pub fn new(width: usize, height: usize, path_precision: Option<u32>) -> Self {
|
|
||||||
SvgFile {
|
|
||||||
paths: vec![],
|
|
||||||
width,
|
|
||||||
height,
|
|
||||||
path_precision,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn add_path(&mut self, path: CompoundPath, color: Color) {
|
|
||||||
self.paths.push(SvgPath {
|
|
||||||
path,
|
|
||||||
color,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl fmt::Display for SvgFile {
|
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
||||||
writeln!(f, r#"<?xml version="1.0" encoding="UTF-8"?>"#)?;
|
|
||||||
writeln!(f,
|
|
||||||
r#"<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="{}" height="{}">"#,
|
|
||||||
self.width, self.height
|
|
||||||
)?;
|
|
||||||
|
|
||||||
for path in &self.paths {
|
|
||||||
path.fmt_with_precision(f, self.path_precision)?;
|
|
||||||
};
|
|
||||||
|
|
||||||
writeln!(f, "</svg>")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl fmt::Display for SvgPath {
|
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
||||||
self.fmt_with_precision(f, None)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl SvgPath {
|
|
||||||
fn fmt_with_precision(&self, f: &mut fmt::Formatter, precision: Option<u32>) -> fmt::Result {
|
|
||||||
let (string, offset) = self.path.to_svg_string(true, PointF64::default(), precision);
|
|
||||||
writeln!(
|
|
||||||
f, "<path d=\"{}\" fill=\"{}\" transform=\"translate({},{})\"/>",
|
|
||||||
string, self.color.to_hex_string(),
|
|
||||||
offset.x, offset.y
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
<div align="center">
|
|
||||||
|
|
||||||
<img src="https://github.com/visioncortex/vtracer/raw/master/docs/images/visioncortex-banner.png">
|
|
||||||
|
|
||||||
<h1>VTracer: Python Binding</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<strong>Raster to Vector Graphics Converter built on top of visioncortex</strong>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3>
|
|
||||||
<a href="//www.visioncortex.org/vtracer-docs">Article</a>
|
|
||||||
<span> | </span>
|
|
||||||
<a href="//www.visioncortex.org/vtracer/">Demo</a>
|
|
||||||
<span> | </span>
|
|
||||||
<a href="//github.com/visioncortex/vtracer/releases/latest">Download</a>
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
<sub>Built with 🦀 by <a href="//www.visioncortex.org/">The Vision Cortex Research Group</a></sub>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## Introduction
|
|
||||||
|
|
||||||
visioncortex VTracer is an open source software to convert raster images (like jpg & png) into vector graphics (svg). It can vectorize graphics and photographs and trace the curves to output compact vector files.
|
|
||||||
|
|
||||||
Comparing to [Potrace](http://potrace.sourceforge.net/) which only accept binarized inputs (Black & White pixmap), VTracer has an image processing pipeline which can handle colored high resolution scans.
|
|
||||||
|
|
||||||
Comparing to Adobe Illustrator's [Image Trace](https://helpx.adobe.com/illustrator/using/image-trace.html), VTracer's output is much more compact (less shapes) as we adopt a stacking strategy and avoid producing shapes with holes.
|
|
||||||
|
|
||||||
VTracer is originally designed for processing high resolution scans of historic blueprints up to gigapixels. At the same time, VTracer can also handle low resolution pixel art, simulating `image-rendering: pixelated` for retro game artworks.
|
|
||||||
|
|
||||||
A technical description of the algorithm is on [visioncortex.org/vtracer-docs](//www.visioncortex.org/vtracer-docs).
|
|
||||||
|
|
||||||
## Install (Python)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
pip install vtracer
|
|
||||||
```
|
|
||||||
|
|
||||||
### Usage (Python)
|
|
||||||
|
|
||||||
```python
|
|
||||||
import vtracer
|
|
||||||
|
|
||||||
input_path = "/path/to/some_file.jpg"
|
|
||||||
output_path = "/path/to/some_file.vtracer.jpg"
|
|
||||||
|
|
||||||
# Minimal example: use all default values, generate a multicolor SVG
|
|
||||||
vtracer.convert_image_to_svg_py(inp, out)
|
|
||||||
|
|
||||||
# Single-color example. Good for line art, and much faster than full color:
|
|
||||||
vtracer.convert_image_to_svg_py(inp, out, colormode='binary')
|
|
||||||
|
|
||||||
# All the bells & whistles
|
|
||||||
vtracer.convert_image_to_svg_py(inp,
|
|
||||||
out,
|
|
||||||
colormode = 'color', # ["color"] or "binary"
|
|
||||||
hierarchical = 'stacked', # ["stacked"] or "cutout"
|
|
||||||
mode = 'spline', # ["spline"] "polygon", or "none"
|
|
||||||
filter_speckle = 4, # default: 4
|
|
||||||
color_precision = 6, # default: 6
|
|
||||||
layer_difference = 16, # default: 16
|
|
||||||
corner_threshold = 60, # default: 60
|
|
||||||
length_threshold = 4.0, # in [3.5, 10] default: 4.0
|
|
||||||
max_iterations = 10, # default: 10
|
|
||||||
splice_threshold = 45, # default: 45
|
|
||||||
path_precision = 3 # default: 8
|
|
||||||
)
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Rust Library
|
|
||||||
|
|
||||||
The (Rust) library can be found on [crates.io/vtracer](//crates.io/crates/vtracer) and [crates.io/vtracer-webapp](//crates.io/crates/vtracer-webapp).
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
from .vtracer import convert_image_to_svg_py
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
from typing import Optional
|
|
||||||
|
|
||||||
def convert_image_to_svg_py(image_path: str,
|
|
||||||
out_path: str,
|
|
||||||
colormode: Optional[str] = None, # ["color"] or "binary"
|
|
||||||
hierarchical: Optional[str] = None, # ["stacked"] or "cutout"
|
|
||||||
mode: Optional[str] = None, # ["spline"], "polygon", "none"
|
|
||||||
filter_speckle: Optional[int] = None, # default: 4
|
|
||||||
color_precision: Optional[int] = None, # default: 6
|
|
||||||
layer_difference: Optional[int] = None, # default: 16
|
|
||||||
corner_threshold: Optional[int] = None, # default: 60
|
|
||||||
length_threshold: Optional[float] = None, # in [3.5, 10] default: 4.0
|
|
||||||
max_iterations: Optional[int] = None, # default: 10
|
|
||||||
splice_threshold: Optional[int] = None, # default: 45
|
|
||||||
path_precision: Optional[int] = None, # default: 8
|
|
||||||
) -> None:
|
|
||||||
...
|
|
||||||
@@ -1,3 +1,13 @@
|
|||||||
Copyright (c) 2024 TSANG, Hao Fung
|
Copyright (c) 2026 Seafire Software Limited. All rights reserved.
|
||||||
|
|
||||||
The content in the /docs directory is for GitHub pages, and is not covered under open source licenses.
|
This application, including its source code, assets, build configuration,
|
||||||
|
documentation, and distributed binaries, is proprietary software.
|
||||||
|
|
||||||
|
No license is granted to copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
sell, host, or otherwise make this application available to any third party,
|
||||||
|
except with prior written permission from the copyright holder.
|
||||||
|
|
||||||
|
This repository is not open source. Possession of a copy of this repository or
|
||||||
|
application does not grant any redistribution rights.
|
||||||
|
|
||||||
|
Third-party dependencies remain governed by their own license terms.
|
||||||
|
|||||||
@@ -1,543 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
||||||
width="2800px" height="2800px" viewBox="0 0 2800 2800" enable-background="new 0 0 2800 2800" xml:space="preserve">
|
|
||||||
<g>
|
|
||||||
<g>
|
|
||||||
<polygon fill="#333333" points="2442.8,1360 1625.1,1360 1728.1,1158.7 1625.1,970.2 2442.8,970.2 2347.8,1163.5 "/>
|
|
||||||
<g>
|
|
||||||
<path fill="#FFFFFF" d="M1875,1170.5c6.3,6.8,9.5,15.3,9.5,25.5l-9.3,117c0,5.6-5.2,9.3-15.6,11.1c-10.4,1.9-19.9,2.8-28.6,2.8
|
|
||||||
h-63.2V997.3h61.8c10.8,0,21.1,2.6,30.9,7.9c9.8,5.3,14.6,12.2,14.6,20.9v93.3l-19,38.5C1862.3,1159.6,1868.6,1163.7,1875,1170.5
|
|
||||||
z M1802.8,1142.7h33.4c0.9,0,2-0.6,3.3-1.9c0.3-0.3,0.6-1.1,0.9-2.3l4.2-111c0-1.2-2.2-1.9-6.5-1.9l-40.9,1.9V1139
|
|
||||||
C1797.2,1141.4,1799,1142.7,1802.8,1142.7z M1845.9,1275.9c0-1.9-0.3-2.8-0.9-2.8V1178c0.9-0.6,1.4-1.1,1.4-1.4
|
|
||||||
c0-0.9-1.1-1.4-3.3-1.4l-35.3-4.6c-0.9,0-1.9,0.3-3,0.9c-1.1,0.6-1.8,1.2-2.1,1.9v126.3l5.1,1.4
|
|
||||||
C1833.2,1291.7,1845.9,1283.4,1845.9,1275.9z"/>
|
|
||||||
<path fill="#FFFFFF" d="M2028.4,1327h-99.4V997.3h99.4v28.8l-58-2.8v105.4l58,10.7v22.3l-65.9-2.8v133.3l65.9-3.7V1327z"/>
|
|
||||||
<path fill="#FFFFFF" d="M2150.5,1062.8l-9.3-36.2l-27.9,3.3l-7,103.1l67.3,12.1l-6.5,154.2c0,6.2-4,12.4-12.1,18.6
|
|
||||||
c-8.1,6.2-15.5,9.3-22.3,9.3h-54.3l-4.2-79.4h27.4l-0.5,40.4l32.5,7.4l7.4-123.5l-62.7-13.9v-149.5l18.6-11.1h72.9l-2.3,65.5
|
|
||||||
H2150.5z"/>
|
|
||||||
<path fill="#FFFFFF" d="M2304.7,1003.8l2.3,29.3h-40.9V1327h-39.5l9.3-285.6l-33.4-11.1l6-33L2304.7,1003.8z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<polygon fill="#333333" points="1660.5,2001.3 167.9,2001.3 356,1714.2 167.9,1445.3 1660.5,1445.3 1487.1,1721 "/>
|
|
||||||
<g>
|
|
||||||
<path fill="#FFFFFF" d="M462.7,1802.5c0,16.1,0.8,29.1,2.6,39c1.7,9.9,3.9,17.6,6.7,23c2.8,5.4,6,9.1,9.5,10.9
|
|
||||||
c3.6,1.9,7.2,2.8,10.9,2.8c4.3,0,8-0.5,10.9-1.4c2.9-0.9,5.6-2.2,8.1-3.7l4.6,4.2c-3.4,8-8,14-13.7,17.9
|
|
||||||
c-5.7,3.9-12.2,5.8-19.3,5.8c-9,0-16.5-1.9-22.5-5.6c-6-3.7-9.1-8.7-9.1-14.9c-12.7,0-21-5.4-24.8-16.3
|
|
||||||
c-3.9-10.8-5.8-26.8-5.8-47.8v-154.2h-30.6v-21.8h2.8c8.4,0,15.6-1.9,21.6-5.8c6-3.9,11.3-8.9,15.8-15.1
|
|
||||||
c4.5-6.2,8.4-13.2,11.6-21.1c3.3-7.9,6.3-15.9,9.1-23.9h11.6v65.9c11.1-0.3,20.4-1.2,27.6-2.6c7.3-1.4,12.6-3.8,16-7.2
|
|
||||||
c7.1,1.2,11.8,3.8,13.9,7.7c2.2,3.9,3.3,7.2,3.3,10c0,3.7-1.2,6.9-3.5,9.5c-2.3,2.6-5.4,4.7-9.3,6.3c-3.9,1.6-8.3,2.6-13.2,3.3
|
|
||||||
c-5,0.6-9.9,0.9-14.9,0.9c-6.8,0-13.5-0.5-20-1.4V1802.5z"/>
|
|
||||||
<path fill="#FFFFFF" d="M607.6,1807.1c0,6.2,1,11.3,3,15.3c2,4,4.5,7.3,7.4,9.8c2.9,2.5,6.3,4.3,10.2,5.3
|
|
||||||
c3.9,1.1,7.7,1.6,11.4,1.6v13.9c-3.7,0-7.8-0.2-12.3-0.7c-4.5-0.5-9.2-1-14.2-1.6c-5-0.6-9.7-1.2-14.2-1.6
|
|
||||||
c-4.5-0.5-8.6-0.7-12.3-0.7c-3.7,0-7.8,0.2-12.3,0.7c-4.5,0.5-9.2,1-14.2,1.6c-5,0.6-9.7,1.2-14.2,1.6c-4.5,0.5-8.6,0.7-12.3,0.7
|
|
||||||
v-13.9c8.4,0,15.8-2.3,22.3-7c6.5-4.6,9.8-13,9.8-25.1v-240.5c0-11.4-0.2-21-0.7-28.6c-0.5-7.6-1.8-13.5-3.9-17.6
|
|
||||||
c-2.2-4.2-5.3-7.1-9.3-8.8c-4-1.7-9.6-2.6-16.7-2.6v-11.6c7.7,0,14.5-0.5,20.2-1.4c5.7-0.9,10.9-2.3,15.6-4.2
|
|
||||||
c4.6-1.9,8.9-4,12.8-6.5c3.9-2.5,8-5.1,12.3-7.9h11.6v195.5c3.1-4.9,6.8-9.7,11.1-14.2c4.3-4.5,9.4-8.4,15.3-11.8
|
|
||||||
c5.9-3.4,12.7-6.1,20.4-8.1c7.7-2,16.7-3,26.9-3c13,0,24.6,2,34.8,6c10.2,4,18.8,10.4,25.8,19.3c7,8.8,12.2,20.3,15.8,34.4
|
|
||||||
c3.6,14.1,5.3,31.2,5.3,51.3v55.3c0,19.8,0.7,35.8,2.1,47.8c1.4,12.1,3.3,21.4,5.6,27.9c2.3,6.5,5.1,10.8,8.4,13
|
|
||||||
c3.3,2.2,6.6,3.3,10,3.3c3.4,0,6.5-0.2,9.3-0.7c2.8-0.5,5.9-1.9,9.3-4.4l2.3,1.9c-3.4,8.4-8.5,15.1-15.3,20.2
|
|
||||||
c-6.8,5.1-14.2,7.7-22.3,7.7c-8.1,0-15.2-2.5-21.4-7.4c-6.2-5-9.3-11.6-9.3-20c-4-2.2-7.4-4.4-10-6.7c-2.6-2.3-4.7-5.7-6.3-10
|
|
||||||
c-1.6-4.3-2.6-10.1-3.3-17.4c-0.6-7.3-0.9-16.9-0.9-29v-71c0-19.5-1.1-35.6-3.2-48.3c-2.2-12.7-5.3-22.8-9.3-30.4
|
|
||||||
c-4-7.6-8.9-12.9-14.6-16c-5.7-3.1-12-4.6-18.8-4.6c-7.1,0-14.7,1.5-22.8,4.4c-8.1,2.9-15.4,7.7-22.1,14.4
|
|
||||||
c-6.7,6.7-12.2,15.3-16.5,26c-4.3,10.7-6.5,23.6-6.5,38.8V1807.1z"/>
|
|
||||||
<path fill="#FFFFFF" d="M883.4,1807.1c0,6.2,1,11.3,3,15.3c2,4,4.5,7.3,7.4,9.8c2.9,2.5,6.3,4.3,10.2,5.3
|
|
||||||
c3.9,1.1,7.7,1.6,11.4,1.6v13.9c-3.7,0-7.8-0.2-12.3-0.7c-4.5-0.5-9.2-1-14.2-1.6c-5-0.6-9.7-1.2-14.2-1.6
|
|
||||||
c-4.5-0.5-8.6-0.7-12.3-0.7s-7.8,0.2-12.3,0.7c-4.5,0.5-9.2,1-14.2,1.6c-5,0.6-9.7,1.2-14.2,1.6c-4.5,0.5-8.6,0.7-12.3,0.7v-13.9
|
|
||||||
c8.4,0,15.8-2.3,22.3-7c6.5-4.6,9.8-13,9.8-25.1v-79.9c0-11.4-0.2-21-0.7-28.6c-0.5-7.6-1.8-13.5-3.9-17.6
|
|
||||||
c-2.2-4.2-5.3-7.1-9.3-8.8c-4-1.7-9.6-2.6-16.7-2.6v-13.9c7.7,0,14.3-0.5,19.7-1.4c5.4-0.9,10.3-2.3,14.6-4.2
|
|
||||||
c4.3-1.9,8.4-4,12.1-6.5c3.7-2.5,7.7-5.1,12.1-7.9h13.9V1807.1z M830.9,1567.1c0-9.3,3.3-17.1,9.8-23.5
|
|
||||||
c6.5-6.3,14.2-9.5,23.2-9.5c9,0,16.6,3.2,23,9.5c6.3,6.3,9.5,14.2,9.5,23.5c0,9.3-3.2,17.1-9.5,23.4c-6.3,6.3-14,9.5-23,9.5
|
|
||||||
c-9,0-16.7-3.2-23.2-9.5C834.2,1584.2,830.9,1576.4,830.9,1567.1z"/>
|
|
||||||
<path fill="#FFFFFF" d="M1123.9,1766.3c0-20.7-1-38.1-3-52c-2-13.9-5-25.1-9.1-33.4c-4-8.4-9.1-14.3-15.3-17.9
|
|
||||||
c-6.2-3.6-13.3-5.3-21.4-5.3c-8.1,0-15.7,1.6-23,4.6c-7.3,3.1-13.7,8-19.3,14.6c-5.6,6.7-10,15.3-13.2,26
|
|
||||||
c-3.3,10.7-4.9,23.4-4.9,38.3v65.9c0,6.2,1,11.3,3,15.3c2,4,4.5,7.3,7.4,9.8c2.9,2.5,6.3,4.3,10.2,5.3c3.9,1.1,7.7,1.6,11.4,1.6
|
|
||||||
v13.9c-3.7,0-7.8-0.2-12.3-0.7c-4.5-0.5-9.2-1-14.2-1.6c-5-0.6-9.7-1.2-14.2-1.6c-4.5-0.5-8.6-0.7-12.3-0.7s-7.8,0.2-12.3,0.7
|
|
||||||
c-4.5,0.5-9.2,1-14.2,1.6c-5,0.6-9.7,1.2-14.2,1.6c-4.5,0.5-8.6,0.7-12.3,0.7v-13.9c8.4,0,15.8-2.3,22.3-7s9.8-13,9.8-25.1v-77.5
|
|
||||||
c0-11.4-0.2-21-0.7-28.6c-0.5-7.6-1.8-13.5-3.9-17.6c-2.2-4.2-5.3-7.1-9.3-8.8c-4-1.7-9.6-2.6-16.7-2.6v-11.6
|
|
||||||
c7.7,0,14.5-0.5,20.2-1.4c5.7-0.9,10.9-2.3,15.6-4.2c4.6-1.9,8.9-4,12.8-6.5c3.9-2.5,8-5.1,12.3-7.9h11.6v32.5
|
|
||||||
c5.9-10.8,14-19.7,24.4-26.7c10.4-7,22.7-10.4,36.9-10.4c30.6,0,53.2,9.3,67.8,27.9c14.5,18.6,21.8,49.4,21.8,92.4v48.8
|
|
||||||
c0,6.2,1,11.3,3,15.3c2,4,4.5,7.3,7.4,9.8c2.9,2.5,6.3,4.3,10.2,5.3c3.9,1.1,7.7,1.6,11.4,1.6v16.3c-4,0-7.6-0.2-10.7-0.7
|
|
||||||
c-3.1-0.5-6.3-0.9-9.5-1.4c-3.3-0.5-7-0.9-11.1-1.4c-4.2-0.5-9.2-0.7-15.1-0.7c-4,0-8.6,0.2-13.7,0.7c-5.1,0.5-11.2,1.6-18.3,3.5
|
|
||||||
l-4.2-7.9c2.2-2.2,3.9-6.1,5.1-11.8c1.2-5.7,2.1-12.3,2.6-19.7c0.5-7.4,0.8-15.3,0.9-23.7
|
|
||||||
C1123.8,1781.6,1123.9,1773.7,1123.9,1766.3z"/>
|
|
||||||
<path fill="#FFFFFF" d="M1326.4,1859.6c-16.7,0-31.4-2.8-44.1-8.4c-12.7-5.6-23.4-13.4-32-23.4c-8.7-10.1-15.2-22.1-19.5-36
|
|
||||||
c-4.3-13.9-6.5-29.3-6.5-46c0-19.5,3-36.1,9.1-49.9c6-13.8,13.9-25.1,23.7-34.1c9.8-9,20.9-15.6,33.4-19.7
|
|
||||||
c12.5-4.2,25.3-6.3,38.3-6.3c13.9,0,26.3,2.1,37.1,6.3c10.8,4.2,20.9,12.6,30.2,25.3c1.9-6.8,4.8-12,8.8-15.6
|
|
||||||
c4-3.6,8.7-6.2,13.9-7.9c5.3-1.7,10.8-2.7,16.7-3c5.9-0.3,11.6-0.5,17.2-0.5v13.9c-4,0-7.4,0.9-10,2.6c-2.6,1.7-4.6,6.2-6,13.5
|
|
||||||
c-1.4,7.3-2.3,18.1-2.8,32.5c-0.5,14.4-0.7,34.3-0.7,59.7v105.9c0,35.3-8.8,60.9-26.2,76.8c-17.5,15.9-45,23.9-82.4,23.9
|
|
||||||
c-22.9,0-39.9-2.5-50.8-7.4c-11-5-16.5-11.1-16.5-18.6c-8.1,0-13.8-2.7-17.2-8.1c-3.4-5.4-5.1-10.9-5.1-16.5
|
|
||||||
c0-5.3,1.2-9.8,3.7-13.7c2.5-3.9,5.6-7,9.3-9.5c3.7-2.5,7.7-4.3,11.8-5.6c4.2-1.2,8-1.9,11.4-1.9c0,8.4,1,16.2,3,23.4
|
|
||||||
c2,7.3,5.3,13.6,10,19c4.6,5.4,10.6,9.8,17.9,13c7.3,3.3,16.2,4.9,26.7,4.9c9.3,0,17.8-1.4,25.5-4.2c7.7-2.8,14.3-7.4,19.7-13.9
|
|
||||||
c5.4-6.5,9.7-15,12.8-25.5c3.1-10.5,4.6-23.5,4.6-39v-30.2c-10.5,10.2-21.4,16.8-32.5,19.7
|
|
||||||
C1347.7,1858.1,1336.9,1859.6,1326.4,1859.6z M1333.3,1838.3c10.5,0,19.8-2.4,27.9-7.2c8-4.8,14.6-11.4,19.7-19.7
|
|
||||||
c5.1-8.4,9-18,11.6-29c2.6-11,3.9-22.8,3.9-35.5c0-12.1-1.2-23.4-3.7-34.1c-2.5-10.7-6.3-20.1-11.6-28.3
|
|
||||||
c-5.3-8.2-11.8-14.6-19.7-19.3c-7.9-4.6-17.4-7-28.6-7c-12.1,0-22.3,2.2-30.6,6.7c-8.4,4.5-15,10.7-20,18.6
|
|
||||||
c-5,7.9-8.5,17.2-10.7,27.9c-2.2,10.7-3.3,22.2-3.3,34.6c0,12.1,1,23.7,3,34.8c2,11.1,5.6,21,10.7,29.5
|
|
||||||
c5.1,8.5,11.8,15.3,20,20.4C1310.2,1835.7,1320.6,1838.3,1333.3,1838.3z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<rect x="1813.5" y="1662.1" fill="#CFD3D2" width="656.6" height="174.5"/>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M2034.1,1630.7c0-6.5,1.7-17.6,5.1-33.4c3.4-15.8,8-30.8,13.9-45c6.2-15.8,12.5-23.7,19-23.7
|
|
||||||
c5.6,0,8.4,3.4,8.4,10.2c0,13-2.2,27.5-6.7,43.4c-4.5,15.9-10.1,29.5-16.9,40.6c-7.1,10.8-13.5,16.3-19,16.3
|
|
||||||
C2035.3,1638.4,2034.1,1635.7,2034.1,1630.7z"/>
|
|
||||||
<path fill="#333333" d="M2542.5,1744c-11.7-13.9-25.5-25.6-38.3-38.3c-5.5-5.4-14,3-8.5,8.5c9.6,9.5,19.7,18.4,29,28.1h-179.6
|
|
||||||
c-0.1-8.6-0.4-15.7-0.8-21h11.6c3.1,0.6,7.4,0.9,13,0.9c4.3,0,7.9-1.2,10.7-3.5s4.2-5.2,4.2-8.6c0-8.7-7.4-13-22.3-13
|
|
||||||
c-3.7,0-6.8,0.2-9.3,0.5l-7.4,0.5l-1.4-7.4c0-7.4,0.5-18.6,1.4-33.4c0.3-9.9,0.5-21,0.5-33.4c0-8.7-0.2-15.3-0.5-20
|
|
||||||
c10.5,1.6,22.3,4.6,35.3,9.3c3.7-1.5,6.9-3.6,9.5-6.3c2.6-2.6,3.9-5.5,3.9-8.6c0-5.6-6.7-10.4-20.2-14.4c-13.5-4-25.3-6-35.5-6
|
|
||||||
c-13,0-19.5,11-19.5,33c0,4,0.5,10.5,1.4,19.5c0.9,8.7,1.4,15.2,1.4,19.5c0,18.3-0.6,40.9-1.9,67.8c-0.3,8.9-0.5,17.1-0.7,24.7
|
|
||||||
H2240c0.3-3.6,0.5-7.2,0.8-10.8c1.2-16.7,2.6-28.9,3.9-36.7c1.4-7.7,4.3-19.3,8.6-34.8c5.3-17.9,9.2-33.4,11.8-46.2
|
|
||||||
c2.6-12.8,3.9-24.8,3.9-36c0-2.8-1.1-5.2-3.2-7.2c-2.2-2-4.6-3-7.4-3h-10.2c-3.4,20.1-9.3,57.7-17.6,112.8
|
|
||||||
c-3.6,22.5-6.9,43.1-10,61.9h-26.9c-5.2-35.6-9.6-62.2-13.2-79.5c-4-18.6-7.7-34.1-11.1-46.7c-3.4-12.5-7.1-22.5-11.1-29.9
|
|
||||||
c-4-7.7-8.4-11.6-13-11.6c-2.8,0-5.3,1.1-7.7,3.3c-2.3,2.2-3.5,4.6-3.5,7.4c0,4.6,2.8,15.6,8.4,33c2.2,6.5,3.6,11.3,4.2,14.4
|
|
||||||
c10.7,41.4,19.2,77.9,25.7,109.7h-233.7c-0.7-12.5-1.4-25.9-2.3-40.1c-4-57.6-6-102.8-6-135.6c0-3.7,0.7-6.3,2.1-7.7
|
|
||||||
c1.4-1.4,3.6-2.1,6.7-2.1h3.7c1.2,0.3,2.8,0.5,4.6,0.5c3.1,0,5.6-1.2,7.7-3.7c2-2.5,3-5.4,3-8.8c0-3.4-1.3-6.3-3.9-8.8
|
|
||||||
c-2.6-2.5-5.8-3.7-9.5-3.7c-9,0-20,1.1-33,3.2c-7.1,1.2-12.9,3.2-17.4,6c-4.5,2.8-6.7,6-6.7,9.8c0,7.4,3.6,11.1,10.7,11.1
|
|
||||||
c3.7,0,7.3-0.6,10.7-1.9c0.9,6.8,1.4,15.3,1.4,25.5l-0.5,23.7c-0.3,7.1-0.5,15-0.5,23.7c0,24.1,1.4,59.9,4.2,107.3
|
|
||||||
c0,0.5,0.1,1,0.1,1.5h-99.8c-1.9-5.7-4.5-11.6-7.4-16.5c-1.7-2.9-4.4-5.2-7.3-6.8c1.7-4.6-5.2-10.1-10.3-6.1
|
|
||||||
c-4.9,3.8-7.5,10.6-0.7,14.2c2.5,1.4,5.1,1.9,7.3,3.9c2.7,2.5,3.9,7.8,5.4,11.3h-9.8c-7.1-7.8-12.6-17-20-24.6
|
|
||||||
c-5.4-5.6-13.8,2.9-8.5,8.5c4.8,5,8.8,10.6,13,16.1h-13.6c-7.7,0-7.7,12,0,12h13.7c-5.7,6.4-11.6,12.7-16.5,19.7
|
|
||||||
c-4.4,6.4,6,12.4,10.3,6c6.4-9.2,14.5-17.1,21.6-25.8h13.4c0,1.1-0.1,2.1-0.3,3.2c-2.1,8.4-10,16.1-15.3,22.5
|
|
||||||
c-4.9,5.9,3.5,14.4,8.5,8.5c8.2-9.9,18.8-21,19-34.2h98.2c2.5,39.2,3.8,70.6,3.8,94.2c0,4-0.5,6.8-1.6,8.4
|
|
||||||
c-1.1,1.6-2.9,2.3-5.3,2.3c-1.6,0-2.9-0.2-4.2-0.5h-5.6c-9.3,0-13.9,3.7-13.9,11.1c0,9.3,13.3,13.9,39.9,13.9
|
|
||||||
c2.5,0,9-0.3,19.5-0.9c4.6,0,7.7-0.1,9.3-0.2c1.5-0.2,2.5-0.2,2.8-0.2l11.6-7.9v-2.8c0-10.8-6.5-16.3-19.5-16.3
|
|
||||||
c-4,0-7.1,0.2-9.3,0.5v-17.6c0-20.9-0.9-48.9-2.6-84h235.4c1.2,6.2,2.3,12.3,3.3,18.1c6.7,38.1,10,74.9,10,110.5l8.8,7
|
|
||||||
c7.1,0,13.5-5.1,19-15.3c5.6-10.2,10.1-24.3,13.5-42.3c4.2-23.6,7.5-49.6,9.9-78h79.2c-0.3,12.5-0.4,22.9-0.4,31.1l0.9,29.7
|
|
||||||
c0.9,13.3,1.4,23.2,1.4,29.7c0,3.7,0.2,7,0.5,9.8v21.4c0.3,4,2.1,7.4,5.3,10.2c3.2,2.8,6.9,4.2,10.9,4.2h39.5
|
|
||||||
c5.6,0,10.3-1.2,14.2-3.5c3.9-2.3,5.8-5.6,5.8-10c0-7.4-5.9-11.1-17.6-11.1c-7.4,0-13.8,0.2-19,0.5l-15.3,0.5
|
|
||||||
c-0.6,0-0.9-8.7-0.9-26c0-9.3,0.5-23.4,1.4-42.3c0.3-12.4,0.5-26.3,0.5-41.8c0-0.8,0-1.5,0-2.3h181.5
|
|
||||||
c-6.3,9.5-11.7,19.5-17.6,29.3c-4,6.7,6.4,12.7,10.3,6c7.4-12.5,14-25.6,23-37.1C2544.6,1749.7,2544.8,1746.7,2542.5,1744z
|
|
||||||
M2205.4,1828c-0.9-5-2-13.2-3.3-24.6l-5.6-41.3l-1.2-7.9h23.1C2213.5,1783.9,2209.2,1808.5,2205.4,1828z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<g>
|
|
||||||
<g>
|
|
||||||
<path fill="#F39DA3" d="M1303.8,2143.3c23.4,7.7,42.4,21.8,57,42.4c11.6,16.6,19.6,34.6,23.8,54c4.2,19.4,6.4,37.8,6.4,55.3
|
|
||||||
c0,44.4-8.9,82.1-26.8,112.9c-24.2,41.6-61.6,62.3-112.1,62.3h-144.1V2136H1252C1272.8,2136.3,1290,2138.7,1303.8,2143.3z
|
|
||||||
M1175.7,2194v218.1h64.5c33,0,56-16.2,69-48.7c7.1-17.8,10.7-39.1,10.7-63.7c0-34-5.3-60.1-16-78.3
|
|
||||||
c-10.7-18.2-31.9-27.3-63.7-27.3H1175.7z"/>
|
|
||||||
<path fill="#F39DA3" d="M1700.6,2440.5c-25.2,26-61.7,39-109.5,39c-47.8,0-84.3-13-109.5-39c-33.9-31.9-50.8-77.8-50.8-137.9
|
|
||||||
c0-61.2,16.9-107.2,50.8-137.9c25.2-26,61.7-39,109.5-39c47.8,0,84.3,13,109.5,39c33.7,30.7,50.6,76.6,50.6,137.9
|
|
||||||
C1751.2,2362.7,1734.3,2408.6,1700.6,2440.5z M1657,2389.7c16.2-20.4,24.4-49.4,24.4-87.1c0-37.5-8.1-66.5-24.4-86.9
|
|
||||||
c-16.2-20.5-38.2-30.7-65.9-30.7c-27.7,0-49.7,10.2-66.2,30.6c-16.5,20.4-24.7,49.4-24.7,87.1s8.2,66.7,24.7,87.1
|
|
||||||
c16.5,20.4,38.5,30.6,66.2,30.6C1618.8,2420.3,1640.7,2410.1,1657,2389.7z"/>
|
|
||||||
<path fill="#F39DA3" d="M1803.3,2136h73.2l132.7,233v-233h65.1v334.2h-69.8l-136.1-237.1v237.1h-65.1V2136z"/>
|
|
||||||
<path fill="#F39DA3" d="M2386.9,2195.2h-176.8v71h162.3v58h-162.3v85.9h185v60.1h-253.3V2136h245.1V2195.2z"/>
|
|
||||||
<path fill="#F39DA3" d="M2465.1,2137.1h71v84.7l-18.4,155.8H2484l-18.8-155.8V2137.1z M2466.7,2404.7h67.8v65.5h-67.8V2404.7z"
|
|
||||||
/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<path d="M1200.7,2160.8h-69v227.1h69c34.9,0,59.5-17.4,73.2-51.6c7.3-18.3,11-40.3,11-65.4c0-34.7-5.6-61.8-16.6-80.6
|
|
||||||
C1256.8,2170.7,1234,2160.8,1200.7,2160.8z M1265.5,2333c-12.4,30.9-33.6,45.9-64.9,45.9h-60v-209.1h60c29.9,0,50.1,8.4,59.8,25.1
|
|
||||||
c10.2,17.4,15.4,43,15.4,76.1C1275.9,2294.9,1272.4,2315.8,1265.5,2333z M1324.9,2154.3c-15-21.3-35-36.1-59.2-44.1
|
|
||||||
c-14.1-4.7-32-7.2-53.1-7.5h-148.6v343.2h148.6c52,0,91-21.7,116-64.6c18.2-31.4,27.4-70.1,27.4-115.2c0-17.8-2.2-36.7-6.5-56.3
|
|
||||||
C1345.1,2190,1336.8,2171.3,1324.9,2154.3z M1320.7,2376.8c-11.6,20-26.6,35.2-44.5,45.1c-17.9,10-39.4,15-63.7,15h-139.6v-325.2
|
|
||||||
h139.5c20.2,0.3,37.1,2.7,50.4,7c22.4,7.4,40.8,21.1,54.7,40.7c11.2,16.1,19,33.7,23.1,52.3c4.1,18.9,6.3,37.2,6.3,54.4
|
|
||||||
C1346.9,2309.6,1338.1,2346.8,1320.7,2376.8z M1664.2,2132.8c-26-26.7-63.9-40.3-112.6-40.3c-48.7,0-86.6,13.5-112.6,40.3
|
|
||||||
c-34.6,31.4-52.2,78.9-52.2,141.1c0,61,17.5,108.4,52.1,141.1c26,26.7,63.9,40.3,112.7,40.3c48.8,0,86.7-13.6,112.7-40.3
|
|
||||||
c34.4-32.6,51.9-80.1,51.9-141.1C1716.1,2211.7,1698.7,2164.2,1664.2,2132.8z M1658,2408.5l-0.1,0.1c-24.2,25-60,37.6-106.3,37.6
|
|
||||||
c-46.3,0-82-12.7-106.3-37.6l-0.1-0.1c-32.8-30.9-49.4-76.1-49.4-134.6c0-59.6,16.6-104.9,49.3-134.5l0.2-0.2
|
|
||||||
c24.2-25,60-37.6,106.3-37.6c46.3,0,82,12.7,106.3,37.6l0.2,0.2c32.6,29.7,49.1,74.9,49.1,134.5
|
|
||||||
C1707.1,2332.3,1690.6,2377.6,1658,2408.5z M1551.6,2151.7c-29,0-52.4,10.9-69.7,32.3c-17.1,21.1-25.7,51.4-25.7,89.9
|
|
||||||
c0,38.5,8.7,68.8,25.7,89.9c17.3,21.4,40.7,32.3,69.7,32.3c29,0,52.3-10.9,69.4-32.3c16.8-21.1,25.4-51.4,25.4-89.9
|
|
||||||
c0-38.3-8.5-68.5-25.3-89.7C1603.9,2162.6,1580.5,2151.7,1551.6,2151.7z M1613.9,2358.1c-15.5,19.5-35.9,28.9-62.3,28.9
|
|
||||||
c-26.5,0-47-9.5-62.7-28.9c-15.7-19.5-23.7-47.8-23.7-84.2s8-64.7,23.7-84.2c15.7-19.5,36.2-28.9,62.7-28.9
|
|
||||||
c26.5,0,46.8,9.5,62.3,29c15.5,19.6,23.4,47.9,23.4,84.2C1637.3,2310.3,1629.4,2338.6,1613.9,2358.1z M1965.1,2323.3L1840.9,2105
|
|
||||||
l-1.3-2.3h-80.3v343.2h74.1v-224.7l128.9,224.7h76.9v-343.2h-74.1V2323.3z M1974.1,2111.7h56.1v325.2h-62.7l-143.2-249.5v249.5
|
|
||||||
h-56.1v-325.2h66.1l139.8,245.5V2111.7z M2175,2299.9h162.3v-67H2175v-62h176.8v-68.2h-254.1v343.2H2360v-69.1h-185V2299.9z
|
|
||||||
M2351,2385.9v51.1h-244.3v-325.2h236.1v50.2H2166v80h162.3v49H2166v94.9H2351z M2421.1,2103.9v89.2l19.3,160.3h41.8l18.8-159.8
|
|
||||||
l0-89.7H2421.1z M2492.1,2192.8l-17.9,151.6h-25.8l-18.3-151.6v-79.9h62V2192.8z M2422.7,2445.9h76.8v-74.5h-76.8V2445.9z
|
|
||||||
M2431.7,2380.4h58.8v56.5h-58.8V2380.4z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<rect x="239.8" y="1074.9" fill="#E4DAD8" width="656.6" height="174.5"/>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M458.5,1312.6c0-7.4,4.8-11.1,14.4-11.1h5.1l4.6,0.5c2.5,0,4.2-0.8,5.1-2.3c0.9-1.5,1.4-4.3,1.4-8.4
|
|
||||||
c0-5.3-0.3-13.5-0.9-24.6c-0.9-7.4-2-20.7-3.2-39.9c-2.8-47.4-4.2-83.1-4.2-107.3c0-8.7,0.2-16.6,0.5-23.7l0.5-23.7
|
|
||||||
c0-10.2-0.5-18.7-1.4-25.5c-5,1.2-8.5,1.9-10.7,1.9c-7.4,0-11.1-3.7-11.1-11.1c0-3.7,2.3-7,7-9.8c4.6-2.8,10.5-4.8,17.6-6
|
|
||||||
c12.4-2.5,23.4-3.7,33-3.7c3.7,0,6.9,1.3,9.5,3.9c2.6,2.6,3.9,5.7,3.9,9.1c0,3.4-1,6.3-3,8.8c-2,2.5-4.6,3.7-7.7,3.7
|
|
||||||
c-1.9,0-3.4-0.2-4.6-0.5h-3.7c-3.1,0-5.3,0.7-6.7,2.1c-1.4,1.4-2.1,3.9-2.1,7.7c0,30,1.9,75.2,5.6,135.6
|
|
||||||
c0.6,11.1,1.9,27.6,3.7,49.2c1.5,14.2,2.3,28.8,2.3,43.6v17.6c1.9-0.3,4.9-0.5,9.3-0.5c13,0,19.5,5.4,19.5,16.3v2.8l-11.6,7.9
|
|
||||||
c-0.3,0-1.3,0.1-3,0.2c-1.7,0.2-4.9,0.2-9.5,0.2c-9.9,0.6-16.3,0.9-19,0.9C472,1326.6,458.5,1321.9,458.5,1312.6z"/>
|
|
||||||
<path fill="#333333" d="M574.8,1327.5c-3.9-3.1-6.1-7.1-6.7-12.1l5.1-7.9c1.9,0,4.8,0.6,8.8,1.9c4.6,0.9,8.2,1.4,10.7,1.4
|
|
||||||
c5.6,0,10.6-2.5,15.1-7.4c4.5-4.9,7.8-11.4,10-19.5c4-14.9,6-28.2,6-39.9c0-20.4-6.5-41.9-19.5-64.5l-5.1-8.8
|
|
||||||
c-5.9-10.2-10.8-19.3-14.9-27.4c-4-8-7.4-16.7-10.2-26c-3.7-12.1-5.6-24.1-5.6-36.2c0-13.6,3.1-27.9,9.3-42.7
|
|
||||||
c3.1-7.1,7.5-12.9,13.2-17.4c5.7-4.5,12.1-6.7,19.3-6.7c5.6,0,10.8,1.8,15.6,5.3c4.8,3.6,7.2,7.8,7.2,12.8c0,2.8-1.1,5-3.3,6.5
|
|
||||||
c-2.2,1.6-4.8,2.3-7.9,2.3c-3.4,0-6.7-0.9-9.8-2.8c-6.8,0.3-12.2,6.3-16.3,18.1c-3.4,10.8-5.1,19.8-5.1,26.9c0,9,1.4,18,4.2,27.2
|
|
||||||
c2.8,9.1,6.3,17.4,10.7,24.8l10.2,18.6l16.3,30.6c4.3,8.7,7.8,18.7,10.4,30.2c2.6,11.5,3.9,23.1,3.9,34.8
|
|
||||||
c0,18.9-4.3,36.8-13,53.9c-4.3,8.7-10.4,15.6-18.3,20.9s-16.6,7.9-26.2,7.9v1.4C583.4,1332.6,578.7,1330.6,574.8,1327.5z"/>
|
|
||||||
</g>
|
|
||||||
<path fill="#333333" d="M428,1164c-20.7-23.1-45.4-42.6-64.7-67.1c-4.2-5.3-13.5,1.9-9.4,7.3c1.6,2,1.6,4.1,1.6,6.6
|
|
||||||
c0,4.9,4.9,6.7,8.4,5.4c16.1,18,34.6,33.8,51.1,51.5c-12.6,9.9-24.9,20.2-36.5,31.2c-11.8,11-24.9,23.5-31.8,38.4
|
|
||||||
c-3.2,7,7.1,13.1,10.3,6c6.7-14.6,19.6-26.3,31.1-37.1c12.7-11.9,26.1-22.9,39.8-33.6C430.6,1170.4,429.9,1166.2,428,1164z"/>
|
|
||||||
<path fill="#333333" d="M356.1,1137.6c-9.2-7.5-20.3-13.3-28.8-21.5c-5.6-5.4-14.1,3.1-8.5,8.5c7.6,7.3,17.2,12.6,25.5,18.9
|
|
||||||
c4.9,3.7,9.7,7.8,13.9,12.4c1.6,1.7,2.9,3.6,3.9,5.7c0.9,1.9,0.5,1.3,0.2,2.3c-1,2.9-5.2,7.1-7.6,9.8c-4.3,4.7-8.9,9.1-13.5,13.6
|
|
||||||
c-7.5,7.2-16,14-22.4,22.2c-4.7,6,3.7,14.6,8.5,8.5c7.2-9.3,17-17,25.5-25.2c7.5-7.2,18.7-16.3,21.5-26.8
|
|
||||||
C377.3,1154.7,363.6,1143.7,356.1,1137.6z"/>
|
|
||||||
<path fill="#333333" d="M659.8,1164c20.7-23.1,45.4-42.6,64.7-67.1c4.2-5.3,13.5,1.9,9.4,7.3c-1.6,2-1.6,4.1-1.6,6.6
|
|
||||||
c0,4.9-4.9,6.7-8.4,5.4c-16.1,18-34.6,33.8-51.1,51.5c12.6,9.9,24.9,20.2,36.5,31.2c11.8,11,24.9,23.5,31.8,38.4
|
|
||||||
c3.2,7-7.1,13.1-10.3,6c-6.7-14.6-19.6-26.3-31.1-37.1c-12.7-11.9-26.1-22.9-39.8-33.6C657.1,1170.4,657.8,1166.2,659.8,1164z"/>
|
|
||||||
<path fill="#333333" d="M731.6,1137.6c9.2-7.5,20.3-13.3,28.8-21.5c5.6-5.4,14.1,3.1,8.5,8.5c-7.6,7.3-17.2,12.6-25.5,18.9
|
|
||||||
c-4.9,3.7-9.7,7.8-13.9,12.4c-1.6,1.7-2.9,3.6-3.9,5.7c-0.9,1.9-0.5,1.3-0.2,2.3c1,2.9,5.2,7.1,7.6,9.8c4.3,4.7,8.9,9.1,13.5,13.6
|
|
||||||
c7.5,7.2,16,14,22.4,22.2c4.7,6-3.7,14.6-8.5,8.5c-7.2-9.3-17-17-25.5-25.2c-7.5-7.2-18.7-16.3-21.5-26.8
|
|
||||||
C710.4,1154.7,724.1,1143.7,731.6,1137.6z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<path fill="#F39DA3" d="M2550.7,553.8c-758.8,355.4-1517.7-355.4-2276.5,0c0-59.2,0-53.8,0-113c758.8-355.4,1517.7,355.4,2276.5,0
|
|
||||||
C2550.7,500.1,2550.7,494.6,2550.7,553.8z"/>
|
|
||||||
<g>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M344,551.6c0,13,2.6,24.3,7.9,34.1c5.3,9.7,12.2,17.4,20.9,23.1c8.7,5.7,18.6,9.2,29.7,10.7
|
|
||||||
c11.1,1.5,22.8,0.5,34.8-3c10.8-3.1,19.8-8.4,26.9-16.1c7.1-7.7,11.4-19.1,13-34.3c0.5-0.6,0.9-1.2,1.4-1.7
|
|
||||||
c10.8,0.2,18.5,2.9,23,7.8c4.5,4.9,6.7,10.8,6.7,17.6c0,8.4-2.4,14.7-7.2,18.9c-4.8,4.3-9.4,7.7-13.7,10.2
|
|
||||||
c0,5.6-1.4,10.3-4.2,14.2c-2.8,3.9-6.1,7.2-10,9.8c-3.9,2.6-8.1,4.8-12.5,6.4c-4.5,1.6-8.4,2.9-11.8,3.8
|
|
||||||
c-13,3.5-24.8,4.8-35.5,3.6c-10.7-1.2-20.7-3.3-30-6.6s-18.1-7.2-26.5-12c-8.4-4.7-16.8-8.6-25.3-11.6c-8.5-3-17.3-4.7-26.5-5.2
|
|
||||||
c-9.1-0.4-19.1,1.9-30,7.2c-4.8,2.3-9.6,4.7-14.4,7.1c0-6.5,0-13,0-19.5c4-2,8.5-4.5,13.5-7.4c4.9-2.9,9.4-6.5,13.5-10.8
|
|
||||||
c4-4.4,7.4-9.9,10.2-16.5c2.8-6.7,4.2-15,4.2-24.9c0-90.7,0-181.4,0-272.1c0-9.6-3.6-15.3-10.9-17.1c-7.3-1.7-17.4,0.5-30.4,7
|
|
||||||
c0-5.3,1.9-10.8,5.6-16.5c3.7-5.7,10.2-10.9,19.5-15.2c8-3.8,15.2-5.6,21.6-5.7c6.3,0,11.5,1.2,15.6,3.5
|
|
||||||
c4-5.7,9.2-11.3,15.6-16.6c6.3-5.3,13.5-9.6,21.6-12.6c9.3-3.5,15.8-3.8,19.5-1.3c3.7,2.6,5.6,6.5,5.6,11.8
|
|
||||||
c-12.7,4.4-22.8,10.7-30.2,18.6c-7.4,8-11.1,16.8-11.1,26.4C344,361.8,344,456.7,344,551.6z"/>
|
|
||||||
<path fill="#333333" d="M574.3,544.3c-15.5,2.2-29.8,1.8-43-1.1c-13.2-3-24.7-8.3-34.6-16c-9.9-7.7-17.6-17.8-23.2-30.4
|
|
||||||
c-5.6-12.6-8.4-27.5-8.4-44.8c0-17.6,2.8-34,8.4-49c5.6-15,13.3-28.4,23.2-40c9.9-11.6,21.4-21.1,34.6-28.3
|
|
||||||
c13.2-7.2,27.5-12,43-14.2c15.2-2.1,29.4-1.4,42.7,2c13.3,3.5,24.9,9.6,34.8,18.4c9.9,8.8,17.6,19.9,23.2,33.2
|
|
||||||
c5.6,13.4,8.4,28.9,8.4,46.5c0,17.6-2.8,33.5-8.4,47.8c-5.6,14.2-13.3,26.6-23.2,37.1c-9.9,10.6-21.5,19.1-34.8,25.7
|
|
||||||
C603.7,537.9,589.5,542.2,574.3,544.3z M574.8,522.9c11.4-1.6,21.2-5.3,29.3-11.1c8-5.9,14.7-13.3,20-22.3
|
|
||||||
c5.3-9,9.1-19.2,11.6-30.5c2.5-11.4,3.7-23.2,3.7-35.6c0-12.1-1.2-23.4-3.7-34.1c-2.5-10.6-6.3-19.7-11.6-27.1
|
|
||||||
c-5.3-7.4-12-13-20.2-16.7c-8.2-3.7-18-4.8-29.5-3.2c-11.5,1.6-21.3,5.4-29.5,11.3c-8.2,5.9-14.9,13.3-20.2,22.2
|
|
||||||
c-5.3,8.9-9.1,19-11.6,30.4c-2.5,11.3-3.7,23.2-3.7,35.6c0,12.4,1.2,23.9,3.7,34.5c2.5,10.6,6.4,19.7,11.8,27.2
|
|
||||||
c5.4,7.5,12.2,13,20.4,16.5C553.5,523.6,563.3,524.5,574.8,522.9z"/>
|
|
||||||
<path fill="#333333" d="M820,535.9c-18.3-1.1-32.6-5.3-43-12.9c-10.4-7.6-18.2-16.9-23.4-28.1c-5.3-11.2-8.6-23.3-10-36.3
|
|
||||||
c-1.4-13-2.1-25.2-2.1-36.7c0-17-0.2-30.4-0.7-40.2c-0.5-9.8-1.7-17.1-3.7-22.1c-2-4.9-5-8.1-9.1-9.5c-4-1.4-9.8-2-17.2-1.9
|
|
||||||
c0-4.6,0-9.3,0-13.9c7.7-0.2,14.3-0.7,19.7-1.6c5.4-1,10.3-2.3,14.6-4.2c4.3-1.8,8.4-3.9,12.1-6.4c3.7-2.4,7.7-5,12.1-7.6
|
|
||||||
c4.6,0.1,9.3,0.3,13.9,0.4c0,32.7,0,65.3,0,98c0,7.7,0.3,17.2,0.9,28.4c0.6,11.2,2.5,21.9,5.6,32.2c3.1,10.3,7.7,19.3,13.9,26.9
|
|
||||||
c6.2,7.6,14.9,11.7,26,12.4c9.6,0.6,18.1-1.6,25.5-6.9c7.4-5.3,13.6-12.5,18.6-21.8c4.9-9.3,8.7-20.3,11.1-33
|
|
||||||
c2.5-12.7,3.7-26.4,3.7-40.9c0-10.8-0.9-20.8-2.6-29.7c-1.7-9-4.6-16.8-8.8-23.4c-4.2-6.6-9.9-12.2-17.2-16.7
|
|
||||||
c-7.3-4.5-16.5-7.8-27.6-9.8c3.4-5,8.1-9,14.2-11.7c6-2.8,12.1-3.9,18.3-3.3c2.5,0.2,5.2,0.8,8.1,1.7c2.9,0.9,5.6,2,8.1,3.3
|
|
||||||
c2.5,1.3,4.6,3,6.3,5c1.7,2,2.6,4.3,2.6,6.8c10.2,1.1,16.8,6.2,19.7,15.2c2.9,9,4.4,23.3,4.4,42.8c0,18.3-1.1,36.4-3.2,54.4
|
|
||||||
c-2.2,18-6.7,34-13.5,47.9c-6.8,14-16.3,25-28.6,33.1C856.7,533.8,840.4,537.1,820,535.9z"/>
|
|
||||||
<path fill="#333333" d="M1024.7,508.2c0,6.2,1,11.5,3,15.8c2,4.4,4.5,8.1,7.4,11.1c2.9,3,6.3,5.4,10.2,7.2
|
|
||||||
c3.9,1.8,7.7,3,11.4,3.7c0,4.6,0,9.3,0,13.9c-3.7-0.7-7.8-1.7-12.3-3c-4.5-1.3-9.2-2.7-14.2-4.2c-5-1.5-9.7-2.8-14.2-4.1
|
|
||||||
c-4.5-1.2-8.6-2.1-12.3-2.8c-3.7-0.6-7.8-1-12.3-1.3c-4.5-0.2-9.2-0.4-14.2-0.6c-5-0.1-9.7-0.3-14.2-0.5
|
|
||||||
c-4.5-0.2-8.6-0.5-12.3-1c0-4.6,0-9.3,0-13.9c8.4,1.2,15.8-0.1,22.3-3.8c6.5-3.7,9.8-11.5,9.8-23.6c0-26.6,0-53.2,0-79.9
|
|
||||||
c0-11.4-0.2-21-0.7-28.7c-0.5-7.7-1.8-13.7-3.9-18.2c-2.2-4.5-5.3-7.9-9.3-10.2c-4-2.3-9.6-4-16.7-5c0-4.6,0-9.3,0-13.9
|
|
||||||
c7.7,1.1,14.3,1.6,19.7,1.5c5.4-0.1,10.3-0.8,14.6-1.9c4.3-1.2,8.4-2.7,12.1-4.6c3.7-1.9,7.7-3.8,12.1-5.9
|
|
||||||
c4.6,0.8,9.3,1.6,13.9,2.4C1024.7,394,1024.7,451.1,1024.7,508.2z M972.3,259.6c0-9.3,3.3-16.6,9.8-22
|
|
||||||
c6.5-5.3,14.2-7.3,23.2-5.8c9,1.5,16.6,6,23,13.4c6.3,7.5,9.5,15.9,9.5,25.1c0,9.3-3.2,16.5-9.5,21.8c-6.3,5.2-14,7.1-23,5.6
|
|
||||||
c-9-1.5-16.7-5.9-23.2-13.2C975.5,277.2,972.3,268.9,972.3,259.6z"/>
|
|
||||||
<path fill="#333333" d="M1265.3,518.8c0-20.7-1-38.3-3-52.7c-2-14.4-5-26.3-9.1-35.6c-4-9.3-9.1-16.5-15.3-21.5
|
|
||||||
c-6.2-5-13.3-8.5-21.4-10.4c-8.1-1.9-15.7-2.1-23-0.7c-7.3,1.4-13.7,4.9-19.3,10.3c-5.6,5.4-10,13.1-13.2,23.1
|
|
||||||
c-3.3,10-4.9,22.4-4.9,37.2c0,22,0,44,0,65.9c0,6.2,1,11.5,3,16c2,4.5,4.5,8.3,7.4,11.4c2.9,3.1,6.3,5.7,10.2,7.6
|
|
||||||
c3.9,2,7.7,3.4,11.4,4.2c0,4.6,0,9.3,0,13.9c-3.7-0.8-7.8-2-12.3-3.5c-4.5-1.5-9.2-3.1-14.2-4.8c-5-1.7-9.7-3.3-14.2-4.7
|
|
||||||
c-4.5-1.4-8.6-2.6-12.3-3.4c-3.7-0.8-7.8-1.4-12.3-1.9c-4.5-0.5-9.2-0.9-14.2-1.3c-5-0.4-9.7-0.8-14.2-1.3
|
|
||||||
c-4.5-0.4-8.6-1-12.3-1.7c0-4.6,0-9.3,0-13.9c8.4,1.6,15.8,0.8,22.3-2.5c6.5-3.3,9.8-11,9.8-23.1c0-25.8,0-51.7,0-77.5
|
|
||||||
c0-11.5-0.2-21-0.7-28.7c-0.5-7.7-1.8-13.8-3.9-18.5c-2.2-4.6-5.3-8.2-9.3-10.7c-4-2.5-9.6-4.5-16.7-5.9c0-3.9,0-7.7,0-11.6
|
|
||||||
c7.7,1.5,14.5,2.4,20.2,2.7c5.7,0.2,10.9-0.1,15.6-1c4.6-0.9,8.9-2.1,12.8-3.8c3.9-1.7,8-3.4,12.3-5.2c3.9,0.8,7.7,1.7,11.6,2.5
|
|
||||||
c0,10.8,0,21.7,0,32.5c5.9-9.5,14-16.6,24.4-21.3c10.4-4.6,22.7-5.3,36.9-1.9c30.6,7.2,53.2,22,67.8,44.2
|
|
||||||
c14.5,22.1,21.8,54.8,21.8,97.8c0,16.3,0,32.5,0,48.8c0,6.2,1,11.6,3,16.1c2,4.5,4.5,8.4,7.4,11.6c2.9,3.2,6.3,5.8,10.2,7.9
|
|
||||||
c3.9,2.1,7.7,3.5,11.4,4.5c0,5.4,0,10.8,0,16.3c-4-1-7.6-2.1-10.7-3.4c-3.1-1.2-6.3-2.5-9.5-3.8c-3.2-1.3-7-2.7-11.1-4.2
|
|
||||||
c-4.2-1.5-9.2-3-15.1-4.4c-4-1-8.6-1.9-13.7-2.7c-5.1-0.8-11.2-1.1-18.3-1c-1.4-3-2.8-5.9-4.2-8.9c2.2-1.6,3.9-5.2,5.1-10.6
|
|
||||||
c1.2-5.4,2.1-11.8,2.6-19.1c0.5-7.3,0.8-15.1,0.9-23.5C1265.2,534.1,1265.3,526.2,1265.3,518.8z"/>
|
|
||||||
<path fill="#333333" d="M1467.7,662.6c-16.7-4.1-31.4-10.6-44.1-19.4c-12.7-8.8-23.4-19.3-32-31.5
|
|
||||||
c-8.7-12.2-15.2-25.9-19.5-40.9c-4.3-15-6.5-30.9-6.5-47.6c0-19.5,3-35.4,9.1-47.6c6-12.3,13.9-21.6,23.7-28.2
|
|
||||||
c9.8-6.5,20.9-10.3,33.4-11.3c12.5-1,25.3,0.1,38.3,3.3c13.9,3.4,26.3,8.6,37.1,15.4c10.8,6.8,20.9,17.7,30.2,32.6
|
|
||||||
c1.9-6.4,4.8-10.9,8.8-13.5c4-2.6,8.7-4.1,13.9-4.6c5.3-0.5,10.8-0.2,16.7,0.9c5.9,1,11.6,2.2,17.2,3.5c0,4.6,0,9.3,0,13.9
|
|
||||||
c-4-0.9-7.4-0.8-10,0.3c-2.6,1.1-4.6,5.1-6,12.1c-1.4,7-2.3,17.6-2.8,31.9c-0.5,14.3-0.7,34.1-0.7,59.5c0,35.3,0,70.6,0,105.9
|
|
||||||
c0,35.3-8.8,58.9-26.2,70.7c-17.5,11.8-45,13.2-82.4,3.9c-22.9-5.7-39.9-12.4-50.8-20.1c-11-7.7-16.5-15.3-16.5-22.7
|
|
||||||
c-8.1-2-13.8-6.2-17.2-12.4c-3.4-6.3-5.1-12.2-5.1-17.8c0-5.3,1.2-9.5,3.7-12.8c2.5-3.3,5.6-5.6,9.3-7.2
|
|
||||||
c3.7-1.5,7.7-2.4,11.8-2.6c4.2-0.2,8,0.1,11.4,1c0,8.4,1,16.4,3,24.2c2,7.8,5.3,15,10,21.5c4.6,6.6,10.6,12.4,17.9,17.5
|
|
||||||
c7.3,5.1,16.2,8.9,26.7,11.5c9.3,2.3,17.8,3,25.5,2.1c7.7-0.9,14.3-3.9,19.7-9.1c5.4-5.2,9.7-12.7,12.8-22.5
|
|
||||||
c3.1-9.8,4.6-22.4,4.6-37.9c0-10.1,0-20.1,0-30.2c-10.5,7.7-21.4,11.7-32.5,11.9C1489.1,666.4,1478.2,665.2,1467.7,662.6z
|
|
||||||
M1474.7,642.9c10.5,2.6,19.8,2.5,27.9-0.4c8-2.8,14.6-7.8,19.7-15c5.1-7.1,9-15.9,11.6-26.2c2.6-10.4,3.9-21.9,3.9-34.6
|
|
||||||
c0-12.1-1.2-23.7-3.7-35c-2.5-11.3-6.3-21.6-11.6-31.1c-5.3-9.5-11.8-17.5-19.7-24c-7.9-6.6-17.4-11.2-28.6-14
|
|
||||||
c-12.1-3-22.3-3.3-30.6-0.9c-8.4,2.4-15,6.9-20,13.6c-5,6.7-8.5,15-10.7,25.2c-2.2,10.1-3.3,21.4-3.3,33.8c0,12.1,1,23.9,3,35.6
|
|
||||||
c2,11.6,5.6,22.4,10.7,32.2c5.1,9.8,11.8,18.3,20,25.4C1451.5,634.6,1462,639.8,1474.7,642.9z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M1770,616.1c-0.3-16.8-0.7-30.1-1.2-39.9c-0.5-9.8-1.6-17.4-3.5-22.9c-1.9-5.4-4.8-9.2-8.8-11.2
|
|
||||||
c-4-2.1-9.8-3.8-17.2-5.1c0-4.6,0-9.3,0-13.9c7.7,1.4,14.3,2,19.7,2c5.4,0,10.3-0.6,14.6-1.8c4.3-1.2,8.4-2.7,12.1-4.6
|
|
||||||
c3.7-1.9,7.7-3.9,12.1-6c4.6,0.7,9.3,1.4,13.9,2.1c0,32.7,0,65.3,0,98c0,18.6,1.1,34.4,3.2,47.4c2.2,13,5.3,23.7,9.5,32
|
|
||||||
c4.2,8.3,9.1,14.6,14.9,18.7c5.7,4.2,12.1,6.7,19.3,7.5c6.8,0.8,13.6,0.1,20.4-2.1c6.8-2.2,13-6.4,18.6-12.5
|
|
||||||
c5.6-6.1,10.1-14.3,13.5-24.5c3.4-10.2,5.1-22.9,5.1-38.1c0-7.6,0-15.2,0-22.8c0-11.4-0.2-21-0.7-28.6c-0.5-7.6-1.8-13.6-3.9-18
|
|
||||||
c-2.2-4.4-5.3-7.6-9.3-9.7c-4-2.1-9.6-3.5-16.7-4.2c0-4.6,0-9.3,0-13.9c7.7,0.8,14.3,1,19.7,0.5c5.4-0.4,10.3-1.4,14.6-2.9
|
|
||||||
c4.3-1.5,8.4-3.3,12.1-5.6c3.7-2.2,7.7-4.5,12.1-7c4.6,0.3,9.3,0.6,13.9,0.9c0,76,0,152,0,228c0,35.9-8.2,61.3-24.6,75.7
|
|
||||||
c-16.4,14.4-42,20.1-76.6,16c-19.8-2.4-34.9-6.5-45.3-12c-10.4-5.5-15.6-11.4-15.6-17.6c-8.1-1.2-13.8-4.8-17.2-10.8
|
|
||||||
c-3.4-6-5.1-11.7-5.1-17.3c0-5.3,1.2-9.6,3.7-13.1c2.5-3.5,5.6-6.2,9.3-8c3.7-1.9,7.7-3.2,11.8-3.8c4.2-0.6,8-0.7,11.4-0.2
|
|
||||||
c0,7.7,0.9,15.1,2.8,22c1.9,6.9,4.9,13.2,9.1,18.9c4.2,5.7,9.5,10.4,16,14.2c6.5,3.8,14.4,6.3,23.7,7.3c8.4,1,15.9,0.4,22.5-1.7
|
|
||||||
c6.7-2.1,12.4-6.2,17.2-12.2c4.8-6.1,8.5-14.2,11.1-24.5c2.6-10.3,3.9-23.2,3.9-38.7c0-14.4,0-28.8,0-43.2
|
|
||||||
c-3.1,5-6.4,9.6-10,13.8c-3.6,4.2-7.9,7.6-13,10.4c-5.1,2.7-11.1,4.8-18.1,6c-7,1.2-15.2,1.3-24.8,0.1
|
|
||||||
c-15.2-1.9-27.8-6-37.8-12.3c-10.1-6.2-18.3-14.6-24.6-25c-6.3-10.4-10.8-22.8-13.5-37.2C1771.8,650.3,1770.3,634.1,1770,616.1z
|
|
||||||
"/>
|
|
||||||
<path fill="#333333" d="M2122.4,748.3c-15.5,1.1-29.8-0.9-43-5.9c-13.2-5-24.7-12.4-34.6-22.3c-9.9-9.8-17.6-21.8-23.2-35.8
|
|
||||||
c-5.6-14-8.4-29.7-8.4-47c0-17.6,2.8-33.2,8.4-46.8c5.6-13.6,13.3-25,23.2-34.5c9.9-9.5,21.4-16.8,34.6-22.1
|
|
||||||
c13.2-5.2,27.5-8.3,43-9.4c15.2-1.1,29.4,0,42.7,3.4c13.3,3.3,24.9,9,34.8,17c9.9,8,17.6,18.3,23.2,31
|
|
||||||
c5.6,12.7,8.4,27.8,8.4,45.5c0,17.6-2.8,33.9-8.4,48.8c-5.6,14.8-13.3,28-23.2,39.3c-9.9,11.3-21.5,20.4-34.8,27.1
|
|
||||||
C2151.8,743.3,2137.6,747.3,2122.4,748.3z M2122.9,726.9c11.5-0.8,21.2-4.2,29.3-9.9c8-5.7,14.7-13.2,20-22.3
|
|
||||||
c5.3-9.1,9.1-19.4,11.6-30.9c2.5-11.5,3.7-23.4,3.7-35.8c0-12.1-1.2-23.4-3.7-33.9c-2.5-10.5-6.3-19.4-11.6-26.7
|
|
||||||
c-5.3-7.3-12-12.8-20.2-16.7c-8.2-3.8-18-5.3-29.5-4.5c-11.5,0.8-21.3,3.6-29.5,8.4c-8.2,4.9-14.9,11.3-20.2,19.3
|
|
||||||
c-5.3,8-9.1,17.5-11.6,28.4c-2.5,10.9-3.7,22.5-3.7,34.9c0,12.4,1.2,24.1,3.7,35.2c2.5,11.1,6.4,20.8,11.8,29.2
|
|
||||||
c5.4,8.4,12.2,14.9,20.4,19.4C2101.6,725.8,2111.4,727.7,2122.9,726.9z"/>
|
|
||||||
<path fill="#333333" d="M2438.6,548.2c0-11.4-0.2-20.9-0.7-28.3c-0.5-7.4-1.8-12.7-3.9-16c-2.2-3.3-5.3-5-9.3-5.1
|
|
||||||
c-4-0.1-9.6,1.2-16.7,3.8c0-4.6,0-9.3,0-13.9c7.7-2.9,14.3-5.9,19.7-8.9c5.4-3.1,10.3-6.4,14.6-10.1c4.3-3.6,8.4-7.5,12.1-11.6
|
|
||||||
c3.7-4.1,7.7-8.4,12.1-13.1c4.6-2.1,9.3-4.2,13.9-6.3c0,54.9,0,109.9,0,164.8c0,6.2,1,10.8,3,13.9c2,3.1,4.5,5.2,7.4,6.3
|
|
||||||
c2.9,1.1,6.3,1.2,10.2,0.4c3.9-0.8,7.7-2.1,11.4-4c0,5.4,0,10.8,0,16.3c-7.1,2.7-13.2,4.8-18.3,6.4c-5.1,1.7-11.5,4.3-19.3,7.8
|
|
||||||
c-10.5,4.8-21.1,10.4-31.6,16.9c-1.5-0.9-3.1-1.8-4.6-2.7c0-8.7,0-17.3,0-26c-3.4,6.7-6.9,12.9-10.4,18.8
|
|
||||||
c-3.6,5.9-7.8,11.4-12.8,16.5c-5,5.1-10.7,9.9-17.2,14.2c-6.5,4.3-14.2,8-23.2,11c-31,10.2-53.1,6.4-66.4-9.2
|
|
||||||
c-13.3-15.7-20.3-41.7-20.9-77.8c-0.3-16.6-0.7-29.8-1.2-39.4c-0.5-9.6-1.6-16.8-3.5-21.5c-1.9-4.7-4.8-7.3-8.8-7.8
|
|
||||||
c-4-0.5-9.8,0-17.2,1.5c0-4.6,0-9.3,0-13.9c7.7-1.5,14.3-3.4,19.7-5.5c5.4-2.1,10.3-4.6,14.6-7.5c4.3-2.9,8.4-6,12.1-9.4
|
|
||||||
c3.7-3.4,7.7-7.1,12.1-11c4.6-1.2,9.3-2.5,13.9-3.8c0,32.7,0,65.3,0,98c0,18.9,1.2,34.3,3.7,46.3c2.5,12,6,21.2,10.4,27.6
|
|
||||||
c4.5,6.4,9.8,10.3,16,11.6c6.2,1.3,13,0.8,20.4-1.7c8.7-2.9,16.6-8,23.9-15.1c7.3-7.1,13.5-15.8,18.6-25.8
|
|
||||||
c5.1-10,9.1-21.1,11.8-33.2c2.8-12.1,4.2-24.5,4.2-37.2C2438.6,559,2438.6,553.6,2438.6,548.2z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<path fill="#333333" d="M1286.6,691c-61.5,31.3-134.1,13.4-196.7-4.8c-34.3-9.9-68.6-20-102.6-31c-35.5-11.5-71-23.4-106.9-33.8
|
|
||||||
c-63.9-18.5-130.6-33.9-197.5-25.6c-58.5,7.3-115.3,30.6-159.3,70.3c-10.4,9.3-19.3,19.8-28.5,30.3c-9.7,11-18.6,22.9-25.3,35.9
|
|
||||||
c-6.3,12-10.3,25.1-12.1,38.5c-0.8,6-2.1,12.5-2,18.6c0,1.6,0.4,3.1,1.1,4.4c0.2,0.4,0.5,0.8,0.8,1.1c2.9,4.6,11.5,3.6,11.1-3
|
|
||||||
c-0.1-1.4-0.4-2.7-1.1-3.9c0-2.2,0.5-4.4,0.9-6.5c0.7-4.3,0.9-8.7,1.6-13.1c2.5-14.7,8.3-28.3,16.2-40.9
|
|
||||||
c8.3-13.3,19-25.1,29.5-36.8c9.9-11,21-21,32.8-29.9c47.5-35.9,107.2-53.9,166.3-55.6c32.8-1,65.1,4.2,97.1,11
|
|
||||||
c36.6,7.8,72.5,18.4,108.2,29.7c68.2,21.6,136.1,45.4,205.7,62.3c54.8,13.3,114.8,19.4,166.7-7
|
|
||||||
C1299.5,697.8,1293.4,687.5,1286.6,691z"/>
|
|
||||||
<path fill="#333333" d="M2615.3,700.1c-19.5-21.1-46.2-31.3-74.7-29.9c-31.1,1.5-60.2,16.2-86,32.6c-23.5,15-45.3,32.5-67.9,48.8
|
|
||||||
c-41.5,30-84.2,58.7-130.4,81c-44,21.3-95.6,39.1-144.9,29c-26.7-5.4-49.6-20.1-67.4-40.4c-5.1-5.8-13.6,2.7-8.5,8.5
|
|
||||||
c16.4,18.6,37,32.7,60.7,40.3c22.6,7.2,47,7.6,70.4,4.4c52.1-7.3,101-31.8,145.7-58.5c10.4-6.2,20.5-12.7,30.6-19.3
|
|
||||||
c1.7,1.5,4.1,2.1,6.7,0.6c28.2-16.6,55.8-35.1,87.2-45.2c25.8-8.3,55.9-10.6,80.3,3.2c37.7,21.3,33.5,71.2,13.1,103
|
|
||||||
c-4.9,7.7-11,14.5-17.7,20.7c-5.7,5.3,2.8,13.7,8.5,8.5c30.4-28.1,48.1-74.8,29.1-114.1c-9-18.6-26.8-30.9-46.3-36.4
|
|
||||||
c-29.2-8.1-60.8-1.3-88.1,10.3c-2.4,1-4.8,2.1-7.2,3.2c9.6-7,19.1-14,28.7-21c45.9-33.3,112.5-71.5,163.7-26.4
|
|
||||||
c17.3,15.2,31.2,39.9,18.4,62.2c-3.9,6.7,6.5,12.7,10.3,6C2643.8,746.5,2633.2,719.5,2615.3,700.1z"/>
|
|
||||||
<path fill="#333333" d="M2337.5,739.8c-8.2,10.5-19.4,19-29.9,27c-16.6,12.6-34.3,24-52.4,34.4c-19.3,11.1-39.5,20.9-60.6,28.2
|
|
||||||
c-17.6,6.1-36.5,10.7-55.3,8.7c-9.7-1-19-5-25.8-12.1c-5.4-5.5-13.9,2.9-8.5,8.5c26.5,27.2,71.8,14.7,102.5,2.9
|
|
||||||
c40.1-15.4,77.8-38.2,111.6-64.5c9.5-7.4,19.4-15.2,26.9-24.7C2350.6,742.3,2342.2,733.7,2337.5,739.8z"/>
|
|
||||||
<path fill="#333333" d="M2477.5,771.9c-7.5-1.9-10.7,9.7-3.2,11.6c26.8,6.8,29.3,48.6,5.8,60.9c-6.8,3.6-0.8,13.9,6,10.3
|
|
||||||
C2518.8,837.5,2514.2,781.1,2477.5,771.9z"/>
|
|
||||||
<path fill="#333333" d="M2541.4,704.7c-7.2,2.7-4.1,14.3,3.2,11.6c14.1-5.4,26.8-1.8,36.6,9.6c9.1,10.6,13.1,26.8,11.2,40.5
|
|
||||||
c-1.1,7.6,10.5,10.8,11.6,3.2C2608.9,734.2,2581.8,689.4,2541.4,704.7z"/>
|
|
||||||
<path fill="#333333" d="M1268.6,730.3c-2.3,2.6-4.1,5.4-6.1,8.3c-1.4,2.1-4.5,3.3-6.6,4.5c-5,2.8-10.2,5-15.6,6.9
|
|
||||||
c-11,3.9-22.5,6-34.1,7c-26.3,2.3-52.8-0.8-78.6-5.9c-53.1-10.4-104.3-29.5-154.2-50.2c-16.7-6.9-33.1-14.4-50-20.5
|
|
||||||
c-18.2-6.6-36.9-12.1-55.8-16.6c-40.9-9.7-84.5-15.2-126.3-7.8c-20.2,3.6-39.6,11.2-55.7,24c-16.6,13.2-27.2,32.5-32.2,52.9
|
|
||||||
c-1.8,7.5,9.7,10.7,11.6,3.2c21.9-89,136.4-76.2,204.3-59.6c18.5,4.5,36.8,10.2,54.7,16.8c17.4,6.5,34.2,14.2,51.4,21.3
|
|
||||||
c50.3,20.6,101.9,39.4,155.5,49.3c26.6,4.9,54,7.5,81,4.5c12.1-1.4,23.9-3.9,35.3-8.2c5.4-2.1,10.7-4.5,15.8-7.4
|
|
||||||
c2.1-1.2,5.2-2.5,6.8-4.4c2.7-3,4.5-6.6,7.2-9.6C1282.2,733,1273.7,724.5,1268.6,730.3z"/>
|
|
||||||
<path fill="#333333" d="M1186.5,678.2c-63.2-0.3-125.1-22.6-181.5-49.5c-6.9-3.3-13,7-6,10.3c58.4,27.8,122.1,50.9,187.6,51.1
|
|
||||||
C1194.3,690.2,1194.3,678.2,1186.5,678.2z"/>
|
|
||||||
<path fill="#333333" d="M863.6,714.9c-60.2-41.2-189.5,1.3-162.2,88.3c2.3,7.3,13.9,4.2,11.6-3.2
|
|
||||||
c-24.1-76.7,93.2-109.9,144.6-74.7C864,729.7,870,719.3,863.6,714.9z"/>
|
|
||||||
<path fill="#333333" d="M620.9,663.8c-28.2,1.9-53.6,21.5-72.6,41c-19.1,19.6-38.5,46.7-38.9,75.2c-0.1,7.7,11.9,7.7,12,0
|
|
||||||
c0.3-24.9,18-48.3,34.2-65.6c16.5-17.5,40.1-37,65.2-38.7C628.6,675.3,628.7,663.3,620.9,663.8z"/>
|
|
||||||
<path fill="#333333" d="M2644.3,257.2c-65.6-33.2-140.2-35.9-210.5-17.1c-35.4,9.5-69.3,24.4-101,42.7
|
|
||||||
c-32.2,18.5-63,39.7-94.9,58.7c-12.8,7.6-25.7,15-38.7,22.2c-1,0.3-1.9,0.5-2.9,0.8c-1.8,0.5-3,1.5-3.6,2.8
|
|
||||||
c-48,26-98,48.4-150.9,62.6c-35.5,9.5-71.9,14.9-108.7,16c-39.5,1.2-79.3-2.6-118.5-7.7c24.6-3.2,48.7-9.5,71.4-19
|
|
||||||
c27.9-11.7,51.3-28.7,72.8-49.8c24.3-23.8,45.6-50.4,68.4-75.6c17.5-19.3,36.1-37.9,57.1-53.4c17.2-12.7,35.8-23.6,55-33
|
|
||||||
c20.5-10.1,42.3-18.2,65-22.1c18.6-3.2,39.1-2.6,55.4,8c6.5,4.2,12.5-6.2,6-10.3c-19.6-12.8-43.9-12.8-66.1-9
|
|
||||||
c-26.2,4.5-51.5,15.2-75,27.4c-21.1,10.9-40.9,24-59.4,38.9c-26.4,21.3-48.6,47.2-70.8,72.7c-18.9,21.7-38,43.4-59.6,62.6
|
|
||||||
c-19.2,17.1-42.7,29.3-66.8,37.8c-40.7,14.3-85.7,18.6-128.7,12.9c-61.1-11.2-121.6-25.7-182.2-39.4
|
|
||||||
c-36.8-8.4-73.5-16.8-110.3-25.1c-34-7.7-68.5-15.7-100.1-30.8c-7-3.4-13.8-7.2-20.4-11.4c-6.5-4.2-12.5,6.2-6,10.3
|
|
||||||
c28.6,18.3,61.8,28.3,94.5,36.6c34.6,8.7,69.5,16.4,104.3,24c63.7,14.1,127.2,29.5,191.2,42.2c0.6,0.4,1.3,0.7,2.1,0.9
|
|
||||||
c8.9,2,17.9,3.5,27,4.7c10.2,1.9,20.4,3.6,30.7,5.3c78.4,12.8,158.5,20.7,237.2,6.3c69.5-12.7,134.9-41.2,196.5-75
|
|
||||||
c30.4-8.5,59.3-21.4,88.3-33.7c30.6-13,63.3-26.4,96.6-29.7c45.1-4.5,94.6,1.9,134,25.4c17.6,10.5,32.3,25.1,41.2,43.7
|
|
||||||
c10,20.9,9.7,45.1,4.6,67.3c-1.7,7.5,9.8,10.7,11.6,3.2c5.3-23.4,5.7-47.9-3.2-70.5c-7.9-19.9-22.2-36-39.4-48.4
|
|
||||||
c-37.3-26.7-87.1-35.1-132.1-33.7c-51.1,1.5-96.8,23.1-143.2,42.6c13-7.9,25.9-16,38.8-24.1c31.8-20,63.4-39.2,98.6-52.8
|
|
||||||
c68.2-26.4,144.3-33.3,213.7-7.6c8.6,3.2,17,7,25.2,11.2C2645.1,271,2651.2,260.7,2644.3,257.2z"/>
|
|
||||||
<path fill="#333333" d="M2477.7,360.2c-6.8,3.7-0.8,14,6,10.3c17.6-9.5,30.5,7.2,37.9,21.4c8.4,16.1,14.3,36.6,13,54.9
|
|
||||||
c-0.6,7.7,11.4,7.7,12,0C2549,414,2523.5,335.5,2477.7,360.2z"/>
|
|
||||||
<path fill="#333333" d="M2621.6,279.7c-36.8-35.9-97.1-26.5-139.1-5.7c-6.9,3.4-0.9,13.8,6,10.3c37-18.3,91.9-28,124.6,3.9
|
|
||||||
C2618.6,293.6,2627.1,285.1,2621.6,279.7z"/>
|
|
||||||
<path fill="#333333" d="M2247.4,139.1c-31.4-7.7-63.6-7.7-95,0.3c-30.8,7.8-59.4,23.1-85.9,40.4c-11.7,7.6-23.7,15.4-34,24.8
|
|
||||||
c-8.1,7.3-15.1,15.7-21.9,24.2c-16.1,20-30.5,41.4-46,61.9c-10.6,14-21.9,27.8-34.9,39.7c-10,9.1-22.3,18.1-36.2,19.5
|
|
||||||
c-7.6,0.8-7.7,12.7,0,12c20.6-2.1,37.4-15.4,51.6-29.7c17.9-18,32.8-39.1,47.6-59.6c14-19.3,27.8-39.3,44.8-56.2
|
|
||||||
c9.4-9.3,20.7-16.6,31.7-24c13.6-9.1,27.6-17.5,42.3-24.8c41.6-20.7,87.3-28.1,132.7-16.9C2251.8,152.5,2254.9,141,2247.4,139.1z"
|
|
||||||
/>
|
|
||||||
<path fill="#333333" d="M1737,390.8c-51-8.9-102.7-13.4-153.6-22.7c-51.4-9.4-103.3-23.7-146.9-53.4c-6.4-4.4-12.4,6-6,10.3
|
|
||||||
c43.5,29.5,95,44.2,146.1,53.9c52.1,9.9,105.1,14.3,157.4,23.4C1741.3,403.7,1744.6,392.1,1737,390.8z"/>
|
|
||||||
<path fill="#333333" d="M2170.9,336.3c-26.2,13.2-51.6,28-78.2,40.5c-26.3,12.4-54.8,23.2-84.2,23.4c-7.7,0.1-7.7,12,0,12
|
|
||||||
c30.3-0.2,59.3-10.9,86.6-23.3c27.9-12.7,54.4-28.4,81.8-42.2C2183.9,343.2,2177.8,332.8,2170.9,336.3z"/>
|
|
||||||
<path fill="#333333" d="M888.8,272.5c-41.7-34-101-40.2-152.8-41.6c-55.4-1.4-111.3,4.4-165.2,17.5
|
|
||||||
c-55.4,13.4-111.1,36.7-150.6,79.2c-5.2,5.7,3.2,14.1,8.5,8.5c41.6-44.8,101.1-66.7,159.5-79.4c54-11.7,109.9-16.1,165.1-13.1
|
|
||||||
c43,2.4,92.6,9.2,127.1,37.4C886.3,285.8,894.8,277.4,888.8,272.5z"/>
|
|
||||||
<path fill="#333333" d="M904.4,242.8c-103.2-76.8-242-68.2-357.9-27.9c-5.3,1.8-10.6,3.8-15.8,5.8c-7.2,2.7-4.1,14.3,3.2,11.6
|
|
||||||
c114.9-43.5,254.5-57.4,359.8,17.6c1.6,1.1,3.1,2.3,4.6,3.4C904.5,257.8,910.5,247.4,904.4,242.8z"/>
|
|
||||||
<path fill="#333333" d="M248.5,441.4c-4.5-25.1-11.1-50.2-9.8-76c0.4-7.7-11.6-7.7-12,0c-1.2,23.8,4.1,47.3,8.7,70.6
|
|
||||||
c4.7,23.9,7,47.1,4.6,71.4c-4.2,44-20.9,85.7-52.3,117.4c-5.4,5.5,3,14,8.5,8.5c32-32.3,49.1-73.7,54.9-118.4
|
|
||||||
C254.4,490,253,466,248.5,441.4z"/>
|
|
||||||
<path fill="#333333" d="M207.3,474.1c-1.6-7.6-13.1-4.4-11.6,3.2c5.7,27.2,3.1,53.4-7.2,79.2c-9.9,24.8-24.6,47.5-35.3,72
|
|
||||||
c-3.1,7,7.3,13.1,10.3,6c11.2-25.4,26-49.1,36.6-74.8C211.4,532.1,213.4,503.1,207.3,474.1z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<rect x="294.3" y="2162.7" fill="#E4DAD8" width="656.6" height="226.5"/>
|
|
||||||
<g>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M474.5,2441.4h-99.4v-329.7h99.4v28.8l-58-2.8v105.4l58,10.7v22.3l-65.9-2.8v133.3l65.9-3.7V2441.4z"/>
|
|
||||||
<path fill="#333333" d="M538.1,2441.4l-27.4-329.7h29.3l27.9,318.1h2.3l31.1-313.4h30.6l-45,325H538.1z"/>
|
|
||||||
<path fill="#333333" d="M758.2,2441.4h-99.4v-329.7h99.4v28.8l-58-2.8v105.4l58,10.7v22.3l-65.9-2.8v133.3l65.9-3.7V2441.4z"/>
|
|
||||||
<path fill="#333333" d="M828.7,2113.1c12.7-0.9,25.2-1.4,37.6-1.4h20c4.9,0,9,1.9,12.1,5.6c3.1,3.7,4.8,8.5,5.1,14.4l4.6,133.7
|
|
||||||
l-20.9,27.4l37.1,138.4l-8.8,10.2h-27.4L864.5,2297l-23.7,2.3l-9.8,142.1h-21.4v-324.6C809.7,2115.3,816,2114.1,828.7,2113.1z
|
|
||||||
M873.8,2262.7c1.9,0,2.8-0.9,2.8-2.8v-115.6l-7-7l-32,3.3l1.4,124L873.8,2262.7z"/>
|
|
||||||
</g>
|
|
||||||
<path fill="#333333" d="M941,2512c-7.6-13.9-22.3-21.5-36.7-26.3c-19.3-6.5-40.2-8.4-60.4-9.2c-45-1.9-90.6,2.9-135,10.6
|
|
||||||
c-19.5,3.4-38.5,7.8-57.3,13.9c-32.6,10.8-63.7,25.7-94.6,40.8c-53,25.9-108.4,54.5-168.2,59.5c-48.3,4.1-102.3-5.3-138-40.4
|
|
||||||
c-15.9-15.6-29-37.1-31-59.6c-1.9-21.5,5.1-43.4,19.4-59.6c12.6-14.4,30.6-22.8,49.5-24.9c7.6-0.9,7.7-12.9,0-12
|
|
||||||
c-24,2.7-46.1,13.4-61.3,32.5c-13.8,17.3-20.6,39.4-19.7,61.4c1,23.4,12.3,44,26.8,61.9c15.5,19.1,36.9,32.4,59.7,41.1
|
|
||||||
c45.6,17.3,99,16,145.4,2.4c64.6-18.9,122.3-54.3,184.1-79.9c42.2-17.5,85.6-26.5,130.8-31.7c43.8-5,90.6-8.5,133.9,1.2
|
|
||||||
c15.5,3.5,34.1,9.5,42.3,24.3C934.4,2524.8,944.7,2518.8,941,2512z"/>
|
|
||||||
<path fill="#333333" d="M912.2,2548c-20.9-31.5-61.2-39.1-96.5-39.4c-45.6-0.3-91.6,10.8-134.2,26.3c-23,8.4-45.6,18.5-66.6,31
|
|
||||||
c-15.6,9.3-31.7,20.2-42.9,34.8c-4.7,6,3.7,14.6,8.5,8.5c9.5-12.3,22.5-21.7,35.6-29.9c17.6-11.1,36.6-20.1,55.9-27.9
|
|
||||||
c42.3-17,87.9-28.9,133.6-30.6c33.2-1.3,76.1,2.9,96.3,33.3C906.1,2560.4,916.5,2554.4,912.2,2548z"/>
|
|
||||||
<path fill="#333333" d="M308.2,2541.6c-22.8-4-41.7-17-44.3-41.3c-2.1-18.9,4.3-39,15.5-54.2c4.6-6.2-5.8-12.2-10.3-6
|
|
||||||
c-13.2,17.8-19.9,42-16.7,64c4.1,27.8,26.1,44.4,52.6,49C312.6,2554.5,315.9,2543,308.2,2541.6z"/>
|
|
||||||
<path fill="#333333" d="M418.1,2649.3c-48,5.3-98.9,10.1-145.9-3.8c-21.6-6.4-41.3-17.8-56.6-34.4
|
|
||||||
c-17.8-19.4-27.1-44.5-33.2-69.7c-9.7-40.6-10.8-93.4,24.2-122.7c5.9-5-2.6-13.4-8.5-8.5c-43.5,36.4-37,102.8-22.6,151.3
|
|
||||||
c7.2,24.4,19.8,47.3,38.4,64.9c16.5,15.6,37.3,25.7,59,31.8c46.9,13.1,97.5,8.4,145.2,3.1
|
|
||||||
C425.7,2660.4,425.8,2648.4,418.1,2649.3z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<ellipse fill="#CFD3D2" cx="1289.3" cy="1150" rx="177.5" ry="149.3"/>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M1189.4,1082.6v29.6h26.8v14.3h-26.8v55.6c0,12.8,3.6,20,14,20c4.9,0,8.5-0.6,10.9-1.3l0.9,14
|
|
||||||
c-3.6,1.5-9.4,2.6-16.6,2.6c-8.7,0-15.8-2.8-20.2-7.9c-5.3-5.5-7.2-14.7-7.2-26.8v-56.2h-16v-14.3h16v-24.7L1189.4,1082.6z"/>
|
|
||||||
<path fill="#333333" d="M1237.3,1064.1h18.7v64.3h0.4c3-5.3,7.7-10,13.4-13.2c5.5-3.2,12.1-5.3,19.2-5.3c13.8,0,36,8.5,36,44.1
|
|
||||||
v61.3h-18.7v-59.2c0-16.6-6.2-30.7-23.8-30.7c-12.1,0-21.7,8.5-25.1,18.7c-1.1,2.6-1.3,5.3-1.3,8.9v62.2h-18.7V1064.1z"/>
|
|
||||||
<path fill="#333333" d="M1365.8,1167.1c0.4,25.3,16.6,35.8,35.3,35.8c13.4,0,21.5-2.3,28.5-5.3l3.2,13.4
|
|
||||||
c-6.6,3-17.9,6.4-34.3,6.4c-31.7,0-50.7-20.9-50.7-51.9c0-31.1,18.3-55.6,48.3-55.6c33.6,0,42.6,29.6,42.6,48.5
|
|
||||||
c0,3.8-0.4,6.8-0.6,8.7H1365.8z M1420.8,1153.7c0.2-11.9-4.9-30.4-26-30.4c-18.9,0-27.2,17.5-28.7,30.4H1420.8z"/>
|
|
||||||
</g>
|
|
||||||
<path fill="#333333" d="M1470.6,1065.4c-20.5-29.4-51-47.3-83.7-60.5c-38.7-15.7-82.3-24.4-124.1-20.2c-24.1,2.4-48.7,5-72.2,11
|
|
||||||
c-23.1,5.9-46.8,16.6-59.8,37.6c-1.4,2.2-1.1,4.4,0,6.1c-14.6,17.8-25.2,38.9-32,60.9c-10.5,33.8-12.1,72.2,0.4,105.7
|
|
||||||
c13.5,36.1,43,63.5,78,78.5c18.4,7.9,37.8,12.3,57.5,15.7c21.2,3.7,42.7,5.9,64.2,6.9c21.7,1,43.6,0.5,65.2-1.9
|
|
||||||
c19.3-2.1,39-5.5,57.1-12.7c27.9-11.1,50.6-31.9,64.1-58.7C1511.7,1181.2,1503.8,1113,1470.6,1065.4z M1427.3,1276.2
|
|
||||||
c-15.8,8.3-33.8,12.2-51.4,15c-21.1,3.4-42.6,4.2-64,3.9c-21.5-0.3-43.1-2.1-64.4-5.3c-19.7-2.9-39.4-6.8-58.1-13.6
|
|
||||||
c-34.9-12.8-65.2-38.5-78.7-73.7c-12.6-32.9-9.9-70.4,0.9-103.4c9.7-29.4,27.5-57.7,53.2-75.5c2.5-1.8,3.1-4.5,2.5-6.9
|
|
||||||
c3.7-1.8,7.5-3.4,11.3-4.9c16.4-6.1,34-9.1,51.3-11.3c17.1-2.2,34.5-4.7,51.7-4.9c21-0.1,42,2.9,62.4,8
|
|
||||||
c20.8,5.1,41.1,12.5,60.2,22.2c15.3,7.7,29.8,16.8,42,29c20.2,20.3,33,47.2,39,75C1497,1185.1,1479.7,1248.6,1427.3,1276.2z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<path fill="#333333" d="M321.7,853.8c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C307.8,890.2,324.7,875.9,321.7,853.8z
|
|
||||||
M291.3,880.4c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C315,864.2,304.9,876.2,291.3,880.4z"/>
|
|
||||||
<path fill="#333333" d="M1005.6,918.3c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C991.7,954.7,1008.6,940.4,1005.6,918.3z
|
|
||||||
M975.2,944.9c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C998.9,928.7,988.8,940.7,975.2,944.9z"/>
|
|
||||||
<path fill="#333333" d="M1043.5,1324.9c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C1029.5,1361.3,1046.5,1347.1,1043.5,1324.9
|
|
||||||
z M1013.1,1351.5c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C1036.7,1335.3,1026.7,1347.3,1013.1,1351.5z"/>
|
|
||||||
<path fill="#333333" d="M1630.6,1138c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C1616.7,1174.4,1633.6,1160.2,1630.6,1138z
|
|
||||||
M1600.2,1164.6c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C1623.9,1148.5,1613.8,1160.4,1600.2,1164.6z"/>
|
|
||||||
<path fill="#333333" d="M2610.6,981.9c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C2596.6,1018.3,2613.5,1004.1,2610.6,981.9z
|
|
||||||
M2580.2,1008.5c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C2603.8,992.4,2593.8,1004.3,2580.2,1008.5z"/>
|
|
||||||
<path fill="#333333" d="M2504.8,1177c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C2490.8,1213.4,2507.8,1199.1,2504.8,1177z
|
|
||||||
M2474.4,1203.6c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C2498,1187.4,2488,1199.3,2474.4,1203.6z"/>
|
|
||||||
<path fill="#333333" d="M2586.4,1443.7c-2.6-19.1-21.2-33.7-39.3-36.6c-4-0.6-8-0.8-12-0.5c-0.6,0-1.2,0.2-1.7,0.3
|
|
||||||
c-1.5-0.6-3.2-0.5-4.9,0.5c-17.3,10-24.9,30.3-20.4,49.4c4.8,20.5,23.9,30.3,43.8,26.9C2572.5,1480.1,2589.4,1465.8,2586.4,1443.7
|
|
||||||
z M2556,1470.3c-15,4.7-30.5,1.5-35.8-14.7c-4.5-13.9,1-29.4,13.2-37.2c0.5,0.1,1.1,0.1,1.7,0.1c15.9-1.1,30.8,6.5,37.7,21.2
|
|
||||||
C2579.7,1454.1,2569.6,1466,2556,1470.3z"/>
|
|
||||||
<path fill="#333333" d="M2482.2,1049.5c-1-1-2-2-3-3c-2.9-2.9-7.7-2.9-10.6,0c-2.9,2.9-2.9,7.7,0,10.6c1,1,2,2,3,3
|
|
||||||
c2.9,2.9,7.7,2.9,10.6,0C2485.1,1057.2,2485.1,1052.4,2482.2,1049.5z"/>
|
|
||||||
<path fill="#333333" d="M2635.9,1038.3c-9.7,0-9.7,15,0,15S2645.6,1038.3,2635.9,1038.3z"/>
|
|
||||||
<path fill="#333333" d="M2656.9,894.3c-9.7,0-9.7,15,0,15S2666.6,894.3,2656.9,894.3z"/>
|
|
||||||
<path fill="#333333" d="M2515.2,1277.5c-2.9-2.9-7.7-2.9-10.6,0c-1,1-2,2-3,3c-2.9,2.9-2.9,7.7,0,10.6c2.9,2.9,7.7,2.9,10.6,0
|
|
||||||
c1-1,2-2,3-3C2518.1,1285.2,2518.1,1280.4,2515.2,1277.5z"/>
|
|
||||||
<path fill="#333333" d="M2593.9,1188.3c-9.7,0-9.7,15,0,15S2603.6,1188.3,2593.9,1188.3z"/>
|
|
||||||
<path fill="#333333" d="M2662.2,1331.5c-1-1-2-2-3-3c-2.9-2.9-7.7-2.9-10.6,0c-2.9,2.9-2.9,7.7,0,10.6c1,1,2,2,3,3
|
|
||||||
c2.9,2.9,7.7,2.9,10.6,0C2665.1,1339.2,2665.1,1334.4,2662.2,1331.5z"/>
|
|
||||||
<path fill="#333333" d="M2290.9,1455.3c-9.7,0-9.7,15,0,15S2300.6,1455.3,2290.9,1455.3z"/>
|
|
||||||
<path fill="#333333" d="M2563.9,1563.3c-9.7,0-9.7,15,0,15S2573.6,1563.3,2563.9,1563.3z"/>
|
|
||||||
<path fill="#333333" d="M139.7,951.3h-5.1c-4.1,0-7.5,3.4-7.5,7.5s3.4,7.5,7.5,7.5h5.1c4.1,0,7.5-3.4,7.5-7.5
|
|
||||||
S143.8,951.3,139.7,951.3z"/>
|
|
||||||
<path fill="#333333" d="M226.7,753.3c-9.7,0-9.7,15,0,15S236.4,753.3,226.7,753.3z"/>
|
|
||||||
<path fill="#333333" d="M376.7,978.3c-9.7,0-9.7,15,0,15S386.4,978.3,376.7,978.3z"/>
|
|
||||||
<path fill="#333333" d="M515.3,886.2c-1.3-2.3-3.8-4-6.6-4c-4.1,0-7.5,3.4-7.5,7.5c0,1.9,0.6,3.7,1.4,5.4c1.7,3.3,5.5,5.1,9.1,5.1
|
|
||||||
c4.1,0.1,7.5-3.5,7.5-7.5C519.2,889.9,517.6,887.5,515.3,886.2z"/>
|
|
||||||
<path fill="#333333" d="M726.3,970.8c0.2-4.1-3.5-7.5-7.5-7.5c-3.6,0-6.4,2.5-7.2,5.7c-0.5,0.6-1,1.1-1.5,1.8
|
|
||||||
c-1.3,1.7-1.7,3.9-1.8,6c-0.2,4.1,3.5,7.5,7.5,7.5c3.6,0,6.4-2.5,7.2-5.7c0.5-0.6,1-1.1,1.5-1.8
|
|
||||||
C725.7,975.1,726.2,972.8,726.3,970.8z"/>
|
|
||||||
<path fill="#333333" d="M775.8,861.3c-9.7,0-9.7,15,0,15S785.4,861.3,775.8,861.3z"/>
|
|
||||||
<path fill="#333333" d="M134.5,1249.3c-4.6-2.2-9.8-3.2-14.4-0.2c-4.8,3-6.9,8.6-8.7,13.7c-1.3,3.9,1.5,8.2,5.2,9.2
|
|
||||||
c4.1,1.1,7.9-1.4,9.2-5.2c0.3-0.8,0.5-1.5,0.8-2.2c0-0.1,0.1-0.2,0.1-0.3c0-0.1,0.1-0.2,0.2-0.4c0.2-0.4,0.4-0.8,0.6-1.2
|
|
||||||
c3.5,1.3,7.5,0.5,9.5-3C139.1,1256.3,138.2,1251.1,134.5,1249.3z"/>
|
|
||||||
<path fill="#333333" d="M334.7,1359.3c-9.7,0-9.7,15,0,15S344.4,1359.3,334.7,1359.3z"/>
|
|
||||||
<path fill="#333333" d="M778.8,1308.3c-9.7,0-9.7,15,0,15S788.4,1308.3,778.8,1308.3z"/>
|
|
||||||
<path fill="#333333" d="M979.8,1176.3c-9.7,0-9.7,15,0,15S989.5,1176.3,979.8,1176.3z"/>
|
|
||||||
<path fill="#333333" d="M1165.8,891.3c-4.1,0-7.5,3.4-7.5,7.5v3c0,4.1,3.4,7.5,7.5,7.5s7.5-3.4,7.5-7.5v-3
|
|
||||||
C1173.3,894.7,1169.9,891.3,1165.8,891.3z"/>
|
|
||||||
<path fill="#333333" d="M1372.8,924.3c-9.7,0-9.7,15,0,15S1382.5,924.3,1372.8,924.3z"/>
|
|
||||||
<path fill="#333333" d="M1510.1,851.5c-1-1-2-2-3-3c-2.9-2.9-7.7-2.9-10.6,0c-2.9,2.9-2.9,7.7,0,10.6c1,1,2,2,3,3
|
|
||||||
c2.9,2.9,7.7,2.9,10.6,0S1513,854.4,1510.1,851.5z"/>
|
|
||||||
<path fill="#333333" d="M1561.8,975.3c-9.7,0-9.7,15,0,15S1571.5,975.3,1561.8,975.3z"/>
|
|
||||||
<path fill="#333333" d="M1445.3,1369c-2.2-3.7-6.6-4.5-10.3-2.7c-4.8,2.4-10.1,3.6-15,6c-3.7,1.8-4.6,6.9-2.7,10.3
|
|
||||||
c2.2,3.7,6.6,4.5,10.3,2.7c4.8-2.4,10.1-3.6,15-6C1446.3,1377.5,1447.2,1372.4,1445.3,1369z"/>
|
|
||||||
<path fill="#333333" d="M1564.8,1278.3c-9.7,0-9.7,15,0,15S1574.5,1278.3,1564.8,1278.3z"/>
|
|
||||||
<path fill="#333333" d="M1771.9,867.3c-9.7,0-9.7,15,0,15S1781.5,867.3,1771.9,867.3z"/>
|
|
||||||
<path fill="#333333" d="M2027.4,922.2c-1.3-2.3-3.7-3.9-6.5-3.9c-4,0-7.6,3.4-7.5,7.5c0.1,3.7,1.8,7.2,5.1,9.1
|
|
||||||
c1.6,0.9,3.5,1.4,5.4,1.4c4.1,0,7.5-3.4,7.5-7.5C2031.4,925.9,2029.8,923.5,2027.4,922.2z"/>
|
|
||||||
<path fill="#333333" d="M2368.9,879.3c-9.7,0-9.7,15,0,15S2378.6,879.3,2368.9,879.3z"/>
|
|
||||||
<path fill="#333333" d="M1573.8,1725.4h-9c-4.1,0-7.5,3.4-7.5,7.5s3.4,7.5,7.5,7.5h9c4.1,0,7.5-3.4,7.5-7.5
|
|
||||||
S1577.9,1725.4,1573.8,1725.4z"/>
|
|
||||||
<path fill="#333333" d="M1768.9,1589.5c-4.1,0-7.5,3.4-7.5,7.5v3.8c0,4.1,3.4,7.5,7.5,7.5s7.5-3.4,7.5-7.5v-3.8
|
|
||||||
C1776.4,1592.9,1772.9,1589.5,1768.9,1589.5z"/>
|
|
||||||
<path fill="#333333" d="M1741.9,1473.3c-9.7,0-9.7,15,0,15S1751.5,1473.3,1741.9,1473.3z"/>
|
|
||||||
<path fill="#333333" d="M2020.9,1437.3c-9.7,0-9.7,15,0,15S2030.6,1437.3,2020.9,1437.3z"/>
|
|
||||||
<path fill="#333333" d="M1753.9,1929.4c-9.7,0-9.7,15,0,15S1763.5,1929.4,1753.9,1929.4z"/>
|
|
||||||
<path fill="#333333" d="M1888.9,2025.4c-1.1,0-2.1,0.2-3,0.7c-2.7-1.2-6-0.7-8.3,1.5c-2.8,2.8-2.9,7.8,0,10.6
|
|
||||||
c2.5,2.4,6.1,4.8,9.8,4.4c2.4-0.2,4.8-0.9,6.4-2.9c1.7-2.1,2.5-4.1,2.6-6.9C1896.5,2028.8,1892.8,2025.4,1888.9,2025.4z"/>
|
|
||||||
<path fill="#333333" d="M2077.9,1926.4c-9.7,0-9.7,15,0,15S2087.6,1926.4,2077.9,1926.4z"/>
|
|
||||||
<path fill="#333333" d="M2182.9,2022.4c-9.7,0-9.7,15,0,15S2192.6,2022.4,2182.9,2022.4z"/>
|
|
||||||
<path fill="#333333" d="M2389.9,1932.4c-9.7,0-9.7,15,0,15S2399.6,1932.4,2389.9,1932.4z"/>
|
|
||||||
<path fill="#333333" d="M2551.9,2004.4c-4.1,0-7.5,3.4-7.5,7.5v3c0,4.1,3.4,7.5,7.5,7.5s7.5-3.4,7.5-7.5v-3
|
|
||||||
C2559.4,2007.8,2556,2004.4,2551.9,2004.4z"/>
|
|
||||||
<path fill="#333333" d="M201,165.5c-3.1,0-5.7,1.9-6.9,4.6c-2.7,1.1-4.6,3.8-4.6,6.9c0,4.1,3.4,7.5,7.5,7.5c2.1,0,4-0.6,5.9-1.6
|
|
||||||
c3.6-1.9,5.5-6,5.6-9.9C208.6,168.9,205,165.5,201,165.5z"/>
|
|
||||||
<path fill="#333333" d="M577,57.5c-2.6,0-5.5,0-8,1c-4.7,1.9-7.3,5.4-7.5,10.5c-0.2,4.1,3.5,7.5,7.5,7.5c2.9,0,5.3-1.6,6.6-4
|
|
||||||
c0.5,0,1,0,1.4,0c4.1,0,7.5-3.4,7.5-7.5C584.5,60.9,581.1,57.5,577,57.5z"/>
|
|
||||||
<path fill="#333333" d="M1169,253.5h-4c-4.1,0-7.5,3.4-7.5,7.5s3.4,7.5,7.5,7.5h4c4.1,0,7.5-3.4,7.5-7.5S1173.1,253.5,1169,253.5z
|
|
||||||
"/>
|
|
||||||
<path fill="#333333" d="M985,137.5c-9.7,0-9.7,15,0,15S994.7,137.5,985,137.5z"/>
|
|
||||||
<path fill="#333333" d="M1381,141.5c-9.7,0-9.7,15,0,15S1390.7,141.5,1381,141.5z"/>
|
|
||||||
<path fill="#333333" d="M1577,277.5c-9.7,0-9.7,15,0,15S1586.7,277.5,1577,277.5z"/>
|
|
||||||
<path fill="#333333" d="M1762.3,203.7c-1.3-1.3-2.7-2.7-4-4c-2.9-2.9-7.7-2.9-10.6,0c-2.9,2.9-2.9,7.7,0,10.6c1.3,1.3,2.7,2.7,4,4
|
|
||||||
c2.9,2.9,7.7,2.9,10.6,0C1765.2,211.4,1765.2,206.6,1762.3,203.7z"/>
|
|
||||||
<path fill="#333333" d="M2193,257.5c-9.7,0-9.7,15,0,15S2202.7,257.5,2193,257.5z"/>
|
|
||||||
<path fill="#333333" d="M2349,405.5c-9.7,0-9.7,15,0,15S2358.7,405.5,2349,405.5z"/>
|
|
||||||
<path fill="#333333" d="M2417,169.5c-9.7,0-9.7,15,0,15S2426.7,169.5,2417,169.5z"/>
|
|
||||||
<path fill="#333333" d="M2621,513.5c-9.7,0-9.7,15,0,15S2630.7,513.5,2621,513.5z"/>
|
|
||||||
<path fill="#333333" d="M141,1649.5c-9.7,0-9.7,15,0,15S150.7,1649.5,141,1649.5z"/>
|
|
||||||
<path fill="#333333" d="M241,1709.5c-9.7,0-9.7,15,0,15S250.7,1709.5,241,1709.5z"/>
|
|
||||||
<path fill="#333333" d="M121,1917.5c-9.7,0-9.7,15,0,15S130.7,1917.5,121,1917.5z"/>
|
|
||||||
<path fill="#333333" d="M165,2177.5c-9.7,0-9.7,15,0,15S174.7,2177.5,165,2177.5z"/>
|
|
||||||
<path fill="#333333" d="M621,2689.5c-9.7,0-9.7,15,0,15S630.7,2689.5,621,2689.5z"/>
|
|
||||||
<path fill="#333333" d="M1009,2601.5h-8c-4.1,0-7.5,3.4-7.5,7.5s3.4,7.5,7.5,7.5h8c4.1,0,7.5-3.4,7.5-7.5
|
|
||||||
S1013.1,2601.5,1009,2601.5z"/>
|
|
||||||
<path fill="#333333" d="M1397,2057.5h-8c-4.1,0-7.5,3.4-7.5,7.5s3.4,7.5,7.5,7.5h8c4.1,0,7.5-3.4,7.5-7.5
|
|
||||||
S1401.1,2057.5,1397,2057.5z"/>
|
|
||||||
<path fill="#333333" d="M1421,2561.5c-9.7,0-9.7,15,0,15S1430.7,2561.5,1421,2561.5z"/>
|
|
||||||
<path fill="#333333" d="M1821,2561.5c-9.7,0-9.7,15,0,15S1830.7,2561.5,1821,2561.5z"/>
|
|
||||||
<path fill="#333333" d="M2028.6,2613c0.1-0.1,0.1-0.1,0.2-0.2c0.1-0.1,0.3-0.2,0.4-0.3c4-0.3,7.3-3.4,7.3-7.5c0-4-3.4-7.6-7.5-7.5
|
|
||||||
c-8.3,0.3-15.2,7.2-15.5,15.5c-0.1,4.1,3.5,7.5,7.5,7.5c4.1,0,7.2-3.3,7.5-7.2c0,0,0,0,0-0.1
|
|
||||||
C2028.5,2613.1,2028.6,2613.1,2028.6,2613z"/>
|
|
||||||
<path fill="#333333" d="M2301,2549.5c-9.7,0-9.7,15,0,15S2310.7,2549.5,2301,2549.5z"/>
|
|
||||||
<path fill="#333333" d="M2521,2569.5c-9.7,0-9.7,15,0,15S2530.7,2569.5,2521,2569.5z"/>
|
|
||||||
<path fill="#333333" d="M2613,2289.5c-9.7,0-9.7,15,0,15S2622.7,2289.5,2613,2289.5z"/>
|
|
||||||
<path fill="#333333" d="M1217,2577.5c-9.7,0-9.7,15,0,15S1226.7,2577.5,1217,2577.5z"/>
|
|
||||||
<path fill="#333333" d="M1621,2673.5c-9.7,0-9.7,15,0,15S1630.7,2673.5,1621,2673.5z"/>
|
|
||||||
<path fill="#333333" d="M989,2081.5c-9.7,0-9.7,15,0,15S998.7,2081.5,989,2081.5z"/>
|
|
||||||
<path fill="#333333" d="M1013,2293.5c-9.7,0-9.7,15,0,15S1022.7,2293.5,1013,2293.5z"/>
|
|
||||||
<path fill="#333333" d="M658.3,2043.7c-1.3-1.3-2.7-2.7-4-4c-2.9-2.9-7.7-2.9-10.6,0c-2.9,2.9-2.9,7.7,0,10.6c1.3,1.3,2.7,2.7,4,4
|
|
||||||
c2.9,2.9,7.7,2.9,10.6,0C661.2,2051.4,661.2,2046.6,658.3,2043.7z"/>
|
|
||||||
<path fill="#333333" d="M206.3,2303.7c-2.9-2.9-7.7-2.9-10.6,0c-1.3,1.3-2.7,2.7-4,4c-2.9,2.9-2.9,7.7,0,10.6
|
|
||||||
c2.9,2.9,7.7,2.9,10.6,0c1.3-1.3,2.7-2.7,4-4C209.2,2311.4,209.2,2306.6,206.3,2303.7z"/>
|
|
||||||
<path fill="#333333" d="M93,2377.5c-4.1,0-7.5,3.4-7.5,7.5v4c0,4.1,3.4,7.5,7.5,7.5s7.5-3.4,7.5-7.5v-4
|
|
||||||
C100.5,2380.9,97.1,2377.5,93,2377.5z"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 2.8 MiB |
@@ -1,65 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
||||||
viewBox="0 0 1214 254" style="enable-background:new 0 0 1214 254;" xml:space="preserve">
|
|
||||||
<style type="text/css">
|
|
||||||
.st0{fill:#CC972E;}
|
|
||||||
.st1{fill:#0088F7;}
|
|
||||||
</style>
|
|
||||||
<polygon class="st0" points="173,117.4 173,136.7 189.7,127.1 "/>
|
|
||||||
<polygon class="st0" points="73,136.7 73,117.4 56.3,127.1 "/>
|
|
||||||
<polygon class="st0" points="139.3,79 156,88.6 156,69.3 "/>
|
|
||||||
<polygon class="st0" points="106.7,175.2 90,165.6 90,184.8 "/>
|
|
||||||
<polygon class="st0" points="90,88.6 106.7,79 90,69.3 "/>
|
|
||||||
<polygon class="st0" points="156,165.6 139.3,175.2 156,184.8 "/>
|
|
||||||
<polygon class="st1" points="23.7,184.7 23.7,184.8 23.7,184.8 "/>
|
|
||||||
<polygon class="st1" points="41.5,77.9 56,69.3 56,86.6 73,96.2 73,40.4 24.8,68.3 "/>
|
|
||||||
<polygon class="st1" points="55.2,89.5 40,98.2 40,80.8 23,71.2 23,127.1 71.6,99.1 "/>
|
|
||||||
<polygon class="st1" points="40,173.2 40,155.9 55.1,164.6 71.5,154.9 23,127.1 23,182.8 "/>
|
|
||||||
<polygon class="st1" points="191.6,164.6 206,155.9 206,173.2 223,182.8 223,127.1 174.8,154.9 "/>
|
|
||||||
<polygon class="st1" points="206,98.2 191.5,89.5 174.7,99.1 223,127.1 223,71.2 206,80.8 "/>
|
|
||||||
<polygon class="st1" points="223.7,184.7 223.7,184.8 223.7,184.8 "/>
|
|
||||||
<polygon class="st1" points="23.7,184.9 23.8,184.9 23.7,184.8 "/>
|
|
||||||
<polygon class="st1" points="73,157.8 56,167.4 56,184.9 41.4,176.1 24.6,185.8 73,213.7 73,213.6 121,241.5 121,222.3 106,213.6
|
|
||||||
121,204.9 121,185.7 73,213.6 "/>
|
|
||||||
<polygon class="st1" points="221.8,185.8 205.1,176.1 190,184.9 190,167.4 173,157.8 173,213.6 125,185.7 125,204.9 140,213.6
|
|
||||||
125,222.3 125,241.5 173,213.6 173,213.7 "/>
|
|
||||||
<polygon class="st1" points="223.6,184.9 223.7,184.9 223.6,184.8 "/>
|
|
||||||
<polygon class="st1" points="173,96.2 190,86.6 190,69.3 205.2,77.9 221.6,68.3 173,40.4 "/>
|
|
||||||
<polygon class="st1" points="125,12.5 125,31.7 140,40.4 125,49.1 125,68.3 173.3,40.4 "/>
|
|
||||||
<polygon class="st1" points="121,49.1 106,40.4 121,31.7 121,12.5 72.7,40.4 121,68.3 "/>
|
|
||||||
<polygon class="st1" points="121,70.3 106,79 106,98.2 89.8,88.6 74.6,97.2 121,124.1 "/>
|
|
||||||
<polygon class="st1" points="125,70.3 125,124.1 171.8,97.2 156.8,88.6 140,98.2 140,79 "/>
|
|
||||||
<polygon class="st1" points="73,100.1 73,117.4 89.7,127.1 73,136.7 73,153.9 119.7,127 "/>
|
|
||||||
<polygon class="st1" points="173,100.1 126.3,127 173,153.9 173,136.7 156.3,127.1 173,117.4 "/>
|
|
||||||
<polygon class="st1" points="125,183.8 140,175.2 140,155.9 156.8,165.6 171.8,156.9 125,129.9 "/>
|
|
||||||
<polygon class="st1" points="121,183.8 121,129.9 74.8,156.9 89.6,165.6 106,155.9 106,175.2 "/>
|
|
||||||
<path class="st0" d="M378.1,96.2l-38.8,72.4h-0.9l-40.6-72.4h22.2l19.4,34.5l17.7-34.5H378.1z"/>
|
|
||||||
<path class="st1" d="M413.6,77.1c0,13.7-20.9,13.7-20.9,0C392.7,63.3,413.6,63.3,413.6,77.1z M394.4,96.9v71.7h17.6V96.9H394.4z"/>
|
|
||||||
<path class="st1" d="M484.6,115.7c-5.1-4.8-10.8-6.3-17.6-6.3c-8.4,0-13.1,2.6-13.1,7.1c0,4.7,4.2,7.2,13.4,7.8
|
|
||||||
c13.5,0.9,30.5,3.9,30.5,22.8c0,12.6-10.2,23.4-30.6,23.4c-11.3,0-22.5-2-33-12.8l8.7-12.6c5.1,5.7,16.7,9.8,24.6,9.9
|
|
||||||
c6.6,0.2,12.9-3.3,12.9-8.6c0-5-4.1-6.9-14.1-7.5c-13.5-1.1-29.4-5.9-29.4-22.1c0-16.5,17.1-22.2,30-22.2c11.1,0,19.5,2.1,27.8,9.5
|
|
||||||
L484.6,115.7z"/>
|
|
||||||
<path class="st1" d="M536.9,77.1c0,13.7-20.9,13.7-20.9,0C516,63.3,536.9,63.3,536.9,77.1z M517.7,96.9v71.7h17.6V96.9H517.7z"/>
|
|
||||||
<path class="st1" d="M628.1,133c0,20.6-14,37.1-37.3,37.1c-23.3,0-37.1-16.7-37.1-37.1s14.1-37.3,37-37.3
|
|
||||||
C613.5,95.9,628.1,112.7,628.1,133z M571.5,133c0,10.8,6.5,21,19.4,21s19.4-10.1,19.4-21c0-10.7-7.5-21.2-19.4-21.2
|
|
||||||
C578.2,111.9,571.5,122.3,571.5,133z"/>
|
|
||||||
<path class="st1" d="M698.2,168.4v-37.3c0-10.8-5.9-19.1-17.3-19.1c-10.8,0-18.2,9.2-18.2,20v36.5h-17.6V97.1H661l1.2,9.8
|
|
||||||
c7.2-7.1,14.4-10.7,23.4-10.7c16.8,0,30.2,12.6,30.2,35v37.4h-17.6L698.2,168.4L698.2,168.4z"/>
|
|
||||||
<path class="st0" d="M799.9,159.4c-8.3,8.1-17,11.3-27.5,11.3c-20.7,0-37.9-12.5-37.9-37.7c0-25.4,17.3-37.7,37.9-37.7
|
|
||||||
c10.1,0,17.9,2.9,25.7,10.5L787,117.5c-4.2-3.8-9.5-5.7-14.3-5.7c-11.9,0-20.6,8.7-20.6,21.2c0,13.7,9.3,20.9,20.3,20.9
|
|
||||||
c5.7,0,11.3-1.7,15.6-5.9L799.9,159.4z"/>
|
|
||||||
<path class="st1" d="M884.2,133.4c0,20.6-14,37.1-37.3,37.1c-23.1,0-37.1-16.7-37.1-37.1s14.1-37.3,37-37.3
|
|
||||||
C869.6,96.3,884.2,113.1,884.2,133.4z M827.6,133.4c0,10.8,6.5,21,19.4,21c12.9,0,19.4-10.1,19.4-21c0-10.7-7.5-21.2-19.4-21.2
|
|
||||||
C834.3,112.4,827.6,122.8,827.6,133.4z"/>
|
|
||||||
<path class="st1" d="M917.1,97.2l1.4,8.3c5.6-8.9,12.9-10.1,20.1-10.1c7.4,0,14.4,2.9,18.3,6.8l-8,15.3c-3.6-3-6.9-4.7-12.8-4.7
|
|
||||||
c-9.3,0-17.7,5-17.7,18v37.6h-17.6V97.1L917.1,97.2L917.1,97.2z"/>
|
|
||||||
<path class="st1" d="M997.2,69.6v27.8h19.7v15.2H997v30.8c0,6.8,3.8,10.1,9.3,10.1c2.7,0,5.9-0.9,8.6-2.1l5,15
|
|
||||||
c-5.1,2-9.3,2.9-14.6,3c-15.5,0.6-25.5-8.3-25.5-26v-30.8h-13.4V97.4h13.4V79L997.2,69.6z"/>
|
|
||||||
<path class="st1" d="M1049.4,139.3c1.2,8.9,8.9,15.2,21.3,15.2c6.5,0,15-2.4,19.1-6.6l11.3,11.1c-7.5,7.8-19.8,11.6-30.6,11.6
|
|
||||||
c-24.6,0-39.2-15.2-39.2-38c0-21.6,14.7-37.3,37.9-37.3c23.9,0,38.8,14.7,36.1,44.2h-55.7L1049.4,139.3L1049.4,139.3z M1088.2,124.7
|
|
||||||
c-1.2-9.3-8.4-13.8-18.5-13.8c-9.6,0-17.4,4.7-20,13.8H1088.2z"/>
|
|
||||||
<path class="st1" d="M1163.6,97.2h21.2v0.6l-23.4,34.5l24.9,35.8v0.5h-21.2l-15.5-23.9l-15.5,23.9H1113v-0.5l24.9-35.8l-23.4-34.5
|
|
||||||
v-0.6h21.2l14,24.2L1163.6,97.2z"/>
|
|
||||||
<path class="st0" d="M378.1,96.5l-38.8,72.4h-0.9l-40.6-72.4h22.2l19.4,34.5l17.7-34.5L378.1,96.5L378.1,96.5z"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 5.3 KiB |
@@ -1,64 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
||||||
viewBox="0 0 1214 254" style="enable-background:new 0 0 1214 254;" xml:space="preserve">
|
|
||||||
<style type="text/css">
|
|
||||||
.st0{fill:#CC972E;}
|
|
||||||
.st1{fill:#00275D;}
|
|
||||||
</style>
|
|
||||||
<polygon class="st0" points="173,117.4 173,136.7 189.7,127.1 "/>
|
|
||||||
<polygon class="st0" points="73,136.7 73,117.4 56.3,127.1 "/>
|
|
||||||
<polygon class="st0" points="139.3,79 156,88.6 156,69.3 "/>
|
|
||||||
<polygon class="st0" points="106.7,175.2 90,165.6 90,184.8 "/>
|
|
||||||
<polygon class="st0" points="90,88.6 106.7,79 90,69.3 "/>
|
|
||||||
<polygon class="st0" points="156,165.6 139.3,175.2 156,184.8 "/>
|
|
||||||
<polygon class="st1" points="23.7,184.7 23.7,184.8 23.7,184.8 "/>
|
|
||||||
<polygon class="st1" points="41.5,77.9 56,69.3 56,86.6 73,96.2 73,40.4 24.8,68.3 "/>
|
|
||||||
<polygon class="st1" points="55.2,89.5 40,98.2 40,80.8 23,71.2 23,127.1 71.6,99.1 "/>
|
|
||||||
<polygon class="st1" points="40,173.2 40,155.9 55.1,164.6 71.5,154.9 23,127.1 23,182.8 "/>
|
|
||||||
<polygon class="st1" points="191.6,164.6 206,155.9 206,173.2 223,182.8 223,127.1 174.8,154.9 "/>
|
|
||||||
<polygon class="st1" points="206,98.2 191.5,89.5 174.7,99.1 223,127.1 223,71.2 206,80.8 "/>
|
|
||||||
<polygon class="st1" points="223.7,184.7 223.7,184.8 223.7,184.8 "/>
|
|
||||||
<polygon class="st1" points="23.7,184.9 23.8,184.9 23.7,184.8 "/>
|
|
||||||
<polygon class="st1" points="73,157.8 56,167.4 56,184.9 41.4,176.1 24.6,185.8 73,213.7 73,213.6 121,241.5 121,222.3 106,213.6
|
|
||||||
121,204.9 121,185.7 73,213.6 "/>
|
|
||||||
<polygon class="st1" points="221.8,185.8 205.1,176.1 190,184.9 190,167.4 173,157.8 173,213.6 125,185.7 125,204.9 140,213.6
|
|
||||||
125,222.3 125,241.5 173,213.6 173,213.7 "/>
|
|
||||||
<polygon class="st1" points="223.6,184.9 223.7,184.9 223.6,184.8 "/>
|
|
||||||
<polygon class="st1" points="173,96.2 190,86.6 190,69.3 205.2,77.9 221.6,68.3 173,40.4 "/>
|
|
||||||
<polygon class="st1" points="125,12.5 125,31.7 140,40.4 125,49.1 125,68.3 173.3,40.4 "/>
|
|
||||||
<polygon class="st1" points="121,49.1 106,40.4 121,31.7 121,12.5 72.7,40.4 121,68.3 "/>
|
|
||||||
<polygon class="st1" points="121,70.3 106,79 106,98.2 89.8,88.6 74.6,97.2 121,124.1 "/>
|
|
||||||
<polygon class="st1" points="125,70.3 125,124.1 171.8,97.2 156.8,88.6 140,98.2 140,79 "/>
|
|
||||||
<polygon class="st1" points="73,100.1 73,117.4 89.7,127.1 73,136.7 73,153.9 119.7,127 "/>
|
|
||||||
<polygon class="st1" points="173,100.1 126.3,127 173,153.9 173,136.7 156.3,127.1 173,117.4 "/>
|
|
||||||
<polygon class="st1" points="125,183.8 140,175.2 140,155.9 156.8,165.6 171.8,156.9 125,129.9 "/>
|
|
||||||
<polygon class="st1" points="121,183.8 121,129.9 74.8,156.9 89.6,165.6 106,155.9 106,175.2 "/>
|
|
||||||
<path class="st0" d="M378.1,96.2l-38.8,72.4h-0.9l-40.6-72.4H320l19.4,34.5l17.7-34.5L378.1,96.2L378.1,96.2z"/>
|
|
||||||
<path class="st1" d="M413.6,77.1c0,13.7-20.9,13.7-20.9,0C392.7,63.3,413.6,63.3,413.6,77.1z M394.4,96.9v71.7H412V96.9H394.4z"/>
|
|
||||||
<path class="st1" d="M484.6,115.7c-5.1-4.8-10.8-6.3-17.6-6.3c-8.4,0-13.1,2.6-13.1,7.1c0,4.7,4.2,7.2,13.4,7.8
|
|
||||||
c13.5,0.9,30.5,3.9,30.5,22.8c0,12.6-10.2,23.4-30.6,23.4c-11.3,0-22.5-2-33-12.8l8.7-12.6c5.1,5.7,16.7,9.8,24.6,9.9
|
|
||||||
c6.6,0.2,12.9-3.3,12.9-8.6c0-5-4.1-6.9-14.1-7.5c-13.5-1.1-29.4-5.9-29.4-22.1c0-16.5,17.1-22.2,30-22.2c11.1,0,19.5,2.1,27.8,9.5
|
|
||||||
L484.6,115.7z"/>
|
|
||||||
<path class="st1" d="M536.9,77.1c0,13.7-20.9,13.7-20.9,0C516,63.3,536.9,63.3,536.9,77.1z M517.7,96.9v71.7h17.6V96.9H517.7z"/>
|
|
||||||
<path class="st1" d="M628.1,133c0,20.6-14,37.1-37.3,37.1s-37.1-16.7-37.1-37.1s14.1-37.3,37-37.3C613.5,95.9,628.1,112.7,628.1,133
|
|
||||||
z M571.5,133c0,10.8,6.5,21,19.4,21s19.4-10.1,19.4-21c0-10.7-7.5-21.2-19.4-21.2C578.2,111.9,571.5,122.3,571.5,133z"/>
|
|
||||||
<path class="st1" d="M698.2,168.4v-37.3c0-10.8-5.9-19.1-17.3-19.1c-10.8,0-18.2,9.2-18.2,20v36.5h-17.6V97.1H661l1.2,9.8
|
|
||||||
c7.2-7.1,14.4-10.7,23.4-10.7c16.8,0,30.2,12.6,30.2,35v37.4h-17.6L698.2,168.4L698.2,168.4z"/>
|
|
||||||
<path class="st0" d="M799.9,159.4c-8.3,8.1-17,11.3-27.5,11.3c-20.7,0-37.9-12.5-37.9-37.7c0-25.4,17.3-37.7,37.9-37.7
|
|
||||||
c10.1,0,17.9,2.9,25.7,10.5L787,117.5c-4.2-3.8-9.5-5.7-14.3-5.7c-11.9,0-20.6,8.7-20.6,21.2c0,13.7,9.3,20.9,20.3,20.9
|
|
||||||
c5.7,0,11.3-1.7,15.6-5.9L799.9,159.4z"/>
|
|
||||||
<path class="st1" d="M884.2,133.4c0,20.6-14,37.1-37.3,37.1c-23.1,0-37.1-16.7-37.1-37.1s14.1-37.3,37-37.3
|
|
||||||
C869.6,96.3,884.2,113.1,884.2,133.4z M827.6,133.4c0,10.8,6.5,21,19.4,21s19.4-10.1,19.4-21c0-10.7-7.5-21.2-19.4-21.2
|
|
||||||
C834.3,112.4,827.6,122.8,827.6,133.4z"/>
|
|
||||||
<path class="st1" d="M917.1,97.2l1.4,8.3c5.6-8.9,12.9-10.1,20.1-10.1c7.4,0,14.4,2.9,18.3,6.8l-8,15.3c-3.6-3-6.9-4.7-12.8-4.7
|
|
||||||
c-9.3,0-17.7,5-17.7,18v37.6h-17.6V97.1L917.1,97.2L917.1,97.2z"/>
|
|
||||||
<path class="st1" d="M997.2,69.6v27.8h19.7v15.2H997v30.8c0,6.8,3.8,10.1,9.3,10.1c2.7,0,5.9-0.9,8.6-2.1l5,15
|
|
||||||
c-5.1,2-9.3,2.9-14.6,3c-15.5,0.6-25.5-8.3-25.5-26v-30.8h-13.4V97.4h13.4V79L997.2,69.6z"/>
|
|
||||||
<path class="st1" d="M1049.4,139.3c1.2,8.9,8.9,15.2,21.3,15.2c6.5,0,15-2.4,19.1-6.6l11.3,11.1c-7.5,7.8-19.8,11.6-30.6,11.6
|
|
||||||
c-24.6,0-39.2-15.2-39.2-38c0-21.6,14.7-37.3,37.9-37.3c23.9,0,38.8,14.7,36.1,44.2h-55.7L1049.4,139.3L1049.4,139.3z M1088.2,124.7
|
|
||||||
c-1.2-9.3-8.4-13.8-18.5-13.8c-9.6,0-17.4,4.7-20,13.8H1088.2z"/>
|
|
||||||
<path class="st1" d="M1163.6,97.2h21.2v0.6l-23.4,34.5l24.9,35.8v0.5h-21.2l-15.5-23.9l-15.5,23.9H1113v-0.5l24.9-35.8l-23.4-34.5
|
|
||||||
v-0.6h21.2l14,24.2L1163.6,97.2z"/>
|
|
||||||
<path class="st0" d="M378.1,96.5l-38.8,72.4h-0.9l-40.6-72.4H320l19.4,34.5l17.7-34.5H378.1L378.1,96.5z"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 5.3 KiB |
@@ -1,366 +0,0 @@
|
|||||||
/******/ (function(modules) { // webpackBootstrap
|
|
||||||
/******/ // install a JSONP callback for chunk loading
|
|
||||||
/******/ function webpackJsonpCallback(data) {
|
|
||||||
/******/ var chunkIds = data[0];
|
|
||||||
/******/ var moreModules = data[1];
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // add "moreModules" to the modules object,
|
|
||||||
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
||||||
/******/ var moduleId, chunkId, i = 0, resolves = [];
|
|
||||||
/******/ for(;i < chunkIds.length; i++) {
|
|
||||||
/******/ chunkId = chunkIds[i];
|
|
||||||
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
||||||
/******/ resolves.push(installedChunks[chunkId][0]);
|
|
||||||
/******/ }
|
|
||||||
/******/ installedChunks[chunkId] = 0;
|
|
||||||
/******/ }
|
|
||||||
/******/ for(moduleId in moreModules) {
|
|
||||||
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
|
||||||
/******/ modules[moduleId] = moreModules[moduleId];
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
|
|
||||||
/******/
|
|
||||||
/******/ while(resolves.length) {
|
|
||||||
/******/ resolves.shift()();
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // The module cache
|
|
||||||
/******/ var installedModules = {};
|
|
||||||
/******/
|
|
||||||
/******/ // object to store loaded and loading chunks
|
|
||||||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
||||||
/******/ // Promise = chunk loading, 0 = chunk loaded
|
|
||||||
/******/ var installedChunks = {
|
|
||||||
/******/ "main": 0
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // script path function
|
|
||||||
/******/ function jsonpScriptSrc(chunkId) {
|
|
||||||
/******/ return __webpack_require__.p + "" + chunkId + ".bootstrap.js"
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ // object to store loaded and loading wasm modules
|
|
||||||
/******/ var installedWasmModules = {};
|
|
||||||
/******/
|
|
||||||
/******/ function promiseResolve() { return Promise.resolve(); }
|
|
||||||
/******/
|
|
||||||
/******/ var wasmImportObjects = {
|
|
||||||
/******/ "../pkg/vtracer_webapp_bg.wasm": function() {
|
|
||||||
/******/ return {
|
|
||||||
/******/ "./vtracer_webapp_bg.js": {
|
|
||||||
/******/ "__wbindgen_object_drop_ref": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbindgen_object_drop_ref"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbindgen_string_new": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbindgen_string_new"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_new_abda76e883ba8a5f": function() {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_new_abda76e883ba8a5f"]();
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_stack_658279fe44541cf6": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_stack_658279fe44541cf6"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_error_f851667af71bcfc6": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_error_f851667af71bcfc6"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_instanceof_Window_f401953a2cf86220": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_instanceof_Window_f401953a2cf86220"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_document_5100775d18896c16": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_document_5100775d18896c16"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_createElementNS_556a62fb298be5a2": function(p0i32,p1i32,p2i32,p3i32,p4i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_createElementNS_556a62fb298be5a2"](p0i32,p1i32,p2i32,p3i32,p4i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_getElementById_c369ff43f0db99cf": function(p0i32,p1i32,p2i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_getElementById_c369ff43f0db99cf"](p0i32,p1i32,p2i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_setAttribute_3c9f6c303b696daa": function(p0i32,p1i32,p2i32,p3i32,p4i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_setAttribute_3c9f6c303b696daa"](p0i32,p1i32,p2i32,p3i32,p4i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_prepend_6fcfb183e9fe632c": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_prepend_6fcfb183e9fe632c"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_instanceof_CanvasRenderingContext2d_20bf99ccc051643b"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_getImageData_740186e596b34364": function(p0i32,p1f64,p2f64,p3f64,p4f64) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_getImageData_740186e596b34364"](p0i32,p1f64,p2f64,p3f64,p4f64);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_data_c02d3aac6da15e9f": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_data_c02d3aac6da15e9f"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_debug_7d879afce6cf56cb": function(p0i32,p1i32,p2i32,p3i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_debug_7d879afce6cf56cb"](p0i32,p1i32,p2i32,p3i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_error_696630710900ec44": function(p0i32,p1i32,p2i32,p3i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_error_696630710900ec44"](p0i32,p1i32,p2i32,p3i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_info_80803d9a3f0aad16": function(p0i32,p1i32,p2i32,p3i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_info_80803d9a3f0aad16"](p0i32,p1i32,p2i32,p3i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_log_5bb5f88f245d7762": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_log_5bb5f88f245d7762"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_log_151eb4333ef0fe39": function(p0i32,p1i32,p2i32,p3i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_log_151eb4333ef0fe39"](p0i32,p1i32,p2i32,p3i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_warn_5d3f783b0bae8943": function(p0i32,p1i32,p2i32,p3i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_warn_5d3f783b0bae8943"](p0i32,p1i32,p2i32,p3i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_instanceof_HtmlCanvasElement_46bdbf323b0b18d1": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_instanceof_HtmlCanvasElement_46bdbf323b0b18d1"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_width_aee8b8809b033b05": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_width_aee8b8809b033b05"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_height_80053d3c71b338e0": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_height_80053d3c71b338e0"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_getContext_df50fa48a8876636": function(p0i32,p1i32,p2i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_getContext_df50fa48a8876636"](p0i32,p1i32,p2i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_newnoargs_e258087cd0daa0ea": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_newnoargs_e258087cd0daa0ea"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_call_27c0f87801dedf93": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_call_27c0f87801dedf93"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbindgen_object_clone_ref": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbindgen_object_clone_ref"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_self_ce0dbfc45cf2f5be": function() {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_self_ce0dbfc45cf2f5be"]();
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_window_c6fb939a7f436783": function() {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_window_c6fb939a7f436783"]();
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_globalThis_d1e6af4856ba331b": function() {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_globalThis_d1e6af4856ba331b"]();
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbg_global_207b558942527489": function() {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbg_global_207b558942527489"]();
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbindgen_is_undefined": function(p0i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbindgen_is_undefined"](p0i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbindgen_debug_string": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbindgen_debug_string"](p0i32,p1i32);
|
|
||||||
/******/ },
|
|
||||||
/******/ "__wbindgen_throw": function(p0i32,p1i32) {
|
|
||||||
/******/ return installedModules["../pkg/vtracer_webapp_bg.js"].exports["__wbindgen_throw"](p0i32,p1i32);
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/ },
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // The require function
|
|
||||||
/******/ function __webpack_require__(moduleId) {
|
|
||||||
/******/
|
|
||||||
/******/ // Check if module is in cache
|
|
||||||
/******/ if(installedModules[moduleId]) {
|
|
||||||
/******/ return installedModules[moduleId].exports;
|
|
||||||
/******/ }
|
|
||||||
/******/ // Create a new module (and put it into the cache)
|
|
||||||
/******/ var module = installedModules[moduleId] = {
|
|
||||||
/******/ i: moduleId,
|
|
||||||
/******/ l: false,
|
|
||||||
/******/ exports: {}
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Execute the module function
|
|
||||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
||||||
/******/
|
|
||||||
/******/ // Flag the module as loaded
|
|
||||||
/******/ module.l = true;
|
|
||||||
/******/
|
|
||||||
/******/ // Return the exports of the module
|
|
||||||
/******/ return module.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ // This file contains only the entry chunk.
|
|
||||||
/******/ // The chunk loading function for additional chunks
|
|
||||||
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
|
|
||||||
/******/ var promises = [];
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // JSONP chunk loading for javascript
|
|
||||||
/******/
|
|
||||||
/******/ var installedChunkData = installedChunks[chunkId];
|
|
||||||
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|
||||||
/******/
|
|
||||||
/******/ // a Promise means "currently loading".
|
|
||||||
/******/ if(installedChunkData) {
|
|
||||||
/******/ promises.push(installedChunkData[2]);
|
|
||||||
/******/ } else {
|
|
||||||
/******/ // setup Promise in chunk cache
|
|
||||||
/******/ var promise = new Promise(function(resolve, reject) {
|
|
||||||
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
|
|
||||||
/******/ });
|
|
||||||
/******/ promises.push(installedChunkData[2] = promise);
|
|
||||||
/******/
|
|
||||||
/******/ // start chunk loading
|
|
||||||
/******/ var script = document.createElement('script');
|
|
||||||
/******/ var onScriptComplete;
|
|
||||||
/******/
|
|
||||||
/******/ script.charset = 'utf-8';
|
|
||||||
/******/ script.timeout = 120;
|
|
||||||
/******/ if (__webpack_require__.nc) {
|
|
||||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|
||||||
/******/ }
|
|
||||||
/******/ script.src = jsonpScriptSrc(chunkId);
|
|
||||||
/******/
|
|
||||||
/******/ // create error before stack unwound to get useful stacktrace later
|
|
||||||
/******/ var error = new Error();
|
|
||||||
/******/ onScriptComplete = function (event) {
|
|
||||||
/******/ // avoid mem leaks in IE.
|
|
||||||
/******/ script.onerror = script.onload = null;
|
|
||||||
/******/ clearTimeout(timeout);
|
|
||||||
/******/ var chunk = installedChunks[chunkId];
|
|
||||||
/******/ if(chunk !== 0) {
|
|
||||||
/******/ if(chunk) {
|
|
||||||
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
||||||
/******/ var realSrc = event && event.target && event.target.src;
|
|
||||||
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|
||||||
/******/ error.name = 'ChunkLoadError';
|
|
||||||
/******/ error.type = errorType;
|
|
||||||
/******/ error.request = realSrc;
|
|
||||||
/******/ chunk[1](error);
|
|
||||||
/******/ }
|
|
||||||
/******/ installedChunks[chunkId] = undefined;
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/ var timeout = setTimeout(function(){
|
|
||||||
/******/ onScriptComplete({ type: 'timeout', target: script });
|
|
||||||
/******/ }, 120000);
|
|
||||||
/******/ script.onerror = script.onload = onScriptComplete;
|
|
||||||
/******/ document.head.appendChild(script);
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ // Fetch + compile chunk loading for webassembly
|
|
||||||
/******/
|
|
||||||
/******/ var wasmModules = {"0":["../pkg/vtracer_webapp_bg.wasm"]}[chunkId] || [];
|
|
||||||
/******/
|
|
||||||
/******/ wasmModules.forEach(function(wasmModuleId) {
|
|
||||||
/******/ var installedWasmModuleData = installedWasmModules[wasmModuleId];
|
|
||||||
/******/
|
|
||||||
/******/ // a Promise means "currently loading" or "already loaded".
|
|
||||||
/******/ if(installedWasmModuleData)
|
|
||||||
/******/ promises.push(installedWasmModuleData);
|
|
||||||
/******/ else {
|
|
||||||
/******/ var importObject = wasmImportObjects[wasmModuleId]();
|
|
||||||
/******/ var req = fetch(__webpack_require__.p + "" + {"../pkg/vtracer_webapp_bg.wasm":"1ea3f1b97c566154f2b2"}[wasmModuleId] + ".module.wasm");
|
|
||||||
/******/ var promise;
|
|
||||||
/******/ if(importObject instanceof Promise && typeof WebAssembly.compileStreaming === 'function') {
|
|
||||||
/******/ promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {
|
|
||||||
/******/ return WebAssembly.instantiate(items[0], items[1]);
|
|
||||||
/******/ });
|
|
||||||
/******/ } else if(typeof WebAssembly.instantiateStreaming === 'function') {
|
|
||||||
/******/ promise = WebAssembly.instantiateStreaming(req, importObject);
|
|
||||||
/******/ } else {
|
|
||||||
/******/ var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });
|
|
||||||
/******/ promise = bytesPromise.then(function(bytes) {
|
|
||||||
/******/ return WebAssembly.instantiate(bytes, importObject);
|
|
||||||
/******/ });
|
|
||||||
/******/ }
|
|
||||||
/******/ promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {
|
|
||||||
/******/ return __webpack_require__.w[wasmModuleId] = (res.instance || res).exports;
|
|
||||||
/******/ }));
|
|
||||||
/******/ }
|
|
||||||
/******/ });
|
|
||||||
/******/ return Promise.all(promises);
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // expose the modules object (__webpack_modules__)
|
|
||||||
/******/ __webpack_require__.m = modules;
|
|
||||||
/******/
|
|
||||||
/******/ // expose the module cache
|
|
||||||
/******/ __webpack_require__.c = installedModules;
|
|
||||||
/******/
|
|
||||||
/******/ // define getter function for harmony exports
|
|
||||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
||||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
||||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // define __esModule on exports
|
|
||||||
/******/ __webpack_require__.r = function(exports) {
|
|
||||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
||||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
||||||
/******/ }
|
|
||||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // create a fake namespace object
|
|
||||||
/******/ // mode & 1: value is a module id, require it
|
|
||||||
/******/ // mode & 2: merge all properties of value into the ns
|
|
||||||
/******/ // mode & 4: return value when already ns object
|
|
||||||
/******/ // mode & 8|1: behave like require
|
|
||||||
/******/ __webpack_require__.t = function(value, mode) {
|
|
||||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
||||||
/******/ if(mode & 8) return value;
|
|
||||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
||||||
/******/ var ns = Object.create(null);
|
|
||||||
/******/ __webpack_require__.r(ns);
|
|
||||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
||||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
||||||
/******/ return ns;
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
||||||
/******/ __webpack_require__.n = function(module) {
|
|
||||||
/******/ var getter = module && module.__esModule ?
|
|
||||||
/******/ function getDefault() { return module['default']; } :
|
|
||||||
/******/ function getModuleExports() { return module; };
|
|
||||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
||||||
/******/ return getter;
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Object.prototype.hasOwnProperty.call
|
|
||||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
||||||
/******/
|
|
||||||
/******/ // __webpack_public_path__
|
|
||||||
/******/ __webpack_require__.p = "";
|
|
||||||
/******/
|
|
||||||
/******/ // on error function for async loading
|
|
||||||
/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
|
|
||||||
/******/
|
|
||||||
/******/ // object with all WebAssembly.instance exports
|
|
||||||
/******/ __webpack_require__.w = {};
|
|
||||||
/******/
|
|
||||||
/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
|
|
||||||
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
|
||||||
/******/ jsonpArray.push = webpackJsonpCallback;
|
|
||||||
/******/ jsonpArray = jsonpArray.slice();
|
|
||||||
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
|
||||||
/******/ var parentJsonpFunction = oldJsonpFunction;
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // Load entry module and return exports
|
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = "./bootstrap.js");
|
|
||||||
/******/ })
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ ({
|
|
||||||
|
|
||||||
/***/ "./bootstrap.js":
|
|
||||||
/*!**********************!*\
|
|
||||||
!*** ./bootstrap.js ***!
|
|
||||||
\**********************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
eval("// A dependency graph that contains any wasm must all be imported\n// asynchronously. This `bootstrap.js` file does the single async import, so\n// that no one else needs to worry about it again.\n__webpack_require__.e(/*! import() */ 0).then(__webpack_require__.bind(null, /*! ./index.js */ \"./index.js\"))\n .catch(e => console.error(\"Error importing `index.js`:\", e));\n\n\n//# sourceURL=webpack:///./bootstrap.js?");
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
/******/ });
|
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -1,44 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
||||||
viewBox="0 0 1783.4 441.4" style="enable-background:new 0 0 1783.4 441.4;" xml:space="preserve">
|
|
||||||
<style type="text/css">
|
|
||||||
.st0{fill:#A1FCFE;}
|
|
||||||
.st1{fill:#010357;}
|
|
||||||
</style>
|
|
||||||
<rect class="st0" width="1783.4" height="441.4"/>
|
|
||||||
<g>
|
|
||||||
<path class="st1" d="M61.4,393.2V73.8H250V113H109v100.4h124.2v39.7H109v140.1L61.4,393.2L61.4,393.2z"/>
|
|
||||||
<path class="st1" d="M280,393.2V159.7h45.3v233.5L280,393.2L280,393.2z M330.9,92.4c0-15.5-12.5-28-28-28s-28,12.5-28,28
|
|
||||||
s12.5,28,28,28S330.9,107.9,330.9,92.4z"/>
|
|
||||||
<path class="st1" d="M383.5,338.6V57.9h45.3v278.8c0,21,3.7,26.1,18.7,26.1c6.1,0,11.7-0.5,16.8-1.4v30.4
|
|
||||||
c-9.8,2.8-20.1,4.2-29.9,4.2C400.3,396,383.5,376.9,383.5,338.6z"/>
|
|
||||||
<path class="st1" d="M480.6,275.5c0-78.5,41.6-121.4,110.2-121.4c31.3,0,55.6,9.8,72.9,29.9c17.3,19.6,26.2,45.3,26.2,77.5
|
|
||||||
c0,7-0.5,14.9-1.9,24.3H525.4c0.9,50.9,22.4,76.6,64.4,76.6c31.8,0,53.2-14.5,53.2-42H687c0,48.6-39.7,77.5-97.6,77.5
|
|
||||||
C521.7,397.9,480.6,357.3,480.6,275.5z M645,251.7c-0.9-41.6-19.6-62.1-55.6-62.1c-39.7,0-59.8,24.3-63.5,62.1H645z"/>
|
|
||||||
<path class="st1" d="M720.7,323.2h44.8c1.9,28.5,18.7,38.8,51.8,38.8c28.5,0,46.7-15,46.7-35c0-20.6-16.8-28.5-48.1-36l-13.1-2.8
|
|
||||||
l-14.5-3.7l-12.6-4.2c-6.1-1.9-10.7-3.3-13.1-4.7c-5.1-3.3-17.3-8.9-21.5-14.5c-7.5-8.9-15.4-21.5-14-38.8c0-21,8.4-37.8,25.2-50
|
|
||||||
c17.3-12.1,37.8-18.2,62.1-18.2c55.6,0,91.5,22.4,91.5,72.4h-43c-0.5-26.6-16.8-36.4-49-36.4c-24.3,0-40.6,11.2-40.6,31.3
|
|
||||||
c0,18.7,15.9,25.7,49,33.6l5.6,1.4c10.3,2.3,18.2,4.7,23.3,6.1c5.1,1.4,12.1,4.2,21,8.4c23.8,10.3,34.6,25.7,36.9,56
|
|
||||||
c0,43.4-37.8,71-92.5,71C754.8,397.9,720.7,371.7,720.7,323.2z"/>
|
|
||||||
<path class="st1" d="M964,336.7V192.4h-39.2v-32.7h39.7V94.3h44.8v65.4h64v32.7h-64v143.4c0,17.3,8.9,25.7,26.2,25.7
|
|
||||||
c14.5,0,28-1.9,39.7-5.1v34.6c-13.6,4.2-28,6.1-43.4,6.1C986.9,397,964,375.5,964,336.7z"/>
|
|
||||||
<path class="st1" d="M1095.3,325.5c0-44.8,35-69.6,93.4-69.6h58.4v-20.6c0-28.5-16.8-45.8-50-45.8c-35.5,0-51.8,16.8-51.8,41.6
|
|
||||||
h-43.4c0-44.8,33.2-77.1,95.3-77.1c61.2,0,95.7,30.4,95.7,83.1v92.5c0,26.1,3.7,32.2,17.3,33.6h6.5v29.4
|
|
||||||
c-4.7,1.4-11.7,2.3-21.5,2.3c-26.6,0-41.6-15.9-43.4-41.6c-8.9,23.8-36.4,44.4-74.3,44.4C1127.5,397.9,1095.3,368.5,1095.3,325.5z
|
|
||||||
M1247.1,297.5v-9.3h-58.4c-32.2,0-48.6,12.6-48.6,37.4c0,22.9,14,36.9,41.6,36.9C1222.3,362.4,1247.1,334.4,1247.1,297.5z"/>
|
|
||||||
<path class="st1" d="M1351.7,395.1V161.6h43.9l0.9,36.4h0.9c11.7-24.8,34.1-40.6,62.1-40.6c8.4,0,15.9,0.9,22.9,3.3v38.8
|
|
||||||
c-7.5-1.4-15.9-1.9-25.7-1.9c-33.2,0-59.3,28-59.3,72.9v124.7H1351.7z"/>
|
|
||||||
<g>
|
|
||||||
<g>
|
|
||||||
<rect x="1549" y="146.5" transform="matrix(0.866 -0.5 0.5 0.866 137.8024 841.2704)" class="st1" width="179.4" height="34"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<rect x="1621.7" y="73.8" transform="matrix(0.5 -0.866 0.866 0.5 677.7373 1500.9166)" class="st1" width="34" height="179.4"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<rect x="1621.7" y="73.8" class="st1" width="34" height="179.4"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 3.1 KiB |
@@ -1,478 +1,17 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="UTF-8" />
|
||||||
<title>VTracer</title>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="apple-touch-icon" sizes="192x192" href="./assets/apple-icon.png">
|
<title>VTracer Web Demo</title>
|
||||||
<link rel="icon" type="image/png" sizes="192x192" href="./assets/apple-icon.png">
|
<meta name="description" content="Convert raster images into vector graphics in your browser with VTracer." />
|
||||||
<!-- UIkit CSS -->
|
<link rel="icon" type="image/png" href="./assets/apple-icon.png" />
|
||||||
<link rel="stylesheet" href="./uikit/css/uikit.min.css" />
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XPL1JGMDSC"></script>
|
||||||
|
<script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XPL1JGMDSC');</script>
|
||||||
<!-- UIkit JS -->
|
<script type="module" crossorigin src="./assets/index-j-XIKsEv.js"></script>
|
||||||
<script src="./uikit/js/uikit.min.js"></script>
|
<link rel="stylesheet" crossorigin href="./assets/index-DyUJl7iw.css">
|
||||||
<script src="./uikit/js/uikit-icons.min.js"></script>
|
</head>
|
||||||
<!-- Google tag (gtag.js) -->
|
<body>
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XPL1JGMDSC"></script>
|
<div id="app"></div>
|
||||||
<script>
|
</body>
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag(){dataLayer.push(arguments);}
|
|
||||||
gtag('js', new Date());
|
|
||||||
|
|
||||||
gtag('config', 'G-XPL1JGMDSC');
|
|
||||||
</script>
|
|
||||||
<style>
|
|
||||||
html, body {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.uk-dark body,
|
|
||||||
.uk-dark .container {
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
.uk-dark #vc-logo-light {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.uk-light #vc-logo {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.uk-light body,
|
|
||||||
.uk-light .container,
|
|
||||||
.uk-light .uk-modal-dialog {
|
|
||||||
background: #2e2e2e;
|
|
||||||
}
|
|
||||||
@media screen and (prefers-color-scheme: dark) {
|
|
||||||
html {
|
|
||||||
background: #2e2e2e;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#droptext {
|
|
||||||
background: #00275D;
|
|
||||||
border: 2px dashed #CC972E;
|
|
||||||
}
|
|
||||||
#droptext.hovering {
|
|
||||||
border: 2px dashed #fff;
|
|
||||||
}
|
|
||||||
.uk-navbar-right.uk-padding-small {
|
|
||||||
padding-top: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
#export,
|
|
||||||
.uk-button-group .uk-button.selected {
|
|
||||||
color: #fff;
|
|
||||||
background: #00275D;
|
|
||||||
border-color: #CC972E;
|
|
||||||
}
|
|
||||||
.uk-dark #export,
|
|
||||||
.uk-dark .uk-button-group .uk-button.selected {
|
|
||||||
border-width: 2px;
|
|
||||||
}
|
|
||||||
.uk-dark #droptext {
|
|
||||||
border-width: 4px;
|
|
||||||
}
|
|
||||||
.uk-button-group > button {
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
@media only screen and (min-width: 1280px) {
|
|
||||||
.uk-button-group > button {
|
|
||||||
padding-left: 25px;
|
|
||||||
padding-right: 25px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#canvas-container {
|
|
||||||
position: relative;
|
|
||||||
height: max-content;
|
|
||||||
}
|
|
||||||
#svg, #frame {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
}
|
|
||||||
#svg > path:hover {
|
|
||||||
stroke: #ff0;
|
|
||||||
}
|
|
||||||
#droptext {
|
|
||||||
height: 480px;
|
|
||||||
color: #CC972E;
|
|
||||||
}
|
|
||||||
input[type=range]::-webkit-slider-thumb {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
background: #00275D;
|
|
||||||
border-color: #CC972E;
|
|
||||||
}
|
|
||||||
input[type=range]::-moz-range-thumb {
|
|
||||||
background: #00275D;
|
|
||||||
border-color: #CC972E;
|
|
||||||
}
|
|
||||||
input[type=range]::-ms-thumb {
|
|
||||||
background: #00275D;
|
|
||||||
border-color: #CC972E;
|
|
||||||
}
|
|
||||||
#drop, #gallery, #options {
|
|
||||||
border-top: 1px solid #686868;
|
|
||||||
}
|
|
||||||
#gallery {
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
.galleryitem {
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 2px;
|
|
||||||
margin: 1px;
|
|
||||||
}
|
|
||||||
.galleryitem:hover {
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
border: 2px solid #CC972E;
|
|
||||||
}
|
|
||||||
.galleryitem img {
|
|
||||||
max-height: 120px;
|
|
||||||
}
|
|
||||||
.uk-text-meta {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.desktop-banner {
|
|
||||||
border: 1px solid rgba(204, 151, 46, 0.55);
|
|
||||||
background: rgba(204, 151, 46, 0.12);
|
|
||||||
gap: 8px 16px;
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
}
|
|
||||||
.desktop-banner-title {
|
|
||||||
margin: 0;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.desktop-banner-copy {
|
|
||||||
margin: 4px 0 0 0;
|
|
||||||
}
|
|
||||||
.desktop-banner .uk-button {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.uk-light .desktop-banner {
|
|
||||||
border-color: rgba(204, 151, 46, 0.7);
|
|
||||||
background: rgba(204, 151, 46, 0.16);
|
|
||||||
}
|
|
||||||
@media only screen and (max-width: 640px) {
|
|
||||||
.desktop-banner {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.desktop-banner .uk-button {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="uk-dark">
|
|
||||||
<input type="file" id="imageInput" accept="image/*" style="display: none;">
|
|
||||||
<div class="container uk-padding" uk-grid>
|
|
||||||
<div class="uk-width-1-1 uk-navbar-container uk-navbar-transparent" uk-navbar>
|
|
||||||
<div class="uk-navbar-left uk-text-large uk-text-bolder">
|
|
||||||
<a id="vc-logo" class="uk-logo" href="//www.visioncortex.org"><img style="height: 50px; margin: -30px 0 -25px 0;" src="./assets/visioncortex-logo.svg"></a>
|
|
||||||
<a id="vc-logo-light" class="uk-logo" href="//www.visioncortex.org"><img style="height: 50px; margin: -30px 0 -25px 0;" src="./assets/visioncortex-logo-light.svg"></a>
|
|
||||||
|
|
||||||
/ VTracer
|
|
||||||
</div>
|
|
||||||
<div class="uk-navbar-right uk-padding-small">
|
|
||||||
<a class="uk-button uk-button-default" href="//github.com/visioncortex/vtracer">GitHub</a>
|
|
||||||
|
|
||||||
<a id="export" class="uk-button uk-button-primary">Download as SVG</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="uk-width-1-1">
|
|
||||||
<div class="desktop-banner uk-padding-small uk-flex uk-flex-middle uk-flex-between uk-flex-wrap">
|
|
||||||
<div class="uk-margin-small-right">
|
|
||||||
<p class="desktop-banner-title">Try the latest <a href="https://vtracer.visioncortex.org/" rel="noopener">VTracer Desktop App</a><span id="desktop-banner-copy"> for native speed, curve simplification, and higher tracing quality.</span></p>
|
|
||||||
</div>
|
|
||||||
<a id="desktop-download" class="uk-button uk-button-primary" href="https://github.com/visioncortex/vtracer/releases/latest" rel="noopener">
|
|
||||||
Download Desktop App
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="progressregion" class="uk-width-1-1 uk-padding-small" style="display: none;">
|
|
||||||
<progress id="progressbar" class="uk-progress uk-align-right" value="0" max="100" style="width: 98%;"></progress>
|
|
||||||
</div>
|
|
||||||
<div class="uk-width-3-4">
|
|
||||||
<div id="drop" class="uk-padding uk-flex uk-flex-center">
|
|
||||||
<div id="canvas-container" class="uk-width-1-1">
|
|
||||||
<div id="droptext" class="uk-flex uk-flex-middle uk-flex-center">
|
|
||||||
<p>Drag an image here, Cmd-V to paste or <a href="#" id="imageSelect">Select file</a></p>
|
|
||||||
</div>
|
|
||||||
<canvas id="frame"></canvas>
|
|
||||||
<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="gallery" class="uk-padding">
|
|
||||||
<div class="uk-inline" uk-slider>
|
|
||||||
<ul id="galleryslider" class="uk-slider-items uk-child-width-1-6 uk-grid uk-grid-small">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
<a class="uk-position-center-left uk-position-small uk-hidden-hover" href="#" uk-slidenav-previous uk-slider-item="previous"></a>
|
|
||||||
<a class="uk-position-center-right uk-position-small uk-hidden-hover" href="#" uk-slidenav-next uk-slider-item="next"></a>
|
|
||||||
</div>
|
|
||||||
<a class="uk-align-right uk-text-meta" style="margin:-5px;" uk-toggle="target: #credits-modal">Photo Credits</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="options" class="uk-width-1-4 uk-height-1-1 uk-grid-small uk-flex uk-flex-center" uk-grid>
|
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div class="uk-text-bold" uk-tooltip="pos:left; title: Algorithm for segmentation and grouping of pixel clusters">
|
|
||||||
Clustering
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div class="uk-button-group">
|
|
||||||
<button id="clustering-binary" class="uk-button uk-button-default" uk-tooltip="Black & White (Binary Image)">B/W</button>
|
|
||||||
<button id="clustering-color" class="selected uk-button uk-button-default" uk-tooltip="True Color Image">Color</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clustering-color-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div class="uk-button-group">
|
|
||||||
<button id="clustering-cutout" class="uk-button uk-button-default uk-button-small" uk-tooltip="Shapes disjoint with others">Cutout</button>
|
|
||||||
<button id="clustering-stacked" class="selected uk-button uk-button-default uk-button-small" uk-tooltip="Stack shapes on top of another">Stacked</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Discard patches small than X px in size">
|
|
||||||
Filter Speckle <span class="uk-text-meta">(Cleaner)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="filterspecklevalue" class="uk-width-1-6">
|
|
||||||
4
|
|
||||||
</div>
|
|
||||||
<div class="uk-width-5-6">
|
|
||||||
<input id="filterspeckle" class="uk-range" type="range" min="0" max="128" step="1" value="4">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clustering-color-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Number of significant bits to use in a RGB channel">
|
|
||||||
Color Precision <span class="uk-text-meta">(More accurate)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="colorprecisionvalue" class="clustering-color-options uk-width-1-6">
|
|
||||||
6
|
|
||||||
</div>
|
|
||||||
<div class="clustering-color-options uk-width-5-6">
|
|
||||||
<input id="colorprecision" class="uk-range" type="range" min="1" max="8" step="1" value="6">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clustering-color-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Color difference between gradient layers">
|
|
||||||
Gradient Step <span class="uk-text-meta">(Less layers)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="layerdifferencevalue" class="clustering-color-options uk-width-1-6">
|
|
||||||
16
|
|
||||||
</div>
|
|
||||||
<div class="clustering-color-options uk-width-5-6">
|
|
||||||
<input id="layerdifference" class="uk-range" type="range" min="0" max="128" step="1" value="16">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div class="uk-text-bold" uk-tooltip="pos: left; title: Algorithm for converting clusters to shapes">
|
|
||||||
Curve Fitting
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div class="uk-button-group">
|
|
||||||
<button id="none" class="uk-button uk-button-default" uk-tooltip="Exact cluster boundary">PIXEL</button>
|
|
||||||
<button id="polygon" class="uk-button uk-button-default" uk-tooltip="Simplify to Polygon">Polygon</button>
|
|
||||||
<button id="spline" class="selected uk-button uk-button-default" uk-tooltip="Smooth and Curve-fit">Spline</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="spline-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Minimum Momentary Angle (in degrees) to be considered a corner (to be kept after smoothing)">
|
|
||||||
Corner Threshold <span class="uk-text-meta">(Smoother)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="cornervalue" class="spline-options uk-width-1-6">
|
|
||||||
60
|
|
||||||
</div>
|
|
||||||
<div class="spline-options uk-width-5-6">
|
|
||||||
<input id="corner" class="uk-range" type="range" min="0" max="180" step="1" value="60">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="spline-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Perform Iterative Subdivide Smooth until all segments are shorter than this length">
|
|
||||||
Segment Length <span class="uk-text-meta">(More coarse)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="lengthvalue" class="spline-options uk-width-1-6">
|
|
||||||
4
|
|
||||||
</div>
|
|
||||||
<div class="spline-options uk-width-5-6">
|
|
||||||
<input id="length" class="uk-range" type="range" min="3.5" max="10" step="0.5" value="4">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="spline-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Minimum Angle Displacement (in degrees) to be considered a cutting point between curves">
|
|
||||||
Splice Threshold <span class="uk-text-meta">(Less accurate)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="splicevalue" class="spline-options uk-width-1-6">
|
|
||||||
45
|
|
||||||
</div>
|
|
||||||
<div class="spline-options uk-width-5-6">
|
|
||||||
<input id="splice" class="uk-range" type="range" min="0" max="180" step="1" value="45">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="display: none">
|
|
||||||
<div class="spline-options uk-width-1-1 uk-flex uk-flex-right">
|
|
||||||
<div uk-tooltip="pos: left; title: Number of decimal places used in svg path string">
|
|
||||||
Path Precision <span class="uk-text-meta">(More digits)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="pathprecisionvalue" class="spline-options uk-width-1-6">
|
|
||||||
8
|
|
||||||
</div>
|
|
||||||
<div class="spline-options uk-width-5-6">
|
|
||||||
<input id="pathprecision" class="uk-range" type="range" min="0" max="16" step="1" value="8">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="credits-modal" uk-modal>
|
|
||||||
<div id="credits-modal-content" class="uk-modal-dialog uk-modal-body">
|
|
||||||
<p>Image Credits</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
||||||
document.body.classList.remove('uk-dark');
|
|
||||||
document.body.classList.add('uk-light');
|
|
||||||
}
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var releasesUrl = 'https://github.com/visioncortex/vtracer/releases/latest';
|
|
||||||
var manifestUrl = 'https://raw.githubusercontent.com/visioncortex/vtracer/desktop-updates/latest.json';
|
|
||||||
var downloadLink = document.getElementById('desktop-download');
|
|
||||||
var bannerCopy = document.getElementById('desktop-banner-copy');
|
|
||||||
|
|
||||||
function detectPlatform() {
|
|
||||||
var platform = navigator.userAgentData && navigator.userAgentData.platform
|
|
||||||
? navigator.userAgentData.platform
|
|
||||||
: navigator.platform || '';
|
|
||||||
var userAgent = navigator.userAgent || '';
|
|
||||||
var platformText = platform + ' ' + userAgent;
|
|
||||||
|
|
||||||
if (/Windows/i.test(platformText)) {
|
|
||||||
return {
|
|
||||||
label: 'Windows',
|
|
||||||
manifestKeys: ['windows-x86_64']
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
if (/Mac|Darwin/i.test(platformText) && !/iPhone|iPad|iPod/i.test(userAgent)) {
|
|
||||||
return {
|
|
||||||
label: 'macOS',
|
|
||||||
manifestKeys: ['macos-universal', 'darwin-universal', 'darwin-aarch64', 'darwin-x86_64']
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
if (/Linux|X11/i.test(platformText) && !/Android/i.test(userAgent)) {
|
|
||||||
return {
|
|
||||||
label: 'Linux',
|
|
||||||
manifestKeys: ['linux-x86_64']
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
label: '',
|
|
||||||
manifestKeys: []
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
function setFallback(platform) {
|
|
||||||
downloadLink.href = releasesUrl;
|
|
||||||
downloadLink.textContent = platform.label ? 'Download for ' + platform.label : 'View latest downloads';
|
|
||||||
bannerCopy.textContent = platform.label
|
|
||||||
? ' for ' + platform.label + ' with native speed, curve simplification, and higher tracing quality.'
|
|
||||||
: ' for native speed, curve simplification, and higher tracing quality.';
|
|
||||||
}
|
|
||||||
|
|
||||||
function findPlatformDownload(platforms, platform) {
|
|
||||||
var keys = platform.manifestKeys || [];
|
|
||||||
|
|
||||||
for (var i = 0; i < keys.length; i++) {
|
|
||||||
if (platforms[keys[i]] && platforms[keys[i]].url) {
|
|
||||||
return platforms[keys[i]].url;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
|
|
||||||
function publicDownloadUrl(platform, updaterUrl) {
|
|
||||||
if (platform.label !== 'macOS' || !updaterUrl) {
|
|
||||||
return updaterUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
// The manifest points at Tauri's updater bundle; a person wants the
|
|
||||||
// disk image sitting beside it. Rewrite only the filename, so the
|
|
||||||
// release tag comes from the URL we were handed: manifest.version
|
|
||||||
// carries a build suffix the tag does not, and building the URL from
|
|
||||||
// it 404s (version '1.0.0-alpha.3.app.59' lives under tag
|
|
||||||
// '1.0.0-alpha.3').
|
|
||||||
return updaterUrl.replace(/\.app\.tar\.gz$/i, '.dmg');
|
|
||||||
}
|
|
||||||
|
|
||||||
var platform = detectPlatform();
|
|
||||||
setFallback(platform);
|
|
||||||
|
|
||||||
downloadLink.addEventListener('click', function() {
|
|
||||||
if (typeof gtag !== 'function') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
gtag('event', 'desktop_download_click', {
|
|
||||||
platform: platform.label || 'unknown',
|
|
||||||
source: 'docs_banner',
|
|
||||||
download_url: downloadLink.href,
|
|
||||||
transport_type: 'beacon'
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!window.fetch) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
fetch(manifestUrl)
|
|
||||||
.then(function(response) {
|
|
||||||
if (!response.ok) {
|
|
||||||
throw new Error('Desktop manifest lookup failed');
|
|
||||||
}
|
|
||||||
return response.json();
|
|
||||||
})
|
|
||||||
.then(function(manifest) {
|
|
||||||
var updaterUrl = findPlatformDownload(manifest.platforms || {}, platform);
|
|
||||||
var downloadUrl = publicDownloadUrl(platform, updaterUrl);
|
|
||||||
|
|
||||||
if (!downloadUrl) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
downloadLink.href = downloadUrl;
|
|
||||||
downloadLink.textContent = 'Download for ' + platform.label;
|
|
||||||
|
|
||||||
bannerCopy.textContent = ' for ' + platform.label + ' with native speed, curve simplification, and higher tracing quality.';
|
|
||||||
})
|
|
||||||
.catch(function() {
|
|
||||||
setFallback(platform);
|
|
||||||
});
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<script src="./bootstrap.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,167 +0,0 @@
|
|||||||
/*! UIkit 3.5.8 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */
|
|
||||||
|
|
||||||
(function (global, factory) {
|
|
||||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
||||||
typeof define === 'function' && define.amd ? define('uikiticons', factory) :
|
|
||||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.UIkitIcons = factory());
|
|
||||||
}(this, (function () { 'use strict';
|
|
||||||
|
|
||||||
function plugin(UIkit) {
|
|
||||||
|
|
||||||
if (plugin.installed) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
UIkit.icon.add({
|
|
||||||
"500px": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.624,11.866c-0.141,0.132,0.479,0.658,0.662,0.418c0.051-0.046,0.607-0.61,0.662-0.664c0,0,0.738,0.719,0.814,0.719 c0.1,0,0.207-0.055,0.322-0.17c0.27-0.269,0.135-0.416,0.066-0.495l-0.631-0.616l0.658-0.668c0.146-0.156,0.021-0.314-0.1-0.449 c-0.182-0.18-0.359-0.226-0.471-0.125l-0.656,0.654l-0.654-0.654c-0.033-0.034-0.08-0.045-0.124-0.045 c-0.079,0-0.191,0.068-0.307,0.181c-0.202,0.202-0.247,0.351-0.133,0.462l0.665,0.665L9.624,11.866z\"/><path d=\"M11.066,2.884c-1.061,0-2.185,0.248-3.011,0.604c-0.087,0.034-0.141,0.106-0.15,0.205C7.893,3.784,7.919,3.909,7.982,4.066 c0.05,0.136,0.187,0.474,0.452,0.372c0.844-0.326,1.779-0.507,2.633-0.507c0.963,0,1.9,0.191,2.781,0.564 c0.695,0.292,1.357,0.719,2.078,1.34c0.051,0.044,0.105,0.068,0.164,0.068c0.143,0,0.273-0.137,0.389-0.271 c0.191-0.214,0.324-0.395,0.135-0.575c-0.686-0.654-1.436-1.138-2.363-1.533C13.24,3.097,12.168,2.884,11.066,2.884z\"/><path d=\"M16.43,15.747c-0.092-0.028-0.242,0.05-0.309,0.119l0,0c-0.652,0.652-1.42,1.169-2.268,1.521 c-0.877,0.371-1.814,0.551-2.779,0.551c-0.961,0-1.896-0.189-2.775-0.564c-0.848-0.36-1.612-0.879-2.268-1.53 c-0.682-0.688-1.196-1.455-1.529-2.268c-0.325-0.799-0.471-1.643-0.471-1.643c-0.045-0.24-0.258-0.249-0.567-0.203 c-0.128,0.021-0.519,0.079-0.483,0.36v0.01c0.105,0.644,0.289,1.284,0.545,1.895c0.417,0.969,1.002,1.849,1.756,2.604 c0.757,0.754,1.636,1.34,2.604,1.757C8.901,18.785,9.97,19,11.088,19c1.104,0,2.186-0.215,3.188-0.645 c1.838-0.896,2.604-1.757,2.604-1.757c0.182-0.204,0.227-0.317-0.1-0.643C16.779,15.956,16.525,15.774,16.43,15.747z\"/><path d=\"M5.633,13.287c0.293,0.71,0.723,1.341,1.262,1.882c0.54,0.54,1.172,0.971,1.882,1.264c0.731,0.303,1.509,0.461,2.298,0.461 c0.801,0,1.578-0.158,2.297-0.461c0.711-0.293,1.344-0.724,1.883-1.264c0.543-0.541,0.971-1.172,1.264-1.882 c0.314-0.721,0.463-1.5,0.463-2.298c0-0.79-0.148-1.569-0.463-2.289c-0.293-0.699-0.721-1.329-1.264-1.881 c-0.539-0.541-1.172-0.959-1.867-1.263c-0.721-0.303-1.5-0.461-2.299-0.461c-0.802,0-1.613,0.159-2.322,0.461 c-0.577,0.25-1.544,0.867-2.119,1.454v0.012V2.108h8.16C15.1,2.104,15.1,1.69,15.1,1.552C15.1,1.417,15.1,1,14.809,1H5.915 C5.676,1,5.527,1.192,5.527,1.384v6.84c0,0.214,0.273,0.372,0.529,0.428c0.5,0.105,0.614-0.056,0.737-0.224l0,0 c0.18-0.273,0.776-0.884,0.787-0.894c0.901-0.905,2.117-1.408,3.416-1.408c1.285,0,2.5,0.501,3.412,1.408 c0.914,0.914,1.408,2.122,1.408,3.405c0,1.288-0.508,2.496-1.408,3.405c-0.9,0.896-2.152,1.406-3.438,1.406 c-0.877,0-1.711-0.229-2.433-0.671v-4.158c0-0.553,0.237-1.151,0.643-1.614c0.462-0.519,1.094-0.799,1.782-0.799 c0.664,0,1.293,0.253,1.758,0.715c0.459,0.459,0.709,1.071,0.709,1.723c0,1.385-1.094,2.468-2.488,2.468 c-0.273,0-0.769-0.121-0.781-0.125c-0.281-0.087-0.405,0.306-0.438,0.436c-0.159,0.496,0.079,0.585,0.123,0.607 c0.452,0.137,0.743,0.157,1.129,0.157c1.973,0,3.572-1.6,3.572-3.57c0-1.964-1.6-3.552-3.572-3.552c-0.97,0-1.872,0.36-2.546,1.038 c-0.656,0.631-1.027,1.487-1.027,2.322v3.438v-0.011c-0.372-0.42-0.732-1.041-0.981-1.682c-0.102-0.248-0.315-0.202-0.607-0.113 c-0.135,0.035-0.519,0.157-0.44,0.439C5.372,12.799,5.577,13.164,5.633,13.287z\"/></svg>",
|
|
||||||
"album": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"5\" y=\"2\" width=\"10\" height=\"1\"/><rect x=\"3\" y=\"4\" width=\"14\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"6.5\" width=\"17\" height=\"11\"/></svg>",
|
|
||||||
"arrow-down": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"10.5,16.08 5.63,10.66 6.37,10 10.5,14.58 14.63,10 15.37,10.66\"/><line fill=\"none\" stroke=\"#000\" x1=\"10.5\" y1=\"4\" x2=\"10.5\" y2=\"15\"/></svg>",
|
|
||||||
"arrow-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"10 14 5 9.5 10 5\"/><line fill=\"none\" stroke=\"#000\" x1=\"16\" y1=\"9.5\" x2=\"5\" y2=\"9.52\"/></svg>",
|
|
||||||
"arrow-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"10 5 15 9.5 10 14\"/><line fill=\"none\" stroke=\"#000\" x1=\"4\" y1=\"9.5\" x2=\"15\" y2=\"9.5\"/></svg>",
|
|
||||||
"arrow-up": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"10.5,4 15.37,9.4 14.63,10.08 10.5,5.49 6.37,10.08 5.63,9.4\"/><line fill=\"none\" stroke=\"#000\" x1=\"10.5\" y1=\"16\" x2=\"10.5\" y2=\"5\"/></svg>",
|
|
||||||
"ban": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"4\" y1=\"3.5\" x2=\"16\" y2=\"16.5\"/></svg>",
|
|
||||||
"behance": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5,10.6c-0.4-0.5-0.9-0.9-1.6-1.1c1.7-1,2.2-3.2,0.7-4.7C7.8,4,6.3,4,5.2,4C3.5,4,1.7,4,0,4v12c1.7,0,3.4,0,5.2,0 c1,0,2.1,0,3.1-0.5C10.2,14.6,10.5,12.3,9.5,10.6L9.5,10.6z M5.6,6.1c1.8,0,1.8,2.7-0.1,2.7c-1,0-2,0-2.9,0V6.1H5.6z M2.6,13.8v-3.1 c1.1,0,2.1,0,3.2,0c2.1,0,2.1,3.2,0.1,3.2L2.6,13.8z\"/><path d=\"M19.9,10.9C19.7,9.2,18.7,7.6,17,7c-4.2-1.3-7.3,3.4-5.3,7.1c0.9,1.7,2.8,2.3,4.7,2.1c1.7-0.2,2.9-1.3,3.4-2.9h-2.2 c-0.4,1.3-2.4,1.5-3.5,0.6c-0.4-0.4-0.6-1.1-0.6-1.7H20C20,11.7,19.9,10.9,19.9,10.9z M13.5,10.6c0-1.6,2.3-2.7,3.5-1.4 c0.4,0.4,0.5,0.9,0.6,1.4H13.5L13.5,10.6z\"/><rect x=\"13\" y=\"4\" width=\"5\" height=\"1.4\"/></svg>",
|
|
||||||
"bell": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M17,15.5 L3,15.5 C2.99,14.61 3.79,13.34 4.1,12.51 C4.58,11.3 4.72,10.35 5.19,7.01 C5.54,4.53 5.89,3.2 7.28,2.16 C8.13,1.56 9.37,1.5 9.81,1.5 L9.96,1.5 C9.96,1.5 11.62,1.41 12.67,2.17 C14.08,3.2 14.42,4.54 14.77,7.02 C15.26,10.35 15.4,11.31 15.87,12.52 C16.2,13.34 17.01,14.61 17,15.5 L17,15.5 Z\"/><path fill=\"none\" stroke=\"#000\" d=\"M12.39,16 C12.39,17.37 11.35,18.43 9.91,18.43 C8.48,18.43 7.42,17.37 7.42,16\"/></svg>",
|
|
||||||
"bold": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5,15.3 C5.66,15.3 5.9,15 5.9,14.53 L5.9,5.5 C5.9,4.92 5.56,4.7 5,4.7 L5,4 L8.95,4 C12.6,4 13.7,5.37 13.7,6.9 C13.7,7.87 13.14,9.17 10.86,9.59 L10.86,9.7 C13.25,9.86 14.29,11.28 14.3,12.54 C14.3,14.47 12.94,16 9,16 L5,16 L5,15.3 Z M9,9.3 C11.19,9.3 11.8,8.5 11.85,7 C11.85,5.65 11.3,4.8 9,4.8 L7.67,4.8 L7.67,9.3 L9,9.3 Z M9.185,15.22 C11.97,15 12.39,14 12.4,12.58 C12.4,11.15 11.39,10 9,10 L7.67,10 L7.67,15 L9.18,15 Z\"/></svg>",
|
|
||||||
"bolt": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.74,20 L7.73,12 L3,12 L15.43,1 L12.32,9 L17.02,9 L4.74,20 L4.74,20 L4.74,20 Z M9.18,11 L7.1,16.39 L14.47,10 L10.86,10 L12.99,4.67 L5.61,11 L9.18,11 L9.18,11 L9.18,11 Z\"/></svg>",
|
|
||||||
"bookmark": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"5.5 1.5 15.5 1.5 15.5 17.5 10.5 12.5 5.5 17.5\"/></svg>",
|
|
||||||
"calendar": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 2,3 2,17 18,17 18,3 2,3 Z M 17,16 3,16 3,8 17,8 17,16 Z M 17,7 3,7 3,4 17,4 17,7 Z\"/><rect width=\"1\" height=\"3\" x=\"6\" y=\"2\"/><rect width=\"1\" height=\"3\" x=\"13\" y=\"2\"/></svg>",
|
|
||||||
"camera": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10.8\" r=\"3.8\"/><path fill=\"none\" stroke=\"#000\" d=\"M1,4.5 C0.7,4.5 0.5,4.7 0.5,5 L0.5,17 C0.5,17.3 0.7,17.5 1,17.5 L19,17.5 C19.3,17.5 19.5,17.3 19.5,17 L19.5,5 C19.5,4.7 19.3,4.5 19,4.5 L13.5,4.5 L13.5,2.9 C13.5,2.6 13.3,2.5 13,2.5 L7,2.5 C6.7,2.5 6.5,2.6 6.5,2.9 L6.5,4.5 L1,4.5 L1,4.5 Z\"/></svg>",
|
|
||||||
"cart": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"7.3\" cy=\"17.3\" r=\"1.4\"/><circle cx=\"13.3\" cy=\"17.3\" r=\"1.4\"/><polyline fill=\"none\" stroke=\"#000\" points=\"0 2 3.2 4 5.3 12.5 16 12.5 18 6.5 8 6.5\"/></svg>",
|
|
||||||
"check": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"4,10 8,15 17,4\"/></svg>",
|
|
||||||
"chevron-double-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"10 14 6 10 10 6\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"14 14 10 10 14 6\"/></svg>",
|
|
||||||
"chevron-double-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"10 6 14 10 10 14\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"6 6 10 10 6 14\"/></svg>",
|
|
||||||
"chevron-down": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"16 7 10 13 4 7\"/></svg>",
|
|
||||||
"chevron-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"13 16 7 10 13 4\"/></svg>",
|
|
||||||
"chevron-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"7 4 13 10 7 16\"/></svg>",
|
|
||||||
"chevron-up": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" points=\"4 13 10 7 16 13\"/></svg>",
|
|
||||||
"clock": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><rect x=\"9\" y=\"4\" width=\"1\" height=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M13.018,14.197 L9.445,10.625\"/></svg>",
|
|
||||||
"close": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.06\" d=\"M16,16 L4,4\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.06\" d=\"M16,4 L4,16\"/></svg>",
|
|
||||||
"cloud-download": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.3,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6\"/><polyline fill=\"none\" stroke=\"#000\" points=\"11.75 16 9.5 18.25 7.25 16\"/><path fill=\"none\" stroke=\"#000\" d=\"M9.5,18 L9.5,9.5\"/></svg>",
|
|
||||||
"cloud-upload": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.31,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6\"/><polyline fill=\"none\" stroke=\"#000\" points=\"7.25 11.75 9.5 9.5 11.75 11.75\"/><path fill=\"none\" stroke=\"#000\" d=\"M9.5,18 L9.5,9.5\"/></svg>",
|
|
||||||
"code": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"13,4 19,10 13,16\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"7,4 1,10 7,16\"/></svg>",
|
|
||||||
"cog": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" cx=\"9.997\" cy=\"10\" r=\"3.31\"/><path fill=\"none\" stroke=\"#000\" d=\"M18.488,12.285 L16.205,16.237 C15.322,15.496 14.185,15.281 13.303,15.791 C12.428,16.289 12.047,17.373 12.246,18.5 L7.735,18.5 C7.938,17.374 7.553,16.299 6.684,15.791 C5.801,15.27 4.655,15.492 3.773,16.237 L1.5,12.285 C2.573,11.871 3.317,10.999 3.317,9.991 C3.305,8.98 2.573,8.121 1.5,7.716 L3.765,3.784 C4.645,4.516 5.794,4.738 6.687,4.232 C7.555,3.722 7.939,2.637 7.735,1.5 L12.263,1.5 C12.072,2.637 12.441,3.71 13.314,4.22 C14.206,4.73 15.343,4.516 16.225,3.794 L18.487,7.714 C17.404,8.117 16.661,8.988 16.67,10.009 C16.672,11.018 17.415,11.88 18.488,12.285 L18.488,12.285 Z\"/></svg>",
|
|
||||||
"comment": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6,18.71 L6,14 L1,14 L1,1 L19,1 L19,14 L10.71,14 L6,18.71 L6,18.71 Z M2,13 L7,13 L7,16.29 L10.29,13 L18,13 L18,2 L2,2 L2,13 L2,13 Z\"/></svg>",
|
|
||||||
"commenting": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"1.5,1.5 18.5,1.5 18.5,13.5 10.5,13.5 6.5,17.5 6.5,13.5 1.5,13.5\"/><circle cx=\"10\" cy=\"8\" r=\"1\"/><circle cx=\"6\" cy=\"8\" r=\"1\"/><circle cx=\"14\" cy=\"8\" r=\"1\"/></svg>",
|
|
||||||
"comments": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"2 0.5 19.5 0.5 19.5 13\"/><path d=\"M5,19.71 L5,15 L0,15 L0,2 L18,2 L18,15 L9.71,15 L5,19.71 L5,19.71 L5,19.71 Z M1,14 L6,14 L6,17.29 L9.29,14 L17,14 L17,3 L1,3 L1,14 L1,14 L1,14 Z\"/></svg>",
|
|
||||||
"copy": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"2.5\" width=\"12\" height=\"16\"/><polyline fill=\"none\" stroke=\"#000\" points=\"5 0.5 17.5 0.5 17.5 17\"/></svg>",
|
|
||||||
"credit-card": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"4.5\" width=\"17\" height=\"12\"/><rect x=\"1\" y=\"7\" width=\"18\" height=\"3\"/></svg>",
|
|
||||||
"database": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><ellipse fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"4.64\" rx=\"7.5\" ry=\"3.14\"/><path fill=\"none\" stroke=\"#000\" d=\"M17.5,8.11 C17.5,9.85 14.14,11.25 10,11.25 C5.86,11.25 2.5,9.84 2.5,8.11\"/><path fill=\"none\" stroke=\"#000\" d=\"M17.5,11.25 C17.5,12.99 14.14,14.39 10,14.39 C5.86,14.39 2.5,12.98 2.5,11.25\"/><path fill=\"none\" stroke=\"#000\" d=\"M17.49,4.64 L17.5,14.36 C17.5,16.1 14.14,17.5 10,17.5 C5.86,17.5 2.5,16.09 2.5,14.36 L2.5,4.64\"/></svg>",
|
|
||||||
"desktop": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"8\" y=\"15\" width=\"1\" height=\"2\"/><rect x=\"11\" y=\"15\" width=\"1\" height=\"2\"/><rect x=\"5\" y=\"16\" width=\"10\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"3.5\" width=\"17\" height=\"11\"/></svg>",
|
|
||||||
"download": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"14,10 9.5,14.5 5,10\"/><rect x=\"3\" y=\"17\" width=\"13\" height=\"1\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"13.91\" x2=\"9.5\" y2=\"3\"/></svg>",
|
|
||||||
"dribbble": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" d=\"M1.3,8.9c0,0,5,0.1,8.6-1c1.4-0.4,2.6-0.9,4-1.9 c1.4-1.1,2.5-2.5,2.5-2.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" d=\"M3.9,16.6c0,0,1.7-2.8,3.5-4.2 c1.8-1.3,4-2,5.7-2.2C16,10,19,10.6,19,10.6\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" d=\"M6.9,1.6c0,0,3.3,4.6,4.2,6.8 c0.4,0.9,1.3,3.1,1.9,5.2c0.6,2,0.9,4.4,0.9,4.4\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" cx=\"10\" cy=\"10\" r=\"9\"/></svg>",
|
|
||||||
"etsy": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path d=\"M8,4.26C8,4.07,8,4,8.31,4h4.46c.79,0,1.22.67,1.53,1.91l.25,1h.76c.14-2.82.26-4,.26-4S13.65,3,12.52,3H6.81L3.75,2.92v.84l1,.2c.73.11.9.27,1,1,0,0,.06,2,.06,5.17s-.06,5.14-.06,5.14c0,.59-.23.81-1,.94l-1,.2v.84l3.06-.1h5.11c1.15,0,3.82.1,3.82.1,0-.7.45-3.88.51-4.22h-.73l-.76,1.69a2.25,2.25,0,0,1-2.45,1.47H9.4c-1,0-1.44-.4-1.44-1.24V10.44s2.16,0,2.86.06c.55,0,.85.19,1.06,1l.23,1H13L12.9,9.94,13,7.41h-.85l-.28,1.13c-.16.74-.28.84-1,1-1,.1-2.89.09-2.89.09Z\"/></svg>",
|
|
||||||
"expand": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"13 2 18 2 18 7 17 7 17 3 13 3\"/><polygon points=\"2 13 3 13 3 17 7 17 7 18 2 18\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M11,9 L17,3\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M3,17 L9,11\"/></svg>",
|
|
||||||
"facebook": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11,10h2.6l0.4-3H11V5.3c0-0.9,0.2-1.5,1.5-1.5H14V1.1c-0.3,0-1-0.1-2.1-0.1C9.6,1,8,2.4,8,5v2H5.5v3H8v8h3V10z\"/></svg>",
|
|
||||||
"file-edit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M18.65,1.68 C18.41,1.45 18.109,1.33 17.81,1.33 C17.499,1.33 17.209,1.45 16.98,1.68 L8.92,9.76 L8,12.33 L10.55,11.41 L18.651,3.34 C19.12,2.87 19.12,2.15 18.65,1.68 L18.65,1.68 L18.65,1.68 Z\"/><polyline fill=\"none\" stroke=\"#000\" points=\"16.5 8.482 16.5 18.5 3.5 18.5 3.5 1.5 14.211 1.5\"/></svg>",
|
|
||||||
"file-pdf": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" width=\"13\" height=\"17\" x=\"3.5\" y=\"1.5\"/><path d=\"M14.65 11.67c-.48.3-1.37-.19-1.79-.37a4.65 4.65 0 0 1 1.49.06c.35.1.36.28.3.31zm-6.3.06l.43-.79a14.7 14.7 0 0 0 .75-1.64 5.48 5.48 0 0 0 1.25 1.55l.2.15a16.36 16.36 0 0 0-2.63.73zM9.5 5.32c.2 0 .32.5.32.97a1.99 1.99 0 0 1-.23 1.04 5.05 5.05 0 0 1-.17-1.3s0-.71.08-.71zm-3.9 9a4.35 4.35 0 0 1 1.21-1.46l.24-.22a4.35 4.35 0 0 1-1.46 1.68zm9.23-3.3a2.05 2.05 0 0 0-1.32-.3 11.07 11.07 0 0 0-1.58.11 4.09 4.09 0 0 1-.74-.5 5.39 5.39 0 0 1-1.32-2.06 10.37 10.37 0 0 0 .28-2.62 1.83 1.83 0 0 0-.07-.25.57.57 0 0 0-.52-.4H9.4a.59.59 0 0 0-.6.38 6.95 6.95 0 0 0 .37 3.14c-.26.63-1 2.12-1 2.12-.3.58-.57 1.08-.82 1.5l-.8.44A3.11 3.11 0 0 0 5 14.16a.39.39 0 0 0 .15.42l.24.13c1.15.56 2.28-1.74 2.66-2.42a23.1 23.1 0 0 1 3.59-.85 4.56 4.56 0 0 0 2.91.8.5.5 0 0 0 .3-.21 1.1 1.1 0 0 0 .12-.75.84.84 0 0 0-.14-.25z\"/></svg>",
|
|
||||||
"file-text": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" width=\"13\" height=\"17\" x=\"3.5\" y=\"1.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"12\" y1=\"12.5\" y2=\"12.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"14\" y1=\"8.5\" y2=\"8.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"14\" y1=\"6.5\" y2=\"6.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"6\" x2=\"14\" y1=\"10.5\" y2=\"10.5\"/></svg>",
|
|
||||||
"file": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"1.5\" width=\"13\" height=\"17\"/></svg>",
|
|
||||||
"flickr": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"5.5\" cy=\"9.5\" r=\"3.5\"/><circle cx=\"14.5\" cy=\"9.5\" r=\"3.5\"/></svg>",
|
|
||||||
"folder": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"9.5 5.5 8.5 3.5 1.5 3.5 1.5 16.5 18.5 16.5 18.5 5.5\"/></svg>",
|
|
||||||
"forward": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.47,13.11 C4.02,10.02 6.27,7.85 9.04,6.61 C9.48,6.41 10.27,6.13 11,5.91 L11,2 L18.89,9 L11,16 L11,12.13 C9.25,12.47 7.58,13.19 6.02,14.25 C3.03,16.28 1.63,18.54 1.63,18.54 C1.63,18.54 1.38,15.28 2.47,13.11 L2.47,13.11 Z M5.3,13.53 C6.92,12.4 9.04,11.4 12,10.92 L12,13.63 L17.36,9 L12,4.25 L12,6.8 C11.71,6.86 10.86,7.02 9.67,7.49 C6.79,8.65 4.58,10.96 3.49,13.08 C3.18,13.7 2.68,14.87 2.49,16 C3.28,15.05 4.4,14.15 5.3,13.53 L5.3,13.53 Z\"/></svg>",
|
|
||||||
"foursquare": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.23,2 C15.96,2 16.4,2.41 16.5,2.86 C16.57,3.15 16.56,3.44 16.51,3.73 C16.46,4.04 14.86,11.72 14.75,12.03 C14.56,12.56 14.16,12.82 13.61,12.83 C13.03,12.84 11.09,12.51 10.69,13 C10.38,13.38 7.79,16.39 6.81,17.53 C6.61,17.76 6.4,17.96 6.08,17.99 C5.68,18.04 5.29,17.87 5.17,17.45 C5.12,17.28 5.1,17.09 5.1,16.91 C5.1,12.4 4.86,7.81 5.11,3.31 C5.17,2.5 5.81,2.12 6.53,2 L15.23,2 L15.23,2 Z M9.76,11.42 C9.94,11.19 10.17,11.1 10.45,11.1 L12.86,11.1 C13.12,11.1 13.31,10.94 13.36,10.69 C13.37,10.64 13.62,9.41 13.74,8.83 C13.81,8.52 13.53,8.28 13.27,8.28 C12.35,8.29 11.42,8.28 10.5,8.28 C9.84,8.28 9.83,7.69 9.82,7.21 C9.8,6.85 10.13,6.55 10.5,6.55 C11.59,6.56 12.67,6.55 13.76,6.55 C14.03,6.55 14.23,6.4 14.28,6.14 C14.34,5.87 14.67,4.29 14.67,4.29 C14.67,4.29 14.82,3.74 14.19,3.74 L7.34,3.74 C7,3.75 6.84,4.02 6.84,4.33 C6.84,7.58 6.85,14.95 6.85,14.99 C6.87,15 8.89,12.51 9.76,11.42 L9.76,11.42 Z\"/></svg>",
|
|
||||||
"future": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline points=\"19 2 18 2 18 6 14 6 14 7 19 7 19 2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M18,6.548 C16.709,3.29 13.354,1 9.6,1 C4.6,1 0.6,5 0.6,10 C0.6,15 4.6,19 9.6,19 C14.6,19 18.6,15 18.6,10\"/><rect x=\"9\" y=\"4\" width=\"1\" height=\"7\"/><path d=\"M13.018,14.197 L9.445,10.625\" fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\"/></svg>",
|
|
||||||
"git-branch": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"7\" cy=\"3\" r=\"2\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"14\" cy=\"6\" r=\"2\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"7\" cy=\"17\" r=\"2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"2\" d=\"M14,8 C14,10.41 12.43,10.87 10.56,11.25 C9.09,11.54 7,12.06 7,15 L7,5\"/></svg>",
|
|
||||||
"git-fork": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"5.79\" cy=\"2.79\" r=\"1.79\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"14.19\" cy=\"2.79\" r=\"1.79\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" cx=\"10.03\" cy=\"16.79\" r=\"1.79\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"2\" d=\"M5.79,4.57 L5.79,6.56 C5.79,9.19 10.03,10.22 10.03,13.31 C10.03,14.86 10.04,14.55 10.04,14.55 C10.04,14.37 10.04,14.86 10.04,13.31 C10.04,10.22 14.2,9.19 14.2,6.56 L14.2,4.57\"/></svg>",
|
|
||||||
"github-alt": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,0.5 C4.75,0.5 0.5,4.76 0.5,10.01 C0.5,15.26 4.75,19.51 10,19.51 C15.24,19.51 19.5,15.26 19.5,10.01 C19.5,4.76 15.25,0.5 10,0.5 L10,0.5 Z M12.81,17.69 C12.81,17.69 12.81,17.7 12.79,17.69 C12.47,17.75 12.35,17.59 12.35,17.36 L12.35,16.17 C12.35,15.45 12.09,14.92 11.58,14.56 C12.2,14.51 12.77,14.39 13.26,14.21 C13.87,13.98 14.36,13.69 14.74,13.29 C15.42,12.59 15.76,11.55 15.76,10.17 C15.76,9.25 15.45,8.46 14.83,7.8 C15.1,7.08 15.07,6.29 14.75,5.44 L14.51,5.42 C14.34,5.4 14.06,5.46 13.67,5.61 C13.25,5.78 12.79,6.03 12.31,6.35 C11.55,6.16 10.81,6.05 10.09,6.05 C9.36,6.05 8.61,6.15 7.88,6.35 C7.28,5.96 6.75,5.68 6.26,5.54 C6.07,5.47 5.9,5.44 5.78,5.44 L5.42,5.44 C5.06,6.29 5.04,7.08 5.32,7.8 C4.7,8.46 4.4,9.25 4.4,10.17 C4.4,11.94 4.96,13.16 6.08,13.84 C6.53,14.13 7.05,14.32 7.69,14.43 C8.03,14.5 8.32,14.54 8.55,14.55 C8.07,14.89 7.82,15.42 7.82,16.16 L7.82,17.51 C7.8,17.69 7.7,17.8 7.51,17.8 C4.21,16.74 1.82,13.65 1.82,10.01 C1.82,5.5 5.49,1.83 10,1.83 C14.5,1.83 18.17,5.5 18.17,10.01 C18.18,13.53 15.94,16.54 12.81,17.69 L12.81,17.69 Z\"/></svg>",
|
|
||||||
"github": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,1 C5.03,1 1,5.03 1,10 C1,13.98 3.58,17.35 7.16,18.54 C7.61,18.62 7.77,18.34 7.77,18.11 C7.77,17.9 7.76,17.33 7.76,16.58 C5.26,17.12 4.73,15.37 4.73,15.37 C4.32,14.33 3.73,14.05 3.73,14.05 C2.91,13.5 3.79,13.5 3.79,13.5 C4.69,13.56 5.17,14.43 5.17,14.43 C5.97,15.8 7.28,15.41 7.79,15.18 C7.87,14.6 8.1,14.2 8.36,13.98 C6.36,13.75 4.26,12.98 4.26,9.53 C4.26,8.55 4.61,7.74 5.19,7.11 C5.1,6.88 4.79,5.97 5.28,4.73 C5.28,4.73 6.04,4.49 7.75,5.65 C8.47,5.45 9.24,5.35 10,5.35 C10.76,5.35 11.53,5.45 12.25,5.65 C13.97,4.48 14.72,4.73 14.72,4.73 C15.21,5.97 14.9,6.88 14.81,7.11 C15.39,7.74 15.73,8.54 15.73,9.53 C15.73,12.99 13.63,13.75 11.62,13.97 C11.94,14.25 12.23,14.8 12.23,15.64 C12.23,16.84 12.22,17.81 12.22,18.11 C12.22,18.35 12.38,18.63 12.84,18.54 C16.42,17.35 19,13.98 19,10 C19,5.03 14.97,1 10,1 L10,1 Z\"/></svg>",
|
|
||||||
"gitter": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"3.5\" y=\"1\" width=\"1.531\" height=\"11.471\"/><rect x=\"7.324\" y=\"4.059\" width=\"1.529\" height=\"15.294\"/><rect x=\"11.148\" y=\"4.059\" width=\"1.527\" height=\"15.294\"/><rect x=\"14.971\" y=\"4.059\" width=\"1.529\" height=\"8.412\"/></svg>",
|
|
||||||
"google-plus": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.9,9c0,2.7-0.6,5-3.2,6.3c-3.7,1.8-8.1,0.2-9.4-3.6C-1.1,7.6,1.9,3.3,6.1,3c1.7-0.1,3.2,0.3,4.6,1.3 c0.1,0.1,0.3,0.2,0.4,0.4c-0.5,0.5-1.2,1-1.7,1.6c-1-0.8-2.1-1.1-3.5-0.9C5,5.6,4.2,6,3.6,6.7c-1.3,1.3-1.5,3.4-0.5,5 c1,1.7,2.6,2.3,4.6,1.9c1.4-0.3,2.4-1.2,2.6-2.6H6.9V9H12.9z\"/><polygon points=\"20,9 20,11 18,11 18,13 16,13 16,11 14,11 14,9 16,9 16,7 18,7 18,9\"/></svg>",
|
|
||||||
"google": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.86,9.09 C18.46,12.12 17.14,16.05 13.81,17.56 C9.45,19.53 4.13,17.68 2.47,12.87 C0.68,7.68 4.22,2.42 9.5,2.03 C11.57,1.88 13.42,2.37 15.05,3.65 C15.22,3.78 15.37,3.93 15.61,4.14 C14.9,4.81 14.23,5.45 13.5,6.14 C12.27,5.08 10.84,4.72 9.28,4.98 C8.12,5.17 7.16,5.76 6.37,6.63 C4.88,8.27 4.62,10.86 5.76,12.82 C6.95,14.87 9.17,15.8 11.57,15.25 C13.27,14.87 14.76,13.33 14.89,11.75 L10.51,11.75 L10.51,9.09 L17.86,9.09 L17.86,9.09 Z\"/></svg>",
|
|
||||||
"grid": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"2\" y=\"2\" width=\"3\" height=\"3\"/><rect x=\"8\" y=\"2\" width=\"3\" height=\"3\"/><rect x=\"14\" y=\"2\" width=\"3\" height=\"3\"/><rect x=\"2\" y=\"8\" width=\"3\" height=\"3\"/><rect x=\"8\" y=\"8\" width=\"3\" height=\"3\"/><rect x=\"14\" y=\"8\" width=\"3\" height=\"3\"/><rect x=\"2\" y=\"14\" width=\"3\" height=\"3\"/><rect x=\"8\" y=\"14\" width=\"3\" height=\"3\"/><rect x=\"14\" y=\"14\" width=\"3\" height=\"3\"/></svg>",
|
|
||||||
"happy": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"13\" cy=\"7\" r=\"1\"/><circle cx=\"7\" cy=\"7\" r=\"1\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"10\" r=\"8.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M14.6,11.4 C13.9,13.3 12.1,14.5 10,14.5 C7.9,14.5 6.1,13.3 5.4,11.4\"/></svg>",
|
|
||||||
"hashtag": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.431,8 L15.661,7 L12.911,7 L13.831,3 L12.901,3 L11.98,7 L9.29,7 L10.21,3 L9.281,3 L8.361,7 L5.23,7 L5,8 L8.13,8 L7.21,12 L4.23,12 L4,13 L6.98,13 L6.061,17 L6.991,17 L7.911,13 L10.601,13 L9.681,17 L10.611,17 L11.531,13 L14.431,13 L14.661,12 L11.76,12 L12.681,8 L15.431,8 Z M10.831,12 L8.141,12 L9.061,8 L11.75,8 L10.831,12 Z\"/></svg>",
|
|
||||||
"heart": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.03\" d=\"M10,4 C10,4 8.1,2 5.74,2 C3.38,2 1,3.55 1,6.73 C1,8.84 2.67,10.44 2.67,10.44 L10,18 L17.33,10.44 C17.33,10.44 19,8.84 19,6.73 C19,3.55 16.62,2 14.26,2 C11.9,2 10,4 10,4 L10,4 Z\"/></svg>",
|
|
||||||
"history": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"#000\" points=\"1 2 2 2 2 6 6 6 6 7 1 7 1 2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M2.1,6.548 C3.391,3.29 6.746,1 10.5,1 C15.5,1 19.5,5 19.5,10 C19.5,15 15.5,19 10.5,19 C5.5,19 1.5,15 1.5,10\"/><rect x=\"9\" y=\"4\" width=\"1\" height=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M13.018,14.197 L9.445,10.625\"/></svg>",
|
|
||||||
"home": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"18.65 11.35 10 2.71 1.35 11.35 0.65 10.65 10 1.29 19.35 10.65\"/><polygon points=\"15 4 18 4 18 7 17 7 17 5 15 5\"/><polygon points=\"3 11 4 11 4 18 7 18 7 12 12 12 12 18 16 18 16 11 17 11 17 19 11 19 11 13 8 13 8 19 3 19\"/></svg>",
|
|
||||||
"image": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"16.1\" cy=\"6.1\" r=\"1.1\"/><rect fill=\"none\" stroke=\"#000\" x=\".5\" y=\"2.5\" width=\"19\" height=\"15\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"4,13 8,9 13,14\"/><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"11,12 12.5,10.5 16,14\"/></svg>",
|
|
||||||
"info": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.13,11.59 C11.97,12.84 10.35,14.12 9.1,14.16 C6.17,14.2 9.89,9.46 8.74,8.37 C9.3,8.16 10.62,7.83 10.62,8.81 C10.62,9.63 10.12,10.55 9.88,11.32 C8.66,15.16 12.13,11.15 12.14,11.18 C12.16,11.21 12.16,11.35 12.13,11.59 C12.08,11.95 12.16,11.35 12.13,11.59 L12.13,11.59 Z M11.56,5.67 C11.56,6.67 9.36,7.15 9.36,6.03 C9.36,5 11.56,4.54 11.56,5.67 L11.56,5.67 Z\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/></svg>",
|
|
||||||
"instagram": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M13.55,1H6.46C3.45,1,1,3.44,1,6.44v7.12c0,3,2.45,5.44,5.46,5.44h7.08c3.02,0,5.46-2.44,5.46-5.44V6.44 C19.01,3.44,16.56,1,13.55,1z M17.5,14c0,1.93-1.57,3.5-3.5,3.5H6c-1.93,0-3.5-1.57-3.5-3.5V6c0-1.93,1.57-3.5,3.5-3.5h8 c1.93,0,3.5,1.57,3.5,3.5V14z\"/><circle cx=\"14.87\" cy=\"5.26\" r=\"1.09\"/><path d=\"M10.03,5.45c-2.55,0-4.63,2.06-4.63,4.6c0,2.55,2.07,4.61,4.63,4.61c2.56,0,4.63-2.061,4.63-4.61 C14.65,7.51,12.58,5.45,10.03,5.45L10.03,5.45L10.03,5.45z M10.08,13c-1.66,0-3-1.34-3-2.99c0-1.65,1.34-2.99,3-2.99s3,1.34,3,2.99 C13.08,11.66,11.74,13,10.08,13L10.08,13L10.08,13z\"/></svg>",
|
|
||||||
"italic": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.63,5.48 L10.15,14.52 C10,15.08 10.37,15.25 11.92,15.3 L11.72,16 L6,16 L6.2,15.31 C7.78,15.26 8.19,15.09 8.34,14.53 L10.82,5.49 C10.97,4.92 10.63,4.76 9.09,4.71 L9.28,4 L15,4 L14.81,4.69 C13.23,4.75 12.78,4.91 12.63,5.48 L12.63,5.48 Z\"/></svg>",
|
|
||||||
"joomla": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.8,13.4l1.7-1.7L5.9,8c-0.6-0.5-0.6-1.5,0-2c0.6-0.6,1.4-0.6,2,0l1.7-1.7c-1-1-2.3-1.3-3.6-1C5.8,2.2,4.8,1.4,3.7,1.4 c-1.3,0-2.3,1-2.3,2.3c0,1.1,0.8,2,1.8,2.3c-0.4,1.3-0.1,2.8,1,3.8L7.8,13.4L7.8,13.4z\"/><path d=\"M10.2,4.3c1-1,2.5-1.4,3.8-1c0.2-1.1,1.1-2,2.3-2c1.3,0,2.3,1,2.3,2.3c0,1.2-0.9,2.2-2,2.3c0.4,1.3,0,2.8-1,3.8L13.9,8 c0.6-0.5,0.6-1.5,0-2c-0.5-0.6-1.5-0.6-2,0L8.2,9.7L6.5,8\"/><path d=\"M14.1,16.8c-1.3,0.4-2.8,0.1-3.8-1l1.7-1.7c0.6,0.6,1.5,0.6,2,0c0.5-0.6,0.6-1.5,0-2l-3.7-3.7L12,6.7l3.7,3.7 c1,1,1.3,2.4,1,3.6c1.1,0.2,2,1.1,2,2.3c0,1.3-1,2.3-2.3,2.3C15.2,18.6,14.3,17.8,14.1,16.8\"/><path d=\"M13.2,12.2l-3.7,3.7c-1,1-2.4,1.3-3.6,1c-0.2,1-1.2,1.8-2.2,1.8c-1.3,0-2.3-1-2.3-2.3c0-1.1,0.8-2,1.8-2.3 c-0.3-1.3,0-2.7,1-3.7l1.7,1.7c-0.6,0.6-0.6,1.5,0,2c0.6,0.6,1.4,0.6,2,0l3.7-3.7\"/></svg>",
|
|
||||||
"laptop": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect y=\"16\" width=\"20\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"2.5\" y=\"4.5\" width=\"15\" height=\"10\"/></svg>",
|
|
||||||
"lifesaver": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,0.5 C4.76,0.5 0.5,4.76 0.5,10 C0.5,15.24 4.76,19.5 10,19.5 C15.24,19.5 19.5,15.24 19.5,10 C19.5,4.76 15.24,0.5 10,0.5 L10,0.5 Z M10,1.5 C11.49,1.5 12.89,1.88 14.11,2.56 L11.85,4.82 C11.27,4.61 10.65,4.5 10,4.5 C9.21,4.5 8.47,4.67 7.79,4.96 L5.58,2.75 C6.87,1.95 8.38,1.5 10,1.5 L10,1.5 Z M4.96,7.8 C4.67,8.48 4.5,9.21 4.5,10 C4.5,10.65 4.61,11.27 4.83,11.85 L2.56,14.11 C1.88,12.89 1.5,11.49 1.5,10 C1.5,8.38 1.95,6.87 2.75,5.58 L4.96,7.79 L4.96,7.8 L4.96,7.8 Z M10,18.5 C8.25,18.5 6.62,17.97 5.27,17.06 L7.46,14.87 C8.22,15.27 9.08,15.5 10,15.5 C10.79,15.5 11.53,15.33 12.21,15.04 L14.42,17.25 C13.13,18.05 11.62,18.5 10,18.5 L10,18.5 Z M10,14.5 C7.52,14.5 5.5,12.48 5.5,10 C5.5,7.52 7.52,5.5 10,5.5 C12.48,5.5 14.5,7.52 14.5,10 C14.5,12.48 12.48,14.5 10,14.5 L10,14.5 Z M15.04,12.21 C15.33,11.53 15.5,10.79 15.5,10 C15.5,9.08 15.27,8.22 14.87,7.46 L17.06,5.27 C17.97,6.62 18.5,8.25 18.5,10 C18.5,11.62 18.05,13.13 17.25,14.42 L15.04,12.21 L15.04,12.21 Z\"/></svg>",
|
|
||||||
"link": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M7.925,11.875 L11.925,7.975\"/></svg>",
|
|
||||||
"linkedin": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.77,17.89 L5.77,7.17 L2.21,7.17 L2.21,17.89 L5.77,17.89 L5.77,17.89 Z M3.99,5.71 C5.23,5.71 6.01,4.89 6.01,3.86 C5.99,2.8 5.24,2 4.02,2 C2.8,2 2,2.8 2,3.85 C2,4.88 2.77,5.7 3.97,5.7 L3.99,5.7 L3.99,5.71 L3.99,5.71 Z\"/><path d=\"M7.75,17.89 L11.31,17.89 L11.31,11.9 C11.31,11.58 11.33,11.26 11.43,11.03 C11.69,10.39 12.27,9.73 13.26,9.73 C14.55,9.73 15.06,10.71 15.06,12.15 L15.06,17.89 L18.62,17.89 L18.62,11.74 C18.62,8.45 16.86,6.92 14.52,6.92 C12.6,6.92 11.75,7.99 11.28,8.73 L11.3,8.73 L11.3,7.17 L7.75,7.17 C7.79,8.17 7.75,17.89 7.75,17.89 L7.75,17.89 L7.75,17.89 Z\"/></svg>",
|
|
||||||
"list": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"6\" y=\"4\" width=\"12\" height=\"1\"/><rect x=\"6\" y=\"9\" width=\"12\" height=\"1\"/><rect x=\"6\" y=\"14\" width=\"12\" height=\"1\"/><rect x=\"2\" y=\"4\" width=\"2\" height=\"1\"/><rect x=\"2\" y=\"9\" width=\"2\" height=\"1\"/><rect x=\"2\" y=\"14\" width=\"2\" height=\"1\"/></svg>",
|
|
||||||
"location": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" d=\"M10,0.5 C6.41,0.5 3.5,3.39 3.5,6.98 C3.5,11.83 10,19 10,19 C10,19 16.5,11.83 16.5,6.98 C16.5,3.39 13.59,0.5 10,0.5 L10,0.5 Z\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"6.8\" r=\"2.3\"/></svg>",
|
|
||||||
"lock": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" height=\"10\" width=\"13\" y=\"8.5\" x=\"3.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M6.5,8 L6.5,4.88 C6.5,3.01 8.07,1.5 10,1.5 C11.93,1.5 13.5,3.01 13.5,4.88 L13.5,8\"/></svg>",
|
|
||||||
"mail": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"1.4,6.5 10,11 18.6,6.5\"/><path d=\"M 1,4 1,16 19,16 19,4 1,4 Z M 18,15 2,15 2,5 18,5 18,15 Z\"/></svg>",
|
|
||||||
"menu": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"2\" y=\"4\" width=\"16\" height=\"1\"/><rect x=\"2\" y=\"9\" width=\"16\" height=\"1\"/><rect x=\"2\" y=\"14\" width=\"16\" height=\"1\"/></svg>",
|
|
||||||
"microphone": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><line fill=\"none\" stroke=\"#000\" x1=\"10\" x2=\"10\" y1=\"16.44\" y2=\"18.5\"/><line fill=\"none\" stroke=\"#000\" x1=\"7\" x2=\"13\" y1=\"18.5\" y2=\"18.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M13.5 4.89v5.87a3.5 3.5 0 0 1-7 0V4.89a3.5 3.5 0 0 1 7 0z\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M15.5 10.36V11a5.5 5.5 0 0 1-11 0v-.6\"/></svg>",
|
|
||||||
"minus-circle": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9.5\" cy=\"9.5\" r=\"9\"/><line fill=\"none\" stroke=\"#000\" x1=\"5\" y1=\"9.5\" x2=\"14\" y2=\"9.5\"/></svg>",
|
|
||||||
"minus": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect height=\"1\" width=\"18\" y=\"9\" x=\"1\"/></svg>",
|
|
||||||
"more-vertical": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"10\" cy=\"3\" r=\"2\"/><circle cx=\"10\" cy=\"10\" r=\"2\"/><circle cx=\"10\" cy=\"17\" r=\"2\"/></svg>",
|
|
||||||
"more": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"3\" cy=\"10\" r=\"2\"/><circle cx=\"10\" cy=\"10\" r=\"2\"/><circle cx=\"17\" cy=\"10\" r=\"2\"/></svg>",
|
|
||||||
"move": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"4,5 1,5 1,9 2,9 2,6 4,6\"/><polygon points=\"1,16 2,16 2,18 4,18 4,19 1,19\"/><polygon points=\"14,16 14,19 11,19 11,18 13,18 13,16\"/><rect fill=\"none\" stroke=\"#000\" x=\"5.5\" y=\"1.5\" width=\"13\" height=\"13\"/><rect x=\"1\" y=\"11\" width=\"1\" height=\"3\"/><rect x=\"6\" y=\"18\" width=\"3\" height=\"1\"/></svg>",
|
|
||||||
"nut": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"2.5,5.7 10,1.3 17.5,5.7 17.5,14.3 10,18.7 2.5,14.3\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"10\" r=\"3.5\"/></svg>",
|
|
||||||
"pagekit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"3,1 17,1 17,16 10,16 10,13 14,13 14,4 6,4 6,16 10,16 10,19 3,19\"/></svg>",
|
|
||||||
"paint-bucket": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.21,1 L0,11.21 L8.1,19.31 L18.31,9.1 L10.21,1 L10.21,1 Z M16.89,9.1 L15,11 L1.7,11 L10.21,2.42 L16.89,9.1 Z\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M6.42,2.33 L11.7,7.61\"/><path d=\"M18.49,12 C18.49,12 20,14.06 20,15.36 C20,16.28 19.24,17 18.49,17 L18.49,17 C17.74,17 17,16.28 17,15.36 C17,14.06 18.49,12 18.49,12 L18.49,12 Z\"/></svg>",
|
|
||||||
"pencil": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M17.25,6.01 L7.12,16.1 L3.82,17.2 L5.02,13.9 L15.12,3.88 C15.71,3.29 16.66,3.29 17.25,3.88 C17.83,4.47 17.83,5.42 17.25,6.01 L17.25,6.01 Z\"/><path fill=\"none\" stroke=\"#000\" d=\"M15.98,7.268 L13.851,5.148\"/></svg>",
|
|
||||||
"phone-landscape": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M17,5.5 C17.8,5.5 18.5,6.2 18.5,7 L18.5,14 C18.5,14.8 17.8,15.5 17,15.5 L3,15.5 C2.2,15.5 1.5,14.8 1.5,14 L1.5,7 C1.5,6.2 2.2,5.5 3,5.5 L17,5.5 L17,5.5 L17,5.5 Z\"/><circle cx=\"3.8\" cy=\"10.5\" r=\".8\"/></svg>",
|
|
||||||
"phone": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M15.5,17 C15.5,17.8 14.8,18.5 14,18.5 L7,18.5 C6.2,18.5 5.5,17.8 5.5,17 L5.5,3 C5.5,2.2 6.2,1.5 7,1.5 L14,1.5 C14.8,1.5 15.5,2.2 15.5,3 L15.5,17 L15.5,17 L15.5,17 Z\"/><circle cx=\"10.5\" cy=\"16.5\" r=\".8\"/></svg>",
|
|
||||||
"pinterest": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.21,1 C5.5,1 3,4.16 3,7.61 C3,9.21 3.85,11.2 5.22,11.84 C5.43,11.94 5.54,11.89 5.58,11.69 C5.62,11.54 5.8,10.8 5.88,10.45 C5.91,10.34 5.89,10.24 5.8,10.14 C5.36,9.59 5,8.58 5,7.65 C5,5.24 6.82,2.91 9.93,2.91 C12.61,2.91 14.49,4.74 14.49,7.35 C14.49,10.3 13,12.35 11.06,12.35 C9.99,12.35 9.19,11.47 9.44,10.38 C9.75,9.08 10.35,7.68 10.35,6.75 C10.35,5.91 9.9,5.21 8.97,5.21 C7.87,5.21 6.99,6.34 6.99,7.86 C6.99,8.83 7.32,9.48 7.32,9.48 C7.32,9.48 6.24,14.06 6.04,14.91 C5.7,16.35 6.08,18.7 6.12,18.9 C6.14,19.01 6.26,19.05 6.33,18.95 C6.44,18.81 7.74,16.85 8.11,15.44 C8.24,14.93 8.79,12.84 8.79,12.84 C9.15,13.52 10.19,14.09 11.29,14.09 C14.58,14.09 16.96,11.06 16.96,7.3 C16.94,3.7 14,1 10.21,1\"/></svg>",
|
|
||||||
"play-circle": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"8.5 7 13.5 10 8.5 13\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/></svg>",
|
|
||||||
"play": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"6.5,5 14.5,10 6.5,15\"/></svg>",
|
|
||||||
"plus-circle": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9.5\" cy=\"9.5\" r=\"9\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"5\" x2=\"9.5\" y2=\"14\"/><line fill=\"none\" stroke=\"#000\" x1=\"5\" y1=\"9.5\" x2=\"14\" y2=\"9.5\"/></svg>",
|
|
||||||
"plus": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"9\" y=\"1\" width=\"1\" height=\"17\"/><rect x=\"1\" y=\"9\" width=\"17\" height=\"1\"/></svg>",
|
|
||||||
"print": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"4.5 13.5 1.5 13.5 1.5 6.5 18.5 6.5 18.5 13.5 15.5 13.5\"/><polyline fill=\"none\" stroke=\"#000\" points=\"15.5 6.5 15.5 2.5 4.5 2.5 4.5 6.5\"/><rect fill=\"none\" stroke=\"#000\" width=\"11\" height=\"6\" x=\"4.5\" y=\"11.5\"/><rect width=\"8\" height=\"1\" x=\"6\" y=\"13\"/><rect width=\"8\" height=\"1\" x=\"6\" y=\"15\"/></svg>",
|
|
||||||
"pull": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"6.85,8 9.5,10.6 12.15,8 12.85,8.7 9.5,12 6.15,8.7\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"11\" x2=\"9.5\" y2=\"2\"/><polyline fill=\"none\" stroke=\"#000\" points=\"6,5.5 3.5,5.5 3.5,18.5 15.5,18.5 15.5,5.5 13,5.5\"/></svg>",
|
|
||||||
"push": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"12.15,4 9.5,1.4 6.85,4 6.15,3.3 9.5,0 12.85,3.3\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"10\" x2=\"9.5\" y2=\"1\"/><polyline fill=\"none\" stroke=\"#000\" points=\"6 5.5 3.5 5.5 3.5 18.5 15.5 18.5 15.5 5.5 13 5.5\"/></svg>",
|
|
||||||
"question": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><circle cx=\"10.44\" cy=\"14.42\" r=\"1.05\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" d=\"M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75\"/></svg>",
|
|
||||||
"quote-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.27,7.79 C17.27,9.45 16.97,10.43 15.99,12.02 C14.98,13.64 13,15.23 11.56,15.97 L11.1,15.08 C12.34,14.2 13.14,13.51 14.02,11.82 C14.27,11.34 14.41,10.92 14.49,10.54 C14.3,10.58 14.09,10.6 13.88,10.6 C12.06,10.6 10.59,9.12 10.59,7.3 C10.59,5.48 12.06,4 13.88,4 C15.39,4 16.67,5.02 17.05,6.42 C17.19,6.82 17.27,7.27 17.27,7.79 L17.27,7.79 Z\"/><path d=\"M8.68,7.79 C8.68,9.45 8.38,10.43 7.4,12.02 C6.39,13.64 4.41,15.23 2.97,15.97 L2.51,15.08 C3.75,14.2 4.55,13.51 5.43,11.82 C5.68,11.34 5.82,10.92 5.9,10.54 C5.71,10.58 5.5,10.6 5.29,10.6 C3.47,10.6 2,9.12 2,7.3 C2,5.48 3.47,4 5.29,4 C6.8,4 8.08,5.02 8.46,6.42 C8.6,6.82 8.68,7.27 8.68,7.79 L8.68,7.79 Z\"/></svg>",
|
|
||||||
"receiver": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" d=\"M6.189,13.611C8.134,15.525 11.097,18.239 13.867,18.257C16.47,18.275 18.2,16.241 18.2,16.241L14.509,12.551L11.539,13.639L6.189,8.29L7.313,5.355L3.76,1.8C3.76,1.8 1.732,3.537 1.7,6.092C1.667,8.809 4.347,11.738 6.189,13.611\"/></svg>",
|
|
||||||
"reddit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19 9.05a2.56 2.56 0 0 0-2.56-2.56 2.59 2.59 0 0 0-1.88.82 10.63 10.63 0 0 0-4.14-1v-.08c.58-1.62 1.58-3.89 2.7-4.1.38-.08.77.12 1.19.57a1.15 1.15 0 0 0-.06.37 1.48 1.48 0 1 0 1.51-1.45 1.43 1.43 0 0 0-.76.19A2.29 2.29 0 0 0 12.91 1c-2.11.43-3.39 4.38-3.63 5.19 0 0 0 .11-.06.11a10.65 10.65 0 0 0-3.75 1A2.56 2.56 0 0 0 1 9.05a2.42 2.42 0 0 0 .72 1.76A5.18 5.18 0 0 0 1.24 13c0 3.66 3.92 6.64 8.73 6.64s8.74-3 8.74-6.64a5.23 5.23 0 0 0-.46-2.13A2.58 2.58 0 0 0 19 9.05zm-16.88 0a1.44 1.44 0 0 1 2.27-1.19 7.68 7.68 0 0 0-2.07 1.91 1.33 1.33 0 0 1-.2-.72zM10 18.4c-4.17 0-7.55-2.4-7.55-5.4S5.83 7.53 10 7.53 17.5 10 17.5 13s-3.38 5.4-7.5 5.4zm7.69-8.61a7.62 7.62 0 0 0-2.09-1.91 1.41 1.41 0 0 1 .84-.28 1.47 1.47 0 0 1 1.44 1.45 1.34 1.34 0 0 1-.21.72z\"/><path d=\"M6.69 12.58a1.39 1.39 0 1 1 1.39-1.39 1.38 1.38 0 0 1-1.38 1.39z\"/><path d=\"M14.26 11.2a1.39 1.39 0 1 1-1.39-1.39 1.39 1.39 0 0 1 1.39 1.39z\"/><path d=\"M13.09 14.88a.54.54 0 0 1-.09.77 5.3 5.3 0 0 1-3.26 1.19 5.61 5.61 0 0 1-3.4-1.22.55.55 0 1 1 .73-.83 4.09 4.09 0 0 0 5.25 0 .56.56 0 0 1 .77.09z\"/></svg>",
|
|
||||||
"refresh": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M17.08,11.15 C17.09,11.31 17.1,11.47 17.1,11.64 C17.1,15.53 13.94,18.69 10.05,18.69 C6.16,18.68 3,15.53 3,11.63 C3,7.74 6.16,4.58 10.05,4.58 C10.9,4.58 11.71,4.73 12.46,5\"/><polyline fill=\"none\" stroke=\"#000\" points=\"9.9 2 12.79 4.89 9.79 7.9\"/></svg>",
|
|
||||||
"reply": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.7,13.11 C16.12,10.02 13.84,7.85 11.02,6.61 C10.57,6.41 9.75,6.13 9,5.91 L9,2 L1,9 L9,16 L9,12.13 C10.78,12.47 12.5,13.19 14.09,14.25 C17.13,16.28 18.56,18.54 18.56,18.54 C18.56,18.54 18.81,15.28 17.7,13.11 L17.7,13.11 Z M14.82,13.53 C13.17,12.4 11.01,11.4 8,10.92 L8,13.63 L2.55,9 L8,4.25 L8,6.8 C8.3,6.86 9.16,7.02 10.37,7.49 C13.3,8.65 15.54,10.96 16.65,13.08 C16.97,13.7 17.48,14.86 17.68,16 C16.87,15.05 15.73,14.15 14.82,13.53 L14.82,13.53 Z\"/></svg>",
|
|
||||||
"rss": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"3.12\" cy=\"16.8\" r=\"1.85\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5\"/></svg>",
|
|
||||||
"search": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9\" cy=\"9\" r=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M14,14 L18,18 L14,14 Z\"/></svg>",
|
|
||||||
"server": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"3\" y=\"3\" width=\"1\" height=\"2\"/><rect x=\"5\" y=\"3\" width=\"1\" height=\"2\"/><rect x=\"7\" y=\"3\" width=\"1\" height=\"2\"/><rect x=\"16\" y=\"3\" width=\"1\" height=\"1\"/><rect x=\"16\" y=\"10\" width=\"1\" height=\"1\"/><circle fill=\"none\" stroke=\"#000\" cx=\"9.9\" cy=\"17.4\" r=\"1.4\"/><rect x=\"3\" y=\"10\" width=\"1\" height=\"2\"/><rect x=\"5\" y=\"10\" width=\"1\" height=\"2\"/><rect x=\"9.5\" y=\"14\" width=\"1\" height=\"2\"/><rect x=\"3\" y=\"17\" width=\"6\" height=\"1\"/><rect x=\"11\" y=\"17\" width=\"6\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"1.5\" width=\"17\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"1.5\" y=\"8.5\" width=\"17\" height=\"5\"/></svg>",
|
|
||||||
"settings": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><ellipse fill=\"none\" stroke=\"#000\" cx=\"6.11\" cy=\"3.55\" rx=\"2.11\" ry=\"2.15\"/><ellipse fill=\"none\" stroke=\"#000\" cx=\"6.11\" cy=\"15.55\" rx=\"2.11\" ry=\"2.15\"/><circle fill=\"none\" stroke=\"#000\" cx=\"13.15\" cy=\"9.55\" r=\"2.15\"/><rect x=\"1\" y=\"3\" width=\"3\" height=\"1\"/><rect x=\"10\" y=\"3\" width=\"8\" height=\"1\"/><rect x=\"1\" y=\"9\" width=\"8\" height=\"1\"/><rect x=\"15\" y=\"9\" width=\"3\" height=\"1\"/><rect x=\"1\" y=\"15\" width=\"3\" height=\"1\"/><rect x=\"10\" y=\"15\" width=\"8\" height=\"1\"/></svg>",
|
|
||||||
"shrink": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"11 4 12 4 12 8 16 8 16 9 11 9\"/><polygon points=\"4 11 9 11 9 16 8 16 8 12 4 12\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M12,8 L18,2\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M2,18 L8,12\"/></svg>",
|
|
||||||
"sign-in": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"7 2 17 2 17 17 7 17 7 16 16 16 16 3 7 3\"/><polygon points=\"9.1 13.4 8.5 12.8 11.28 10 4 10 4 9 11.28 9 8.5 6.2 9.1 5.62 13 9.5\"/></svg>",
|
|
||||||
"sign-out": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"13.1 13.4 12.5 12.8 15.28 10 8 10 8 9 15.28 9 12.5 6.2 13.1 5.62 17 9.5\"/><polygon points=\"13 2 3 2 3 17 13 17 13 16 4 16 4 3 13 3\"/></svg>",
|
|
||||||
"social": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13.4\" y1=\"14\" x2=\"6.3\" y2=\"10.7\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13.5\" y1=\"5.5\" x2=\"6.5\" y2=\"8.8\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"15.5\" cy=\"4.6\" r=\"2.3\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"15.5\" cy=\"14.8\" r=\"2.3\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"4.5\" cy=\"9.8\" r=\"2.3\"/></svg>",
|
|
||||||
"soundcloud": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.2,9.4c-0.4,0-0.8,0.1-1.101,0.2c-0.199-2.5-2.399-4.5-5-4.5c-0.6,0-1.2,0.1-1.7,0.3C9.2,5.5,9.1,5.6,9.1,5.6V15h8 c1.601,0,2.801-1.2,2.801-2.8C20,10.7,18.7,9.4,17.2,9.4L17.2,9.4z\"/><rect x=\"6\" y=\"6.5\" width=\"1.5\" height=\"8.5\"/><rect x=\"3\" y=\"8\" width=\"1.5\" height=\"7\"/><rect y=\"10\" width=\"1.5\" height=\"5\"/></svg>",
|
|
||||||
"star": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" stroke-width=\"1.01\" points=\"10 2 12.63 7.27 18.5 8.12 14.25 12.22 15.25 18 10 15.27 4.75 18 5.75 12.22 1.5 8.12 7.37 7.27\"/></svg>",
|
|
||||||
"strikethrough": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6,13.02 L6.65,13.02 C7.64,15.16 8.86,16.12 10.41,16.12 C12.22,16.12 12.92,14.93 12.92,13.89 C12.92,12.55 11.99,12.03 9.74,11.23 C8.05,10.64 6.23,10.11 6.23,7.83 C6.23,5.5 8.09,4.09 10.4,4.09 C11.44,4.09 12.13,4.31 12.72,4.54 L13.33,4 L13.81,4 L13.81,7.59 L13.16,7.59 C12.55,5.88 11.52,4.89 10.07,4.89 C8.84,4.89 7.89,5.69 7.89,7.03 C7.89,8.29 8.89,8.78 10.88,9.45 C12.57,10.03 14.38,10.6 14.38,12.91 C14.38,14.75 13.27,16.93 10.18,16.93 C9.18,16.93 8.17,16.69 7.46,16.39 L6.52,17 L6,17 L6,13.02 L6,13.02 Z\"/><rect x=\"3\" y=\"10\" width=\"15\" height=\"1\"/></svg>",
|
|
||||||
"table": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"1\" y=\"3\" width=\"18\" height=\"1\"/><rect x=\"1\" y=\"7\" width=\"18\" height=\"1\"/><rect x=\"1\" y=\"11\" width=\"18\" height=\"1\"/><rect x=\"1\" y=\"15\" width=\"18\" height=\"1\"/></svg>",
|
|
||||||
"tablet-landscape": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M1.5,5 C1.5,4.2 2.2,3.5 3,3.5 L17,3.5 C17.8,3.5 18.5,4.2 18.5,5 L18.5,16 C18.5,16.8 17.8,17.5 17,17.5 L3,17.5 C2.2,17.5 1.5,16.8 1.5,16 L1.5,5 L1.5,5 L1.5,5 Z\"/><circle cx=\"3.7\" cy=\"10.5\" r=\".8\"/></svg>",
|
|
||||||
"tablet": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M5,18.5 C4.2,18.5 3.5,17.8 3.5,17 L3.5,3 C3.5,2.2 4.2,1.5 5,1.5 L16,1.5 C16.8,1.5 17.5,2.2 17.5,3 L17.5,17 C17.5,17.8 16.8,18.5 16,18.5 L5,18.5 L5,18.5 L5,18.5 Z\"/><circle cx=\"10.5\" cy=\"16.3\" r=\".8\"/></svg>",
|
|
||||||
"tag": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M17.5,3.71 L17.5,7.72 C17.5,7.96 17.4,8.2 17.21,8.39 L8.39,17.2 C7.99,17.6 7.33,17.6 6.93,17.2 L2.8,13.07 C2.4,12.67 2.4,12.01 2.8,11.61 L11.61,2.8 C11.81,2.6 12.08,2.5 12.34,2.5 L16.19,2.5 C16.52,2.5 16.86,2.63 17.11,2.88 C17.35,3.11 17.48,3.4 17.5,3.71 L17.5,3.71 Z\"/><circle cx=\"14\" cy=\"6\" r=\"1\"/></svg>",
|
|
||||||
"thumbnails": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"3.5\" width=\"5\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"11.5\" y=\"3.5\" width=\"5\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"11.5\" y=\"11.5\" width=\"5\" height=\"5\"/><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"11.5\" width=\"5\" height=\"5\"/></svg>",
|
|
||||||
"trash": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"6.5 3 6.5 1.5 13.5 1.5 13.5 3\"/><polyline fill=\"none\" stroke=\"#000\" points=\"4.5 4 4.5 18.5 15.5 18.5 15.5 4\"/><rect x=\"8\" y=\"7\" width=\"1\" height=\"9\"/><rect x=\"11\" y=\"7\" width=\"1\" height=\"9\"/><rect x=\"2\" y=\"3\" width=\"16\" height=\"1\"/></svg>",
|
|
||||||
"triangle-down": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"5 7 15 7 10 12\"/></svg>",
|
|
||||||
"triangle-left": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"12 5 7 10 12 15\"/></svg>",
|
|
||||||
"triangle-right": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"8 5 13 10 8 15\"/></svg>",
|
|
||||||
"triangle-up": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"5 13 10 8 15 13\"/></svg>",
|
|
||||||
"tripadvisor": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19.021,7.866C19.256,6.862,20,5.854,20,5.854h-3.346C14.781,4.641,12.504,4,9.98,4C7.363,4,4.999,4.651,3.135,5.876H0\tc0,0,0.738,0.987,0.976,1.988c-0.611,0.837-0.973,1.852-0.973,2.964c0,2.763,2.249,5.009,5.011,5.009\tc1.576,0,2.976-0.737,3.901-1.879l1.063,1.599l1.075-1.615c0.475,0.611,1.1,1.111,1.838,1.451c1.213,0.547,2.574,0.612,3.825,0.15\tc2.589-0.963,3.913-3.852,2.964-6.439c-0.175-0.463-0.4-0.876-0.675-1.238H19.021z M16.38,14.594\tc-1.002,0.371-2.088,0.328-3.06-0.119c-0.688-0.317-1.252-0.817-1.657-1.438c-0.164-0.25-0.313-0.52-0.417-0.811\tc-0.124-0.328-0.186-0.668-0.217-1.014c-0.063-0.689,0.037-1.396,0.339-2.043c0.448-0.971,1.251-1.71,2.25-2.079\tc2.075-0.765,4.375,0.3,5.14,2.366c0.762,2.066-0.301,4.37-2.363,5.134L16.38,14.594L16.38,14.594z M8.322,13.066\tc-0.72,1.059-1.935,1.76-3.309,1.76c-2.207,0-4.001-1.797-4.001-3.996c0-2.203,1.795-4.002,4.001-4.002\tc2.204,0,3.999,1.8,3.999,4.002c0,0.137-0.024,0.261-0.04,0.396c-0.067,0.678-0.284,1.313-0.648,1.853v-0.013H8.322z M2.472,10.775\tc0,1.367,1.112,2.479,2.476,2.479c1.363,0,2.472-1.11,2.472-2.479c0-1.359-1.11-2.468-2.472-2.468\tC3.584,8.306,2.473,9.416,2.472,10.775L2.472,10.775z M12.514,10.775c0,1.367,1.104,2.479,2.471,2.479\tc1.363,0,2.474-1.108,2.474-2.479c0-1.359-1.11-2.468-2.474-2.468c-1.364,0-2.477,1.109-2.477,2.468H12.514z M3.324,10.775\tc0-0.893,0.726-1.618,1.614-1.618c0.889,0,1.625,0.727,1.625,1.618c0,0.898-0.725,1.627-1.625,1.627\tc-0.901,0-1.625-0.729-1.625-1.627H3.324z M13.354,10.775c0-0.893,0.726-1.618,1.627-1.618c0.886,0,1.61,0.727,1.61,1.618\tc0,0.898-0.726,1.627-1.626,1.627s-1.625-0.729-1.625-1.627H13.354z M9.977,4.875c1.798,0,3.425,0.324,4.849,0.968\tc-0.535,0.015-1.061,0.108-1.586,0.3c-1.264,0.463-2.264,1.388-2.815,2.604c-0.262,0.551-0.398,1.133-0.448,1.72\tC9.79,7.905,7.677,5.873,5.076,5.82C6.501,5.208,8.153,4.875,9.94,4.875H9.977z\"/></svg>",
|
|
||||||
"tumblr": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6.885,8.598c0,0,0,3.393,0,4.996c0,0.282,0,0.66,0.094,0.942c0.377,1.509,1.131,2.545,2.545,3.11 c1.319,0.472,2.356,0.472,3.676,0c0.565-0.188,1.132-0.659,1.132-0.659l-0.849-2.263c0,0-1.036,0.378-1.603,0.283 c-0.565-0.094-1.226-0.66-1.226-1.508c0-1.603,0-4.902,0-4.902h2.828V5.771h-2.828V2H8.205c0,0-0.094,0.66-0.188,0.942 C7.828,3.791,7.262,4.733,6.603,5.394C5.848,6.147,5,6.43,5,6.43v2.168H6.885z\"/></svg>",
|
|
||||||
"tv": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"7\" y=\"16\" width=\"6\" height=\"1\"/><rect fill=\"none\" stroke=\"#000\" x=\".5\" y=\"3.5\" width=\"19\" height=\"11\"/></svg>",
|
|
||||||
"twitter": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19,4.74 C18.339,5.029 17.626,5.229 16.881,5.32 C17.644,4.86 18.227,4.139 18.503,3.28 C17.79,3.7 17.001,4.009 16.159,4.17 C15.485,3.45 14.526,3 13.464,3 C11.423,3 9.771,4.66 9.771,6.7 C9.771,6.99 9.804,7.269 9.868,7.539 C6.795,7.38 4.076,5.919 2.254,3.679 C1.936,4.219 1.754,4.86 1.754,5.539 C1.754,6.82 2.405,7.95 3.397,8.61 C2.79,8.589 2.22,8.429 1.723,8.149 L1.723,8.189 C1.723,9.978 2.997,11.478 4.686,11.82 C4.376,11.899 4.049,11.939 3.713,11.939 C3.475,11.939 3.245,11.919 3.018,11.88 C3.49,13.349 4.852,14.419 6.469,14.449 C5.205,15.429 3.612,16.019 1.882,16.019 C1.583,16.019 1.29,16.009 1,15.969 C2.635,17.019 4.576,17.629 6.662,17.629 C13.454,17.629 17.17,12 17.17,7.129 C17.17,6.969 17.166,6.809 17.157,6.649 C17.879,6.129 18.504,5.478 19,4.74\"/></svg>",
|
|
||||||
"uikit": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon points=\"14.4,3.1 11.3,5.1 15,7.3 15,12.9 10,15.7 5,12.9 5,8.5 2,6.8 2,14.8 9.9,19.5 18,14.8 18,5.3\"/><polygon points=\"9.8,4.2 6.7,2.4 9.8,0.4 12.9,2.3\"/></svg>",
|
|
||||||
"unlock": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"none\" stroke=\"#000\" x=\"3.5\" y=\"8.5\" width=\"13\" height=\"10\"/><path fill=\"none\" stroke=\"#000\" d=\"M6.5,8.5 L6.5,4.9 C6.5,3 8.1,1.5 10,1.5 C11.9,1.5 13.5,3 13.5,4.9\"/></svg>",
|
|
||||||
"upload": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polyline fill=\"none\" stroke=\"#000\" points=\"5 8 9.5 3.5 14 8\"/><rect x=\"3\" y=\"17\" width=\"13\" height=\"1\"/><line fill=\"none\" stroke=\"#000\" x1=\"9.5\" y1=\"15\" x2=\"9.5\" y2=\"4\"/></svg>",
|
|
||||||
"user": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9.9\" cy=\"6.4\" r=\"4.4\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2\"/></svg>",
|
|
||||||
"users": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"7.7\" cy=\"8.6\" r=\"3.5\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1\"/></svg>",
|
|
||||||
"video-camera": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><polygon fill=\"none\" stroke=\"#000\" points=\"17.5 6.9 17.5 13.1 13.5 10.4 13.5 14.5 2.5 14.5 2.5 5.5 13.5 5.5 13.5 9.6 17.5 6.9\"/></svg>",
|
|
||||||
"vimeo": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.065,7.59C1.84,7.367,1.654,7.082,1.468,6.838c-0.332-0.42-0.137-0.411,0.274-0.772c1.026-0.91,2.004-1.896,3.127-2.688 c1.017-0.713,2.365-1.173,3.286-0.039c0.849,1.045,0.869,2.629,1.084,3.891c0.215,1.309,0.421,2.648,0.88,3.901 c0.127,0.352,0.37,1.018,0.81,1.074c0.567,0.078,1.145-0.917,1.408-1.289c0.684-0.987,1.611-2.317,1.494-3.587 c-0.115-1.349-1.572-1.095-2.482-0.773c0.146-1.514,1.555-3.216,2.912-3.792c1.439-0.597,3.579-0.587,4.302,1.036 c0.772,1.759,0.078,3.802-0.763,5.396c-0.918,1.731-2.1,3.333-3.363,4.829c-1.114,1.329-2.432,2.787-4.093,3.422 c-1.897,0.723-3.021-0.686-3.667-2.318c-0.705-1.777-1.056-3.771-1.565-5.621C4.898,8.726,4.644,7.836,4.136,7.191 C3.473,6.358,2.72,7.141,2.065,7.59C1.977,7.502,2.115,7.551,2.065,7.59L2.065,7.59z\"/></svg>",
|
|
||||||
"warning": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"10\" cy=\"14\" r=\"1\"/><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10\" cy=\"10\" r=\"9\"/><path d=\"M10.97,7.72 C10.85,9.54 10.56,11.29 10.56,11.29 C10.51,11.87 10.27,12 9.99,12 C9.69,12 9.49,11.87 9.43,11.29 C9.43,11.29 9.16,9.54 9.03,7.72 C8.96,6.54 9.03,6 9.03,6 C9.03,5.45 9.46,5.02 9.99,5 C10.53,5.01 10.97,5.44 10.97,6 C10.97,6 11.04,6.54 10.97,7.72 L10.97,7.72 Z\"/></svg>",
|
|
||||||
"whatsapp": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.7,3.3c-1.8-1.8-4.1-2.8-6.7-2.8c-5.2,0-9.4,4.2-9.4,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3c1.4,0.8,2.9,1.2,4.5,1.2 l0,0l0,0c5.2,0,9.4-4.2,9.4-9.4C19.5,7.4,18.5,5,16.7,3.3 M10.1,17.7L10.1,17.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2l-3,0.8l0.8-2.9 l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.8-7.8c2.1,0,4.1,0.8,5.5,2.3c1.5,1.5,2.3,3.4,2.3,5.5 C17.9,14.2,14.4,17.7,10.1,17.7 M14.4,11.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.8,0.9 c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5C8,8.8,8.1,8.7,8.2,8.5 c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4C8.4,7.6,7.9,6.5,7.7,6C7.5,5.5,7.3,5.6,7.2,5.6c-0.1,0-0.3,0-0.4,0 c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.5c0.6,0.2,1,0.4,1.3,0.5 c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C14.8,12.1,14.6,12,14.4,11.9\"/></svg>",
|
|
||||||
"wordpress": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10,0.5c-5.2,0-9.5,4.3-9.5,9.5s4.3,9.5,9.5,9.5c5.2,0,9.5-4.3,9.5-9.5S15.2,0.5,10,0.5L10,0.5L10,0.5z M15.6,3.9h-0.1 c-0.8,0-1.4,0.7-1.4,1.5c0,0.7,0.4,1.3,0.8,1.9c0.3,0.6,0.7,1.3,0.7,2.3c0,0.7-0.3,1.5-0.6,2.7L14.1,15l-3-8.9 c0.5,0,0.9-0.1,0.9-0.1C12.5,6,12.5,5.3,12,5.4c0,0-1.3,0.1-2.2,0.1C9,5.5,7.7,5.4,7.7,5.4C7.2,5.3,7.2,6,7.6,6c0,0,0.4,0.1,0.9,0.1 l1.3,3.5L8,15L5,6.1C5.5,6.1,5.9,6,5.9,6C6.4,6,6.3,5.3,5.9,5.4c0,0-1.3,0.1-2.2,0.1c-0.2,0-0.3,0-0.5,0c1.5-2.2,4-3.7,6.9-3.7 C12.2,1.7,14.1,2.6,15.6,3.9L15.6,3.9L15.6,3.9z M2.5,6.6l3.9,10.8c-2.7-1.3-4.6-4.2-4.6-7.4C1.8,8.8,2,7.6,2.5,6.6L2.5,6.6L2.5,6.6 z M10.2,10.7l2.5,6.9c0,0,0,0.1,0.1,0.1C11.9,18,11,18.2,10,18.2c-0.8,0-1.6-0.1-2.3-0.3L10.2,10.7L10.2,10.7L10.2,10.7z M14.2,17.1 l2.5-7.3c0.5-1.2,0.6-2.1,0.6-2.9c0-0.3,0-0.6-0.1-0.8c0.6,1.2,1,2.5,1,4C18.3,13,16.6,15.7,14.2,17.1L14.2,17.1L14.2,17.1z\"/></svg>",
|
|
||||||
"world": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"none\" stroke=\"#000\" d=\"M1,10.5 L19,10.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M2.35,15.5 L17.65,15.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M2.35,5.5 L17.523,5.5\"/><path fill=\"none\" stroke=\"#000\" d=\"M10,19.46 L9.98,19.46 C7.31,17.33 5.61,14.141 5.61,10.58 C5.61,7.02 7.33,3.83 10,1.7 C10.01,1.7 9.99,1.7 10,1.7 L10,1.7 C12.67,3.83 14.4,7.02 14.4,10.58 C14.4,14.141 12.67,17.33 10,19.46 L10,19.46 L10,19.46 L10,19.46 Z\"/><circle fill=\"none\" stroke=\"#000\" cx=\"10\" cy=\"10.5\" r=\"9\"/></svg>",
|
|
||||||
"xing": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.4,4.56 C4.24,4.56 4.11,4.61 4.05,4.72 C3.98,4.83 3.99,4.97 4.07,5.12 L5.82,8.16 L5.82,8.17 L3.06,13.04 C2.99,13.18 2.99,13.33 3.06,13.44 C3.12,13.55 3.24,13.62 3.4,13.62 L6,13.62 C6.39,13.62 6.57,13.36 6.71,13.12 C6.71,13.12 9.41,8.35 9.51,8.16 C9.49,8.14 7.72,5.04 7.72,5.04 C7.58,4.81 7.39,4.56 6.99,4.56 L4.4,4.56 L4.4,4.56 Z\"/><path d=\"M15.3,1 C14.91,1 14.74,1.25 14.6,1.5 C14.6,1.5 9.01,11.42 8.82,11.74 C8.83,11.76 12.51,18.51 12.51,18.51 C12.64,18.74 12.84,19 13.23,19 L15.82,19 C15.98,19 16.1,18.94 16.16,18.83 C16.23,18.72 16.23,18.57 16.16,18.43 L12.5,11.74 L12.5,11.72 L18.25,1.56 C18.32,1.42 18.32,1.27 18.25,1.16 C18.21,1.06 18.08,1 17.93,1 L15.3,1 L15.3,1 Z\"/></svg>",
|
|
||||||
"yelp": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.175,14.971c-0.112,0.77-1.686,2.767-2.406,3.054c-0.246,0.1-0.487,0.076-0.675-0.069\tc-0.122-0.096-2.446-3.859-2.446-3.859c-0.194-0.293-0.157-0.682,0.083-0.978c0.234-0.284,0.581-0.393,0.881-0.276\tc0.016,0.01,4.21,1.394,4.332,1.482c0.178,0.148,0.263,0.379,0.225,0.646L17.175,14.971L17.175,14.971z M11.464,10.789\tc-0.203-0.307-0.199-0.666,0.009-0.916c0,0,2.625-3.574,2.745-3.657c0.203-0.135,0.452-0.141,0.69-0.025\tc0.691,0.335,2.085,2.405,2.167,3.199v0.027c0.024,0.271-0.082,0.491-0.273,0.623c-0.132,0.083-4.43,1.155-4.43,1.155\tc-0.322,0.096-0.68-0.06-0.882-0.381L11.464,10.789z M9.475,9.563C9.32,9.609,8.848,9.757,8.269,8.817c0,0-3.916-6.16-4.007-6.351\tc-0.057-0.212,0.011-0.455,0.202-0.65C5.047,1.211,8.21,0.327,9.037,0.529c0.27,0.069,0.457,0.238,0.522,0.479\tc0.047,0.266,0.433,5.982,0.488,7.264C10.098,9.368,9.629,9.517,9.475,9.563z M9.927,19.066c-0.083,0.225-0.273,0.373-0.54,0.421\tc-0.762,0.13-3.15-0.751-3.647-1.342c-0.096-0.131-0.155-0.262-0.167-0.394c-0.011-0.095,0-0.189,0.036-0.272\tc0.061-0.155,2.917-3.538,2.917-3.538c0.214-0.272,0.595-0.355,0.952-0.213c0.345,0.13,0.56,0.428,0.536,0.749\tC10.014,14.479,9.977,18.923,9.927,19.066z M3.495,13.912c-0.235-0.009-0.444-0.148-0.568-0.382c-0.089-0.17-0.151-0.453-0.19-0.794\tC2.63,11.701,2.761,10.144,3.07,9.648c0.145-0.226,0.357-0.345,0.592-0.336c0.154,0,4.255,1.667,4.255,1.667\tc0.321,0.118,0.521,0.453,0.5,0.833c-0.023,0.37-0.236,0.655-0.551,0.738L3.495,13.912z\"/></svg>",
|
|
||||||
"youtube": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15,4.1c1,0.1,2.3,0,3,0.8c0.8,0.8,0.9,2.1,0.9,3.1C19,9.2,19,10.9,19,12c-0.1,1.1,0,2.4-0.5,3.4c-0.5,1.1-1.4,1.5-2.5,1.6 c-1.2,0.1-8.6,0.1-11,0c-1.1-0.1-2.4-0.1-3.2-1c-0.7-0.8-0.7-2-0.8-3C1,11.8,1,10.1,1,8.9c0-1.1,0-2.4,0.5-3.4C2,4.5,3,4.3,4.1,4.2 C5.3,4.1,12.6,4,15,4.1z M8,7.5v6l5.5-3L8,7.5z\"/></svg>"
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof window !== 'undefined' && window.UIkit) {
|
|
||||||
window.UIkit.use(plugin);
|
|
||||||
}
|
|
||||||
|
|
||||||
return plugin;
|
|
||||||
|
|
||||||
})));
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
pkg
|
|
||||||
wasm-pack.log
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "vtracer-webapp"
|
|
||||||
version = "0.4.0"
|
|
||||||
authors = ["Chris Tsang <chris.2y3@outlook.com>"]
|
|
||||||
edition = "2021"
|
|
||||||
description = "A web app to convert images into vector graphics."
|
|
||||||
license = "MIT OR Apache-2.0"
|
|
||||||
homepage = "http://www.visioncortex.org/vtracer"
|
|
||||||
repository = "https://github.com/visioncortex/vtracer/"
|
|
||||||
categories = ["graphics"]
|
|
||||||
keywords = ["svg", "computer-graphics"]
|
|
||||||
|
|
||||||
[lib]
|
|
||||||
crate-type = ["cdylib"]
|
|
||||||
|
|
||||||
[features]
|
|
||||||
default = ["console_error_panic_hook"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
cfg-if = "0.1"
|
|
||||||
console_log = { version = "0.2", features = ["color"] }
|
|
||||||
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
|
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
|
||||||
serde_json = "1.0"
|
|
||||||
visioncortex = "0.8.1"
|
|
||||||
|
|
||||||
# The `console_error_panic_hook` crate provides better debugging of panics by
|
|
||||||
# logging them with `console.error`. This is great for development, but requires
|
|
||||||
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
|
|
||||||
# code size when deploying.
|
|
||||||
console_error_panic_hook = { version = "0.1", optional = true }
|
|
||||||
|
|
||||||
[dependencies.web-sys]
|
|
||||||
version = "0.3"
|
|
||||||
features = [
|
|
||||||
"CanvasRenderingContext2d",
|
|
||||||
"console",
|
|
||||||
"Document",
|
|
||||||
"HtmlElement",
|
|
||||||
"HtmlCanvasElement",
|
|
||||||
"ImageData",
|
|
||||||
"Window",
|
|
||||||
]
|
|
||||||
@@ -1,201 +0,0 @@
|
|||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
Copyright (c) 2020 Tsang Hao Fung
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any
|
|
||||||
person obtaining a copy of this software and associated
|
|
||||||
documentation files (the "Software"), to deal in the
|
|
||||||
Software without restriction, including without
|
|
||||||
limitation the rights to use, copy, modify, merge,
|
|
||||||
publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software
|
|
||||||
is furnished to do so, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice
|
|
||||||
shall be included in all copies or substantial portions
|
|
||||||
of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
||||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
||||||
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
||||||
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
||||||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
DEALINGS IN THE SOFTWARE.
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
<div align="center">
|
|
||||||
<img src="https://github.com/visioncortex/vtracer/raw/master/docs/images/visioncortex-banner.png">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
# visioncortex VTracer
|
|
||||||
|
|
||||||
A web app to convert raster images into vector graphics.
|
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
0. `sudo apt install git build-essential`
|
|
||||||
1. https://www.rust-lang.org/tools/install
|
|
||||||
2. https://rustwasm.github.io/wasm-pack/installer/
|
|
||||||
3. https://github.com/nvm-sh/nvm
|
|
||||||
```
|
|
||||||
nvm install --lts
|
|
||||||
```
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
0. Setup
|
|
||||||
```
|
|
||||||
cd app
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Build wasm
|
|
||||||
```
|
|
||||||
wasm-pack build
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Start development server
|
|
||||||
```
|
|
||||||
cd app
|
|
||||||
npm run start
|
|
||||||
```
|
|
||||||
Open browser on http://localhost:8080/
|
|
||||||
|
|
||||||
3. Release
|
|
||||||
```
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
node_modules
|
|
||||||
dist
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
// A dependency graph that contains any wasm must all be imported
|
|
||||||
// asynchronously. This `bootstrap.js` file does the single async import, so
|
|
||||||
// that no one else needs to worry about it again.
|
|
||||||
import("./index.js")
|
|
||||||
.catch(e => console.error("Error importing `index.js`:", e));
|
|
||||||
@@ -1,205 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>VTracer</title>
|
|
||||||
<link rel="apple-touch-icon" sizes="192x192" href="./assets/apple-icon.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="192x192" href="./assets/apple-icon.png">
|
|
||||||
<style>
|
|
||||||
html, body {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.button {
|
|
||||||
cursor: pointer;
|
|
||||||
font-family: sans-serif;
|
|
||||||
border-radius: 2px;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
padding: 4px 8px;
|
|
||||||
}
|
|
||||||
#droptext {
|
|
||||||
border: 2px dashed #000;
|
|
||||||
}
|
|
||||||
#droptext.hovering {
|
|
||||||
border: 2px dashed #fff;
|
|
||||||
}
|
|
||||||
#canvas-container {
|
|
||||||
position: absolute;
|
|
||||||
left: 2.5%;
|
|
||||||
top: 5%;
|
|
||||||
width: 95%;
|
|
||||||
height: 90%;
|
|
||||||
}
|
|
||||||
#svg, #frame {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
}
|
|
||||||
#svg > path:hover {
|
|
||||||
stroke: #ff0;
|
|
||||||
}
|
|
||||||
#droptext {
|
|
||||||
height: 100%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
#options {
|
|
||||||
position: absolute;
|
|
||||||
left: 2.5%;
|
|
||||||
top: 5%;
|
|
||||||
padding: 50px;
|
|
||||||
background: rgba(255,255,255,0.5);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<input type="file" id="imageInput" accept="image/*" style="display: none;">
|
|
||||||
<div>
|
|
||||||
<div id="progressregion" style="display: none;">
|
|
||||||
<progress id="progressbar" value="0" max="100" style="width: 98%;"></progress>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div id="drop">
|
|
||||||
<div id="canvas-container">
|
|
||||||
<div id="droptext">
|
|
||||||
<p>Drag an image here or <a href="#" id="imageSelect">Select file</a></p>
|
|
||||||
</div>
|
|
||||||
<canvas id="frame"></canvas>
|
|
||||||
<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="options">
|
|
||||||
<div>
|
|
||||||
<a class="button" id="export">Download as SVG</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div title="Algorithm for segmentation and grouping of pixel clusters">
|
|
||||||
Clustering
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<button id="clustering-binary" title="Black & White (Binary Image)">B/W</button>
|
|
||||||
<button id="clustering-color" title="True Color Image">Color</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<button id="clustering-cutout" title="Shapes disjoint with others">Cutout</button>
|
|
||||||
<button id="clustering-stacked" title="Stack shapes on top of another">Stacked</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div title="Discard patches small than X px in size">
|
|
||||||
Filter Speckle <span>(Cleaner)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="filterspecklevalue">
|
|
||||||
4
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<input id="filterspeckle" type="range" min="1" max="16" step="1" value="4">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clustering-color-options">
|
|
||||||
<div title="Number of significant bits to use in a RGB channel">
|
|
||||||
Color Precision <span>(More accurate)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="colorprecisionvalue" class="clustering-color-options">
|
|
||||||
6
|
|
||||||
</div>
|
|
||||||
<div class="clustering-color-options">
|
|
||||||
<input id="colorprecision" type="range" min="1" max="8" step="1" value="6">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clustering-color-options">
|
|
||||||
<div title="Color difference between gradient layers">
|
|
||||||
Gradient Step <span>(Less layers)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="layerdifferencevalue" class="clustering-color-options">
|
|
||||||
16
|
|
||||||
</div>
|
|
||||||
<div class="clustering-color-options">
|
|
||||||
<input id="layerdifference" type="range" min="0" max="255" step="1" value="16">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div title="Algorithm for converting clusters to shapes">
|
|
||||||
Curve Fitting
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<button id="none" title="Exact cluster boundary">Pixel</button>
|
|
||||||
<button id="polygon" title="Simplify to Polygon">Polygon</button>
|
|
||||||
<button id="spline" class="selected" title="Smooth and Curve-fit">Spline</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="spline-options">
|
|
||||||
<div title="Minimum Momentary Angle (in degrees) to be considered a corner (to be kept after smoothing)">
|
|
||||||
Corner Threshold <span>(Smoother)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="cornervalue" class="spline-options">
|
|
||||||
60
|
|
||||||
</div>
|
|
||||||
<div class="spline-options">
|
|
||||||
<input id="corner" type="range" min="0" max="180" step="1" value="60">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="spline-options">
|
|
||||||
<div title="Perform Iterative Subdivide Smooth until all segments are shorter than this length">
|
|
||||||
Segment Length <span>(More coarse)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="lengthvalue" class="spline-options">
|
|
||||||
4
|
|
||||||
</div>
|
|
||||||
<div class="spline-options">
|
|
||||||
<input id="length" type="range" min="3.5" max="10" step="0.5" value="4">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="spline-options">
|
|
||||||
<div title="Minimum Angle Displacement (in degrees) to be considered a cutting point between curves">
|
|
||||||
Splice Threshold <span>(More accurate)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="splicevalue" class="spline-options">
|
|
||||||
45
|
|
||||||
</div>
|
|
||||||
<div class="spline-options">
|
|
||||||
<input id="splice" type="range" min="0" max="180" step="1" value="45">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="display: none">
|
|
||||||
<div class="spline-options">
|
|
||||||
<div title="Number of decimal places used in svg path string">
|
|
||||||
Path Precision <span>(More digits)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="pathprecisionvalue" class="spline-options">
|
|
||||||
8
|
|
||||||
</div>
|
|
||||||
<div class="spline-options">
|
|
||||||
<input id="pathprecision" class="uk-range" type="range" min="0" max="16" step="1" value="8">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="./bootstrap.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,490 +0,0 @@
|
|||||||
import { BinaryImageConverter, ColorImageConverter } from 'vtracer';
|
|
||||||
|
|
||||||
let runner;
|
|
||||||
const canvas = document.getElementById('frame');
|
|
||||||
const ctx = canvas.getContext('2d');
|
|
||||||
const svg = document.getElementById('svg');
|
|
||||||
const img = new Image();
|
|
||||||
const progress = document.getElementById('progressbar');
|
|
||||||
const progressregion = document.getElementById('progressregion');
|
|
||||||
let mode = 'spline', clustering_mode = 'color', clustering_hierarchical = 'stacked';
|
|
||||||
|
|
||||||
// Hide canas and svg on load
|
|
||||||
canvas.style.display = 'none';
|
|
||||||
svg.style.display = 'none';
|
|
||||||
|
|
||||||
// Paste from clipboard
|
|
||||||
document.addEventListener('paste', function (e) {
|
|
||||||
if (e.clipboardData) {
|
|
||||||
var items = e.clipboardData.items;
|
|
||||||
if (!items) return;
|
|
||||||
|
|
||||||
//access data directly
|
|
||||||
for (var i = 0; i < items.length; i++) {
|
|
||||||
if (items[i].type.indexOf("image") !== -1) {
|
|
||||||
//image
|
|
||||||
var blob = items[i].getAsFile();
|
|
||||||
var URLObj = window.URL || window.webkitURL;
|
|
||||||
var source = URLObj.createObjectURL(blob);
|
|
||||||
setSourceAndRestart(source);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
e.preventDefault();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Download as SVG
|
|
||||||
document.getElementById('export').addEventListener('click', function (e) {
|
|
||||||
const blob = new Blob([
|
|
||||||
`<?xml version="1.0" encoding="UTF-8"?>\n`,
|
|
||||||
`<!-- Generator: visioncortex VTracer -->\n`,
|
|
||||||
new XMLSerializer().serializeToString(svg)
|
|
||||||
], {type: 'octet/stream'}),
|
|
||||||
url = window.URL.createObjectURL(blob);
|
|
||||||
|
|
||||||
this.href = url;
|
|
||||||
this.target = '_blank';
|
|
||||||
|
|
||||||
this.download = 'export-' + new Date().toISOString().slice(0, 19).replace(/:/g, '').replace('T', ' ') + '.svg';
|
|
||||||
});
|
|
||||||
|
|
||||||
// Store template config
|
|
||||||
var presetConfigs = [
|
|
||||||
{
|
|
||||||
src: 'assets/samples/K1_drawing.jpg',
|
|
||||||
clustering_mode: 'binary',
|
|
||||||
clustering_hierarchical: 'stacked',
|
|
||||||
filter_speckle: 4,
|
|
||||||
color_precision: 6,
|
|
||||||
path_precision: 8,
|
|
||||||
layer_difference: 16,
|
|
||||||
mode: 'spline',
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4,
|
|
||||||
splice_threshold: 45,
|
|
||||||
source: 'https://commons.wikimedia.org/wiki/File:K1_drawing.jpg',
|
|
||||||
credit: '<a href="https://commons.wikimedia.org/">Wikimedia</a>',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
src: 'assets/samples/Cityscape Sunset_DFM3-01.jpg',
|
|
||||||
clustering_mode: 'color',
|
|
||||||
clustering_hierarchical: 'stacked',
|
|
||||||
filter_speckle: 4,
|
|
||||||
color_precision: 8,
|
|
||||||
path_precision: 8,
|
|
||||||
layer_difference: 25,
|
|
||||||
mode: 'spline',
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4,
|
|
||||||
splice_threshold: 45,
|
|
||||||
source: 'https://www.vecteezy.com/vector-art/227400-beautiful-cityscape-at-sunset',
|
|
||||||
credit: '<a href="https://www.vecteezy.com/free-vector/building">Building Vectors by Vecteezy</a>',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
src: 'assets/samples/Gum Tree Vector.jpg',
|
|
||||||
clustering_mode: 'color',
|
|
||||||
clustering_hierarchical: 'stacked',
|
|
||||||
filter_speckle: 4,
|
|
||||||
color_precision: 8,
|
|
||||||
path_precision: 8,
|
|
||||||
layer_difference: 28,
|
|
||||||
mode: 'spline',
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4,
|
|
||||||
splice_threshold: 45,
|
|
||||||
source: 'https://www.vecteezy.com/vector-art/172177-gum-tree-vector',
|
|
||||||
credit: '<a href="https://www.vecteezy.com/free-vector/nature">Nature Vectors by Vecteezy</a>',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
src: 'assets/samples/vectorstock_31191940.png',
|
|
||||||
clustering_mode: 'color',
|
|
||||||
clustering_hierarchical: 'stacked',
|
|
||||||
filter_speckle: 8,
|
|
||||||
color_precision: 7,
|
|
||||||
path_precision: 8,
|
|
||||||
layer_difference: 64,
|
|
||||||
mode: 'spline',
|
|
||||||
corner_threshold: 60,
|
|
||||||
length_threshold: 4,
|
|
||||||
splice_threshold: 45,
|
|
||||||
source: 'https://www.vectorstock.com/royalty-free-vector/dessert-poster-design-with-chocolate-cake-mousses-vector-31191940',
|
|
||||||
credit: '<a href="https://www.vectorstock.com/royalty-free-vector/dessert-poster-design-with-chocolate-cake-mousses-vector-31191940">Vector image by VectorStock / vectorstock</a>',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
src: 'assets/samples/angel-luciano-LATYeZyw88c-unsplash-s.jpg',
|
|
||||||
clustering_mode: 'color',
|
|
||||||
clustering_hierarchical: 'stacked',
|
|
||||||
filter_speckle: 10,
|
|
||||||
color_precision: 8,
|
|
||||||
path_precision: 8,
|
|
||||||
layer_difference: 48,
|
|
||||||
mode: 'spline',
|
|
||||||
corner_threshold: 180,
|
|
||||||
length_threshold: 4,
|
|
||||||
splice_threshold: 45,
|
|
||||||
source: 'https://unsplash.com/photos/LATYeZyw88c',
|
|
||||||
credit: '<span>Photo by <a href="https://unsplash.com/@roaming_angel?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Angel Luciano</a> on <a href="https://unsplash.com/s/photos/dog?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a></span>',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
src: 'assets/samples/tank-unit-preview.png',
|
|
||||||
clustering_mode: 'color',
|
|
||||||
clustering_hierarchical: 'stacked',
|
|
||||||
filter_speckle: 0,
|
|
||||||
color_precision: 8,
|
|
||||||
path_precision: 8,
|
|
||||||
layer_difference: 0,
|
|
||||||
mode: 'none',
|
|
||||||
corner_threshold: 180,
|
|
||||||
length_threshold: 4,
|
|
||||||
splice_threshold: 45,
|
|
||||||
source: 'https://opengameart.org/content/sideview-sci-fi-patreon-collection',
|
|
||||||
credit: '<span>Artwork by <a href="https://opengameart.org/content/sideview-sci-fi-patreon-collection">Luis Zuno</a> on <a href="https://opengameart.org/">opengameart.org</a></span>',
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
// Insert gallery items dynamically
|
|
||||||
if (document.getElementById('galleryslider')) {
|
|
||||||
for (let i = 0; i < presetConfigs.length; i++) {
|
|
||||||
document.getElementById('galleryslider').innerHTML +=
|
|
||||||
`<li>
|
|
||||||
<div class="galleryitem uk-panel uk-flex uk-flex-center">
|
|
||||||
<a href="#">
|
|
||||||
<img src="${presetConfigs[i].src}" title="${presetConfigs[i].source}">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</li>`;
|
|
||||||
document.getElementById('credits-modal-content').innerHTML +=
|
|
||||||
`<p>${presetConfigs[i].credit}</p>`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Function to load a given config WITHOUT restarting
|
|
||||||
function loadConfig(config) {
|
|
||||||
mode = config.mode;
|
|
||||||
clustering_mode = config.clustering_mode;
|
|
||||||
clustering_hierarchical = config.clustering_hierarchical;
|
|
||||||
|
|
||||||
globalcorner = config.corner_threshold;
|
|
||||||
document.getElementById('cornervalue').innerHTML = globalcorner;
|
|
||||||
document.getElementById('corner').value = globalcorner;
|
|
||||||
|
|
||||||
globallength = config.length_threshold;
|
|
||||||
document.getElementById('lengthvalue').innerHTML = globallength;
|
|
||||||
document.getElementById('length').value = globallength;
|
|
||||||
|
|
||||||
globalsplice = config.splice_threshold;
|
|
||||||
document.getElementById('splicevalue').innerHTML = globalsplice;
|
|
||||||
document.getElementById('splice').value = globalsplice;
|
|
||||||
|
|
||||||
globalfilterspeckle = config.filter_speckle;
|
|
||||||
document.getElementById('filterspecklevalue').innerHTML = globalfilterspeckle;
|
|
||||||
document.getElementById('filterspeckle').value = globalfilterspeckle;
|
|
||||||
|
|
||||||
globalcolorprecision = config.color_precision;
|
|
||||||
document.getElementById('colorprecisionvalue').innerHTML = globalcolorprecision;
|
|
||||||
document.getElementById('colorprecision').value = globalcolorprecision;
|
|
||||||
|
|
||||||
globallayerdifference = config.layer_difference;
|
|
||||||
document.getElementById('layerdifferencevalue').innerHTML = globallayerdifference;
|
|
||||||
document.getElementById('layerdifference').value = globallayerdifference;
|
|
||||||
|
|
||||||
globalpathprecision = config.path_precision;
|
|
||||||
document.getElementById('pathprecisionvalue').innerHTML = globalpathprecision;
|
|
||||||
document.getElementById('pathprecision').value = globalpathprecision;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Choose template from gallery
|
|
||||||
let chooseGalleryButtons = document.querySelectorAll('.galleryitem a');
|
|
||||||
chooseGalleryButtons.forEach(item => {
|
|
||||||
item.addEventListener('click', function (e) {
|
|
||||||
// Load preset template config
|
|
||||||
let i = Array.prototype.indexOf.call(chooseGalleryButtons, item);
|
|
||||||
if (presetConfigs.length > i) {
|
|
||||||
loadConfig(presetConfigs[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set source as specified
|
|
||||||
setSourceAndRestart(this.firstElementChild.src);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Upload button
|
|
||||||
var imageSelect = document.getElementById('imageSelect'),
|
|
||||||
imageInput = document.getElementById('imageInput');
|
|
||||||
imageSelect.addEventListener('click', function (e) {
|
|
||||||
imageInput.click();
|
|
||||||
e.preventDefault();
|
|
||||||
});
|
|
||||||
|
|
||||||
imageInput.addEventListener('change', function (e) {
|
|
||||||
setSourceAndRestart(this.files[0]);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Drag-n-Drop
|
|
||||||
var drop = document.getElementById('drop');
|
|
||||||
var droptext = document.getElementById('droptext');
|
|
||||||
drop.addEventListener('dragenter', function (e) {
|
|
||||||
if (e.preventDefault) e.preventDefault();
|
|
||||||
e.dataTransfer.dropEffect = 'copy';
|
|
||||||
droptext.classList.add('hovering');
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
drop.addEventListener('dragleave', function (e) {
|
|
||||||
if (e.preventDefault) e.preventDefault();
|
|
||||||
e.dataTransfer.dropEffect = 'copy';
|
|
||||||
droptext.classList.remove('hovering');
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
drop.addEventListener('dragover', function (e) {
|
|
||||||
if (e.preventDefault) e.preventDefault();
|
|
||||||
e.dataTransfer.dropEffect = 'copy';
|
|
||||||
droptext.classList.add('hovering');
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
drop.addEventListener('drop', function (e) {
|
|
||||||
if (e.preventDefault) e.preventDefault();
|
|
||||||
droptext.classList.remove('hovering');
|
|
||||||
setSourceAndRestart(e.dataTransfer.files[0]);
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Get Input from UI controls
|
|
||||||
var globalcorner = parseInt(document.getElementById('corner').value),
|
|
||||||
globallength = parseFloat(document.getElementById('length').value),
|
|
||||||
globalsplice = parseInt(document.getElementById('splice').value),
|
|
||||||
globalfilterspeckle = parseInt(document.getElementById('filterspeckle').value),
|
|
||||||
globalcolorprecision = parseInt(document.getElementById('colorprecision').value),
|
|
||||||
globallayerdifference = parseInt(document.getElementById('layerdifference').value),
|
|
||||||
globalpathprecision = parseInt(document.getElementById('pathprecision').value);
|
|
||||||
|
|
||||||
// Load past inputs from localStorage
|
|
||||||
/*
|
|
||||||
if (localStorage.VSsettings) {
|
|
||||||
var settings = JSON.parse(localStorage.VSsettings);
|
|
||||||
document.getElementById('cornervalue').innerHTML = document.getElementById('corner').value = globalcorner = settings.globalcorner;
|
|
||||||
document.getElementById('lengthvalue').innerHTML = document.getElementById('length').value = globallength = settings.globallength;
|
|
||||||
document.getElementById('splicevalue').innerHTML = document.getElementById('splice').value = globalsplice = settings.globalsplice;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
document.getElementById('none').addEventListener('click', function (e) {
|
|
||||||
mode = 'none';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('polygon').addEventListener('click', function (e) {
|
|
||||||
mode = 'polygon';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('spline').addEventListener('click', function (e) {
|
|
||||||
mode = 'spline';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('clustering-binary').addEventListener('click', function (e) {
|
|
||||||
clustering_mode = 'binary';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('clustering-color').addEventListener('click', function (e) {
|
|
||||||
clustering_mode = 'color';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('clustering-cutout').addEventListener('click', function (e) {
|
|
||||||
clustering_hierarchical = 'cutout';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('clustering-stacked').addEventListener('click', function (e) {
|
|
||||||
clustering_hierarchical = 'stacked';
|
|
||||||
restart();
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
document.getElementById('filterspeckle').addEventListener('change', function (e) {
|
|
||||||
globalfilterspeckle = parseInt(this.value);
|
|
||||||
document.getElementById('filterspecklevalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('colorprecision').addEventListener('change', function (e) {
|
|
||||||
globalcolorprecision = parseInt(this.value);
|
|
||||||
document.getElementById('colorprecisionvalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('layerdifference').addEventListener('change', function (e) {
|
|
||||||
globallayerdifference = parseInt(this.value);
|
|
||||||
document.getElementById('layerdifferencevalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('corner').addEventListener('change', function (e) {
|
|
||||||
globalcorner = parseInt(this.value);
|
|
||||||
document.getElementById('cornervalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('length').addEventListener('change', function (e) {
|
|
||||||
globallength = parseFloat(this.value);
|
|
||||||
document.getElementById('lengthvalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('splice').addEventListener('change', function (e) {
|
|
||||||
globalsplice = parseInt(this.value);
|
|
||||||
document.getElementById('splicevalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('pathprecision').addEventListener('change', function (e) {
|
|
||||||
globalpathprecision = parseInt(this.value);
|
|
||||||
document.getElementById('pathprecisionvalue').innerHTML = this.value;
|
|
||||||
restart();
|
|
||||||
});
|
|
||||||
|
|
||||||
// Save inputs before unloading
|
|
||||||
/*
|
|
||||||
window.addEventListener('beforeunload', function () {
|
|
||||||
localStorage.VSsettings = JSON.stringify({
|
|
||||||
globalcorner: globalcorner,
|
|
||||||
globallength: globallength,
|
|
||||||
globalsplice: globalsplice,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
function setSourceAndRestart(source) {
|
|
||||||
img.src = source instanceof File ? URL.createObjectURL(source) : source;
|
|
||||||
img.onload = function () {
|
|
||||||
const width = img.naturalWidth, height = img.naturalHeight;
|
|
||||||
svg.setAttribute('viewBox', `0 0 ${width} ${height}`);
|
|
||||||
canvas.width = img.naturalWidth;
|
|
||||||
canvas.height = img.naturalHeight;
|
|
||||||
if (height > width) {
|
|
||||||
document.getElementById('canvas-container').style.width = '50%';
|
|
||||||
document.getElementById('canvas-container').style.marginBottom = (height / width * 50) + '%';
|
|
||||||
} else {
|
|
||||||
document.getElementById('canvas-container').style.width = '';
|
|
||||||
document.getElementById('canvas-container').style.marginBottom = (height / width * 100) + '%';
|
|
||||||
}
|
|
||||||
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
|
|
||||||
ctx.getImageData(0, 0, canvas.width, canvas.height);
|
|
||||||
restart();
|
|
||||||
}
|
|
||||||
// Show display
|
|
||||||
canvas.style.display = 'block';
|
|
||||||
svg.style.display = 'block';
|
|
||||||
// Hide upload text
|
|
||||||
droptext.style.display = 'none';
|
|
||||||
}
|
|
||||||
|
|
||||||
function restart() {
|
|
||||||
document.getElementById('clustering-binary').classList.remove('selected');
|
|
||||||
document.getElementById('clustering-color').classList.remove('selected');
|
|
||||||
document.getElementById('clustering-' + clustering_mode).classList.add('selected');
|
|
||||||
Array.from(document.getElementsByClassName('clustering-color-options')).forEach((el) => {
|
|
||||||
el.style.display = clustering_mode == 'color' ? '' : 'none';
|
|
||||||
});
|
|
||||||
|
|
||||||
document.getElementById('clustering-cutout').classList.remove('selected');
|
|
||||||
document.getElementById('clustering-stacked').classList.remove('selected');
|
|
||||||
document.getElementById('clustering-' + clustering_hierarchical).classList.add('selected');
|
|
||||||
|
|
||||||
document.getElementById('none').classList.remove('selected');
|
|
||||||
document.getElementById('polygon').classList.remove('selected');
|
|
||||||
document.getElementById('spline').classList.remove('selected');
|
|
||||||
document.getElementById(mode).classList.add('selected');
|
|
||||||
Array.from(document.getElementsByClassName('spline-options')).forEach((el) => {
|
|
||||||
el.style.display = mode == 'spline' ? '' : 'none';
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!img.src) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
while (svg.firstChild) {
|
|
||||||
svg.removeChild(svg.firstChild);
|
|
||||||
}
|
|
||||||
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
||||||
ctx.drawImage(img, 0, 0);
|
|
||||||
let converter_params = JSON.stringify({
|
|
||||||
'canvas_id': canvas.id,
|
|
||||||
'svg_id': svg.id,
|
|
||||||
'mode': mode,
|
|
||||||
'clustering_mode': clustering_mode,
|
|
||||||
'hierarchical': clustering_hierarchical,
|
|
||||||
'corner_threshold': deg2rad(globalcorner),
|
|
||||||
'length_threshold': globallength,
|
|
||||||
'max_iterations': 10,
|
|
||||||
'splice_threshold': deg2rad(globalsplice),
|
|
||||||
'filter_speckle': globalfilterspeckle*globalfilterspeckle,
|
|
||||||
'color_precision': 8-globalcolorprecision,
|
|
||||||
'layer_difference': globallayerdifference,
|
|
||||||
'path_precision': globalpathprecision,
|
|
||||||
});
|
|
||||||
if (runner) {
|
|
||||||
runner.stop();
|
|
||||||
}
|
|
||||||
runner = new ConverterRunner(converter_params);
|
|
||||||
progress.value = 0;
|
|
||||||
progressregion.style.display = 'block';
|
|
||||||
runner.run();
|
|
||||||
}
|
|
||||||
|
|
||||||
function deg2rad(deg) {
|
|
||||||
return deg/180*3.141592654;
|
|
||||||
}
|
|
||||||
|
|
||||||
class ConverterRunner {
|
|
||||||
constructor (converter_params) {
|
|
||||||
this.converter =
|
|
||||||
clustering_mode == 'color' ?
|
|
||||||
ColorImageConverter.new_with_string(converter_params):
|
|
||||||
BinaryImageConverter.new_with_string(converter_params);
|
|
||||||
this.converter.init();
|
|
||||||
this.stopped = false;
|
|
||||||
if (clustering_mode == 'binary') {
|
|
||||||
svg.style.background = '#fff';
|
|
||||||
canvas.style.display = 'none';
|
|
||||||
} else {
|
|
||||||
svg.style.background = '';
|
|
||||||
canvas.style.display = '';
|
|
||||||
}
|
|
||||||
canvas.style.opacity = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
run () {
|
|
||||||
const This = this;
|
|
||||||
setTimeout(function tick () {
|
|
||||||
if (!This.stopped) {
|
|
||||||
let done = false;
|
|
||||||
const startTick = performance.now();
|
|
||||||
while (!(done = This.converter.tick()) &&
|
|
||||||
performance.now() - startTick < 25) {
|
|
||||||
}
|
|
||||||
progress.value = This.converter.progress();
|
|
||||||
if (progress.value >= 50) {
|
|
||||||
canvas.style.display = 'none';
|
|
||||||
} else {
|
|
||||||
canvas.style.opacity = (50 - progress.value) / 25;
|
|
||||||
}
|
|
||||||
if (progress.value >= progress.max) {
|
|
||||||
progressregion.style.display = 'none';
|
|
||||||
progress.value = 0;
|
|
||||||
}
|
|
||||||
if (!done) {
|
|
||||||
setTimeout(tick, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
stop () {
|
|
||||||
this.stopped = true;
|
|
||||||
this.converter.free();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "vtracer-app",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"description": "VTracer Webapp",
|
|
||||||
"author": "Chris Tsang <chris.2y3@outlook.com>",
|
|
||||||
"license": "proprietary",
|
|
||||||
"private": true,
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"start": "webpack-dev-server",
|
|
||||||
"build": "webpack"
|
|
||||||
},
|
|
||||||
"keywords": [
|
|
||||||
"rust",
|
|
||||||
"wasm"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
|
||||||
"vtracer": "file:../pkg",
|
|
||||||
"webpack": "^4.41.5"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"webpack-cli": "^3.3.11",
|
|
||||||
"webpack-dev-server": "^3.10.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
const path = require('path');
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
entry: "./bootstrap.js",
|
|
||||||
output: {
|
|
||||||
path: path.resolve(__dirname, "dist"),
|
|
||||||
filename: "bootstrap.js",
|
|
||||||
},
|
|
||||||
mode: "development",
|
|
||||||
devServer: {
|
|
||||||
//host: "0.0.0.0",
|
|
||||||
port: 8080,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
use wasm_bindgen::{JsCast};
|
|
||||||
use web_sys::{console, CanvasRenderingContext2d, HtmlCanvasElement};
|
|
||||||
use visioncortex::{ColorImage};
|
|
||||||
|
|
||||||
use super::common::document;
|
|
||||||
|
|
||||||
pub struct Canvas {
|
|
||||||
html_canvas: HtmlCanvasElement,
|
|
||||||
cctx: CanvasRenderingContext2d,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Canvas {
|
|
||||||
pub fn new_from_id(canvas_id: &str) -> Canvas {
|
|
||||||
let html_canvas = document().get_element_by_id(canvas_id).unwrap();
|
|
||||||
let html_canvas: HtmlCanvasElement = html_canvas
|
|
||||||
.dyn_into::<HtmlCanvasElement>()
|
|
||||||
.map_err(|_| ())
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
let cctx = html_canvas
|
|
||||||
.get_context("2d")
|
|
||||||
.unwrap()
|
|
||||||
.unwrap()
|
|
||||||
.dyn_into::<CanvasRenderingContext2d>()
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
Canvas {
|
|
||||||
html_canvas,
|
|
||||||
cctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn width(&self) -> usize {
|
|
||||||
self.html_canvas.width() as usize
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn height(&self) -> usize {
|
|
||||||
self.html_canvas.height() as usize
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn get_image_data(&self, x: u32, y: u32, width: u32, height: u32) -> Vec<u8> {
|
|
||||||
let image = self
|
|
||||||
.cctx
|
|
||||||
.get_image_data(x as f64, y as f64, width as f64, height as f64)
|
|
||||||
.unwrap();
|
|
||||||
image.data().to_vec()
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn get_image_data_as_color_image(&self, x: u32, y: u32, width: u32, height: u32) -> ColorImage {
|
|
||||||
ColorImage {
|
|
||||||
pixels: self.get_image_data(x, y, width, height),
|
|
||||||
width: width as usize,
|
|
||||||
height: height as usize,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn log(&self, string: &str) {
|
|
||||||
console::log_1(&wasm_bindgen::JsValue::from_str(string));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
pub fn window() -> web_sys::Window {
|
|
||||||
web_sys::window().unwrap()
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn document() -> web_sys::Document {
|
|
||||||
window().document().unwrap()
|
|
||||||
}
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
use wasm_bindgen::prelude::*;
|
|
||||||
use visioncortex::{clusters::Clusters, Color, ColorName, PathSimplifyMode};
|
|
||||||
|
|
||||||
use crate::{canvas::*};
|
|
||||||
use crate::svg::*;
|
|
||||||
|
|
||||||
use serde::Deserialize;
|
|
||||||
use super::util;
|
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
|
||||||
pub struct BinaryImageConverterParams {
|
|
||||||
pub canvas_id: String,
|
|
||||||
pub svg_id: String,
|
|
||||||
pub mode: String,
|
|
||||||
pub corner_threshold: f64,
|
|
||||||
pub length_threshold: f64,
|
|
||||||
pub max_iterations: usize,
|
|
||||||
pub splice_threshold: f64,
|
|
||||||
pub filter_speckle: usize,
|
|
||||||
pub path_precision: u32,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
pub struct BinaryImageConverter {
|
|
||||||
canvas: Canvas,
|
|
||||||
svg: Svg,
|
|
||||||
clusters: Clusters,
|
|
||||||
counter: usize,
|
|
||||||
mode: PathSimplifyMode,
|
|
||||||
params: BinaryImageConverterParams,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl BinaryImageConverter {
|
|
||||||
pub fn new(params: BinaryImageConverterParams) -> Self {
|
|
||||||
let canvas = Canvas::new_from_id(¶ms.canvas_id);
|
|
||||||
let svg = Svg::new_from_id(¶ms.svg_id);
|
|
||||||
Self {
|
|
||||||
canvas,
|
|
||||||
svg,
|
|
||||||
clusters: Clusters::default(),
|
|
||||||
counter: 0,
|
|
||||||
mode: util::path_simplify_mode(¶ms.mode),
|
|
||||||
params,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
impl BinaryImageConverter {
|
|
||||||
pub fn new_with_string(params: String) -> Self {
|
|
||||||
let params: BinaryImageConverterParams = serde_json::from_str(params.as_str()).unwrap();
|
|
||||||
Self::new(params)
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn init(&mut self) {
|
|
||||||
let width = self.canvas.width() as u32;
|
|
||||||
let height = self.canvas.height() as u32;
|
|
||||||
let image = self.canvas.get_image_data_as_color_image(0, 0, width, height);
|
|
||||||
let binary_image = image.to_binary_image(|x| x.r < 128);
|
|
||||||
self.clusters = binary_image.to_clusters(false);
|
|
||||||
self.canvas.log(&format!(
|
|
||||||
"clusters.len() = {}, self.clusters.rect.left = {}",
|
|
||||||
self.clusters.len(),
|
|
||||||
self.clusters.rect.left
|
|
||||||
));
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn tick(&mut self) -> bool {
|
|
||||||
if self.counter < self.clusters.len() {
|
|
||||||
self.canvas.log(&format!("tick {}", self.counter));
|
|
||||||
let cluster = self.clusters.get_cluster(self.counter);
|
|
||||||
if cluster.size() >= self.params.filter_speckle {
|
|
||||||
let paths = cluster.to_compound_path(
|
|
||||||
self.mode,
|
|
||||||
self.params.corner_threshold,
|
|
||||||
self.params.length_threshold,
|
|
||||||
self.params.max_iterations,
|
|
||||||
self.params.splice_threshold
|
|
||||||
);
|
|
||||||
let color = Color::color(&ColorName::Black);
|
|
||||||
self.svg.prepend_path(
|
|
||||||
&paths,
|
|
||||||
&color,
|
|
||||||
Some(self.params.path_precision),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
self.counter += 1;
|
|
||||||
false
|
|
||||||
} else {
|
|
||||||
self.canvas.log("done");
|
|
||||||
true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn progress(&self) -> u32 {
|
|
||||||
100 * self.counter as u32 / self.clusters.len() as u32
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
use wasm_bindgen::prelude::*;
|
|
||||||
use visioncortex::PathSimplifyMode;
|
|
||||||
use visioncortex::color_clusters::{Clusters, Runner, RunnerConfig, HIERARCHICAL_MAX, IncrementalBuilder, KeyingAction};
|
|
||||||
|
|
||||||
use crate::canvas::*;
|
|
||||||
use crate::svg::*;
|
|
||||||
|
|
||||||
use serde::Deserialize;
|
|
||||||
use super::util;
|
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
|
||||||
pub struct ColorImageConverterParams {
|
|
||||||
pub canvas_id: String,
|
|
||||||
pub svg_id: String,
|
|
||||||
pub mode: String,
|
|
||||||
pub hierarchical: String,
|
|
||||||
pub corner_threshold: f64,
|
|
||||||
pub length_threshold: f64,
|
|
||||||
pub max_iterations: usize,
|
|
||||||
pub splice_threshold: f64,
|
|
||||||
pub filter_speckle: usize,
|
|
||||||
pub color_precision: i32,
|
|
||||||
pub layer_difference: i32,
|
|
||||||
pub path_precision: u32,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
pub struct ColorImageConverter {
|
|
||||||
canvas: Canvas,
|
|
||||||
svg: Svg,
|
|
||||||
stage: Stage,
|
|
||||||
counter: usize,
|
|
||||||
mode: PathSimplifyMode,
|
|
||||||
params: ColorImageConverterParams,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub enum Stage {
|
|
||||||
New,
|
|
||||||
Clustering(IncrementalBuilder),
|
|
||||||
Reclustering(IncrementalBuilder),
|
|
||||||
Vectorize(Clusters),
|
|
||||||
}
|
|
||||||
|
|
||||||
impl ColorImageConverter {
|
|
||||||
pub fn new(params: ColorImageConverterParams) -> Self {
|
|
||||||
let canvas = Canvas::new_from_id(¶ms.canvas_id);
|
|
||||||
let svg = Svg::new_from_id(¶ms.svg_id);
|
|
||||||
Self {
|
|
||||||
canvas,
|
|
||||||
svg,
|
|
||||||
stage: Stage::New,
|
|
||||||
counter: 0,
|
|
||||||
mode: util::path_simplify_mode(¶ms.mode),
|
|
||||||
params,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
impl ColorImageConverter {
|
|
||||||
|
|
||||||
pub fn new_with_string(params: String) -> Self {
|
|
||||||
let params: ColorImageConverterParams = serde_json::from_str(params.as_str()).unwrap();
|
|
||||||
Self::new(params)
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn init(&mut self) {
|
|
||||||
let width = self.canvas.width() as u32;
|
|
||||||
let height = self.canvas.height() as u32;
|
|
||||||
let image = self.canvas.get_image_data_as_color_image(0, 0, width, height);
|
|
||||||
let runner = Runner::new(RunnerConfig {
|
|
||||||
diagonal: self.params.layer_difference == 0,
|
|
||||||
hierarchical: HIERARCHICAL_MAX,
|
|
||||||
batch_size: 25600,
|
|
||||||
good_min_area: self.params.filter_speckle,
|
|
||||||
good_max_area: (width * height) as usize,
|
|
||||||
is_same_color_a: self.params.color_precision,
|
|
||||||
is_same_color_b: 1,
|
|
||||||
deepen_diff: self.params.layer_difference,
|
|
||||||
hollow_neighbours: 1,
|
|
||||||
key_color: Default::default(),
|
|
||||||
keying_action: KeyingAction::Discard,
|
|
||||||
}, image);
|
|
||||||
self.stage = Stage::Clustering(runner.start());
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn tick(&mut self) -> bool {
|
|
||||||
match &mut self.stage {
|
|
||||||
Stage::New => {
|
|
||||||
panic!("uninitialized");
|
|
||||||
},
|
|
||||||
Stage::Clustering(builder) => {
|
|
||||||
self.canvas.log("Clustering tick");
|
|
||||||
if builder.tick() {
|
|
||||||
match self.params.hierarchical.as_str() {
|
|
||||||
"stacked" => {
|
|
||||||
self.stage = Stage::Vectorize(builder.result());
|
|
||||||
},
|
|
||||||
"cutout" => {
|
|
||||||
let clusters = builder.result();
|
|
||||||
let view = clusters.view();
|
|
||||||
let image = view.to_color_image();
|
|
||||||
let runner = Runner::new(RunnerConfig {
|
|
||||||
diagonal: false,
|
|
||||||
hierarchical: 64,
|
|
||||||
batch_size: 25600,
|
|
||||||
good_min_area: 0,
|
|
||||||
good_max_area: (image.width * image.height) as usize,
|
|
||||||
is_same_color_a: 0,
|
|
||||||
is_same_color_b: 1,
|
|
||||||
deepen_diff: 0,
|
|
||||||
hollow_neighbours: 0,
|
|
||||||
key_color: Default::default(),
|
|
||||||
keying_action: KeyingAction::Discard,
|
|
||||||
}, image);
|
|
||||||
self.stage = Stage::Reclustering(runner.start());
|
|
||||||
},
|
|
||||||
_ => panic!("unknown hierarchical `{}`", self.params.hierarchical)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
false
|
|
||||||
},
|
|
||||||
Stage::Reclustering(builder) => {
|
|
||||||
self.canvas.log("Reclustering tick");
|
|
||||||
if builder.tick() {
|
|
||||||
self.stage = Stage::Vectorize(builder.result())
|
|
||||||
}
|
|
||||||
false
|
|
||||||
},
|
|
||||||
Stage::Vectorize(clusters) => {
|
|
||||||
let view = clusters.view();
|
|
||||||
if self.counter < view.clusters_output.len() {
|
|
||||||
self.canvas.log("Vectorize tick");
|
|
||||||
let cluster = view.get_cluster(view.clusters_output[self.counter]);
|
|
||||||
let paths = cluster.to_compound_path(
|
|
||||||
&view, false, self.mode,
|
|
||||||
self.params.corner_threshold,
|
|
||||||
self.params.length_threshold,
|
|
||||||
self.params.max_iterations,
|
|
||||||
self.params.splice_threshold
|
|
||||||
);
|
|
||||||
self.svg.prepend_path(
|
|
||||||
&paths,
|
|
||||||
&cluster.residue_color(),
|
|
||||||
Some(self.params.path_precision),
|
|
||||||
);
|
|
||||||
self.counter += 1;
|
|
||||||
false
|
|
||||||
} else {
|
|
||||||
self.canvas.log("done");
|
|
||||||
true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn progress(&self) -> i32 {
|
|
||||||
(match &self.stage {
|
|
||||||
Stage::New => {
|
|
||||||
0
|
|
||||||
},
|
|
||||||
Stage::Clustering(builder) => {
|
|
||||||
builder.progress() / 2
|
|
||||||
},
|
|
||||||
Stage::Reclustering(_builder) => {
|
|
||||||
50
|
|
||||||
},
|
|
||||||
Stage::Vectorize(clusters) => {
|
|
||||||
50 + 50 * self.counter as u32 / clusters.view().clusters_output.len() as u32
|
|
||||||
}
|
|
||||||
}) as i32
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
mod binary_image;
|
|
||||||
mod color_image;
|
|
||||||
mod util;
|
|
||||||
|
|
||||||
pub use binary_image::*;
|
|
||||||
pub use color_image::*;
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
use visioncortex::PathSimplifyMode;
|
|
||||||
|
|
||||||
pub fn path_simplify_mode(s: &str) -> PathSimplifyMode {
|
|
||||||
match s {
|
|
||||||
"polygon" => PathSimplifyMode::Polygon,
|
|
||||||
"spline" => PathSimplifyMode::Spline,
|
|
||||||
"none" => PathSimplifyMode::None,
|
|
||||||
_ => panic!("unknown PathSimplifyMode {}", s),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// Copyright 2020 Tsang Hao Fung. See the COPYRIGHT
|
|
||||||
// file at the top-level directory of this distribution and at
|
|
||||||
// http://rust-lang.org/COPYRIGHT.
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
||||||
// option. This file may not be copied, modified, or distributed
|
|
||||||
// except according to those terms.
|
|
||||||
#![doc(
|
|
||||||
html_logo_url = "https://github.com/visioncortex/vtracer/raw/master/docs/images/visioncortex icon.png"
|
|
||||||
)]
|
|
||||||
use wasm_bindgen::prelude::*;
|
|
||||||
|
|
||||||
mod conversion;
|
|
||||||
mod canvas;
|
|
||||||
mod common;
|
|
||||||
mod svg;
|
|
||||||
mod utils;
|
|
||||||
|
|
||||||
#[wasm_bindgen(start)]
|
|
||||||
pub fn main() {
|
|
||||||
utils::set_panic_hook();
|
|
||||||
console_log::init().unwrap();
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
use web_sys::Element;
|
|
||||||
use visioncortex::{Color, CompoundPath, PointF64};
|
|
||||||
use super::common::document;
|
|
||||||
|
|
||||||
pub struct Svg {
|
|
||||||
element: Element,
|
|
||||||
}
|
|
||||||
|
|
||||||
impl Svg {
|
|
||||||
pub fn new_from_id(svg_id: &str) -> Self {
|
|
||||||
let element = document().get_element_by_id(svg_id).unwrap();
|
|
||||||
|
|
||||||
Self { element }
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn prepend_path(&mut self, paths: &CompoundPath, color: &Color, precision: Option<u32>) {
|
|
||||||
let path = document()
|
|
||||||
.create_element_ns(Some("http://www.w3.org/2000/svg"), "path")
|
|
||||||
.unwrap();
|
|
||||||
let (string, offset) = paths.to_svg_string(true, PointF64::default(), precision);
|
|
||||||
path.set_attribute("d", &string).unwrap();
|
|
||||||
path.set_attribute(
|
|
||||||
"transform",
|
|
||||||
format!("translate({},{})", offset.x, offset.y).as_str(),
|
|
||||||
)
|
|
||||||
.unwrap();
|
|
||||||
path.set_attribute(
|
|
||||||
"style",
|
|
||||||
format!("fill: {};", color.to_hex_string()).as_str(),
|
|
||||||
)
|
|
||||||
.unwrap();
|
|
||||||
self.element.prepend_with_node_1(&path).unwrap();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
extern crate cfg_if;
|
|
||||||
|
|
||||||
cfg_if::cfg_if! {
|
|
||||||
// When the `console_error_panic_hook` feature is enabled, we can call the
|
|
||||||
// `set_panic_hook` function to get better error messages if we ever panic.
|
|
||||||
if #[cfg(feature = "console_error_panic_hook")] {
|
|
||||||
extern crate console_error_panic_hook;
|
|
||||||
pub use self::console_error_panic_hook::set_once as set_panic_hook;
|
|
||||||
} else {
|
|
||||||
#[inline]
|
|
||||||
pub fn set_panic_hook() {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||