SVG ファイルをアップロードするか、コードを貼り付けるだけで、元の形状を最適化および簡素化して追加のオクテットまたは Ko を獲得するための多くのツールが利用できます。
複雑なSVGには非常に価値がありますが、SVGが有名なアイコンサプライヤーなどから入手したものであれば、既に改善されているため、あまり改善されないことに注意してください。
また、疑わしいSVGを検査する際にも役立ちます。なぜなら、SVGには形状や色以外のあらゆるものが含まれている可能性があるからです。
SVG ファイルをアップロードするか、コードを貼り付けるだけで、元の形状を最適化および簡素化して追加のオクテットまたは Ko を獲得するための多くのツールが利用できます。
複雑なSVGには非常に価値がありますが、SVGが有名なアイコンサプライヤーなどから入手したものであれば、既に改善されているため、あまり改善されないことに注意してください。
また、疑わしいSVGを検査する際にも役立ちます。なぜなら、SVGには形状や色以外のあらゆるものが含まれている可能性があるからです。
| Online SVG Optimizer (SVGOMG) | Adobe Illustrator SVG export | Scour | SVGO CLI |
|---|---|---|---|
| 技術的根拠: The page is a graphical front end to SVGO and states that it is powered by SVGO v4.0.0. About 50 toggles cover metadata, comments, hidden elements, number rounding, path merging and style minification. | 技術的根拠: Illustrator writes SVG from the artwork and offers export options, among them a Minify option that generates code with minimal IDs, indents, lines and spaces. It does not run a post-processing plugin chain comparable to SVGO. | 技術的根拠: A Python optimizer that cleans and shortens SVG. It offers fewer switches than SVGO and the latest PyPI release listed is 0.38.2 of November 2020. | 技術的根拠: A Node.js library and command line tool with a plugin architecture, a default preset, and a configuration file (svgo.config.mjs). It is the engine behind the online page. |
| 入力と出力: You open a file or paste markup, change options, and compare the original with the result. Settings include Prettify markup, Compare gzipped, Multipass, and number and transform precision. | 入力と出力: Output is produced from the open document through File > Export > SVG, either per artboard or for a selection. Adobe advises against reopening the exported SVG in Illustrator for edits and recommends editing the original .ai file. | 入力と出力: Input and output are files: scour -i input.svg -o output.svg. A .svgz extension on the output gives a compressed file. | 入力と出力: Takes single files, lists of files or whole folders (recursive option), and writes to named outputs. |
| Control and repeatability: Settings are set by hand in the page and suit one file at a time. There is a reset-all button to return to defaults. | Control and repeatability: Choices are made in the SVG Options dialog at each export, tied to the artwork workflow. | Control and repeatability: Flags can be repeated in scripts and applied to batches of files. | Control and repeatability: A configuration file lets a team keep identical settings, and individual plugins of the default preset can be enabled, disabled or modified. |
| Security handling: The page offers a toggle to remove scripts. This helps to inspect a file from an unknown source, but it is an optimization setting and not a dedicated sanitizer. | Security handling: Illustrator does not claim to clean third-party SVG files for security, since it exports your own artwork. | Security handling: The documentation checked does not describe script removal, so do not count on it for security. | Security handling: A removeScripts plugin deletes script elements and event attributes such as onload and onclick, and collapses anchor elements. The plugin documentation warns that it breaks interactive SVG that depends on JavaScript. |
| ライセンスと費用: Free web page, MIT licence for the source code. The page does not state a privacy policy or whether files stay in the browser. | ライセンスと費用: Needs an Adobe subscription. The Illustrator single-app plan is a paid subscription on an annual plan billed monthly, as listed on the Adobe plans page. | ライセンスと費用: Free, Apache License 2.0. | ライセンスと費用: Free, MIT licence. |
| いつ選択すべきか: Choose it to tune a single complex SVG and see the effect on size immediately. Gains are small on files that an icon supplier has already optimized. | いつ選択すべきか: Choose it when the SVG is created in Illustrator and a cleaner export is enough. | いつ選択すべきか: Choose it for a Python-based pipeline with simple needs. | いつ選択すべきか: Choose it for build automation and repeatable team settings in a Node.js project. |
取り上げるトピック: SVG、最適化、簡素化、ファイルサイズ、オクテット、Ko、複雑なSVG、アイコンサプライヤー、検査、疑わしいSVG、形状、色、Webグラフィックス、ベクターグラフィックス、パフォーマンス、効率、セキュリティ、ISO/IEC 29500、ISO 32000、SVG 11、ISO/IEC 14496-22、およびW3C SVG。
プライバシー: このツールおよび開発者に関する潜在的な問題点についてのフィードバックは今のところありません。しかし、多くのオンラインサービスと同様に、あなたはここで自身のデータを提供しています。データの重要度に応じて、開発者の評判や悪用の可能性を評価し、利用規約を確認して同意するかどうかは、あなたの責任となります。
フルサイズの画像とダウンロードは、登録会員のみが100%無料で利用できます。
> ログイン <