tomayac/SVGcode
소개
컬러 비트맵 이미지를 컬러 SVG 벡터 이미지로 변환합니다.
디자인 및 미디어측정된 스타 증가
- in 24h
- +2
- in 7 days
- +3
- in 15 days
- +6
- in 1 month
- +12
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSVGcode: A PWA to Convert Raster Images to SVG Vector Graphics
SVGcode is a Progressive Web App that lets you convert raster images like JPG, PNG, GIF, WebP, AVIF, etc. to vector graphics in SVG format. It uses the File System Access API, the Async Clipboard API, the File Handling API, and Window Controls Overlay customization. The app is available at SVGco.de. See what I did there? For more background, read the accompanying article or watch the video.
Access from the Web or install from a store
Apart from using the Web app at svgco.de, you can also install SVGcode from the
[Microsoft Store](https://www.microsoft.com/en-us/p/svgcode/9plhxdgsw1rj#activetab=pivot:overviewtab)on Windows.
Developing and/or contributing
- Fork this repository.
- Clone from your fork:
git clone [email protected]:<your-github-account>/SVGcode.git - Navigate into the application's directory:
cd SVGcode - Install the dependencies:
npm i - Start the application:
npm start - Open the application in your browser:
http://localhost:3000 - Check out the available Issues or create a new Issue describing your plans.
- Start hacking. Vite automatically reloads the app upon changes.
- Lint your modifications:
npm run lint - Make sure your changes respect the code style:
npm run fix - Open a Pull Request that fixes the Issue (see 7. above).
- Have fun, and thanks for your interest in SVGcode!
Contributing translations
If SVGcode is not available in your language, consider contributing a
translation. Therefore, make a copy of one of the files in
src/i18n/ (most
users will probably be most familiar with
en-US.js)
and translate the strings. Name the new file according to
Tags for Identifying Languages
($language-$REGION like en-US). Then add the language code to the
SUPPORTED_LANGUAGES array in
src/js/i18n.js
and the locale to SUPPORTED_LOCALES array in the
same file. Danke!
Acknowledgements
With SVGcode, I just stand on the shoulders of a command line tool called Potrace by Peter Selinger that I have converted to Web Assembly, so it can be used in a Web app. The converted SVGs are automatically optimized via the amazing svgo library.
Bragging zone
Alternatives
Projects listed here must be Web-based, free to use with the option to save the SVG, open source, and not require the user to log in:
- VTracer (source code)
- Image to SVG (based on imagetracerjs)
License
GNU General Public License v2.0
(This is due to Potrace choosing GNU General Public License v2.0.)
관련 프로젝트 살펴보기
불러오는 중…