Converti HTML in SVG
Acquisisci una pagina web come grafica SVG scalabile con CutyCapt oppure con un browser e Inkscape.
Converti i file HTML online
Non abbiamo ancora un convertitore online dedicato per HTML in SVG, ma puoi convertire i file HTML online in questi e altri formati:
Vuoi convertire HTML in SVG?
Faccelo sapere. Scegliamo le prossime conversioni da aggiungere in base all'interesse.
Come convertire html in svg file
- Grafica
- Ancora nessuna valutazione.
Un editor di grafica o un sistema di impaginazione può accettare immagini vettoriali, ma non una pagina HTML. Il rendering della pagina in SVG produce un’immagine scalabile, ma non ne conserva le funzionalità interattive del web.
Cos'è HTML
HTML è un linguaggio di markup per strutturare le pagine web, spesso formattate con CSS e rese interattive con JavaScript. Gli sviluppatori web, i sistemi di gestione dei contenuti e i website builder creano file HTML; le pagine possono anche dipendere da font, immagini, fogli di stile o script esterni.
Cos'è SVG
SVG è un formato basato su XML per la grafica vettoriale. I tracciati, le forme e il testo possono essere ridimensionati senza apparire pixelati e molti elementi possono essere modificati con un software di grafica vettoriale. SVG è usato comunemente per loghi, diagrammi e illustrazioni. Le fotografie e le altre immagini raster restano basate su pixel anche quando sono incluse in un file SVG.
Come convertire una pagina HTML in SVG
Per acquisire direttamente la pagina offline, usa CutyCapt, un renderer WebKit da riga di comando che può creare file SVG. Apri un terminale nella cartella che contiene la pagina ed esegui:
CutyCapt --url="file:///absolute/path/page.html" --out="page.svg" --min-width=1200 --min-height=1600
Sostituisci l'URL del file e le dimensioni con il percorso della pagina e le dimensioni desiderate della finestra di rendering. Su Windows, usa un URL come file:///C:/folder/page.html. Mantieni gli elementi multimediali locali nelle cartelle previste. Aggiungi --delay=1000 se la pagina ha bisogno di tempo per caricarsi del tutto prima dell'acquisizione. CutyCapt usa il motore Qt WebKit, ormai datato: controlla il rendering di CSS e JavaScript moderni confrontandolo con quello di un browser aggiornato.
Per le pagine che CutyCapt non visualizza correttamente, usa una versione aggiornata di Firefox o Chrome e Inkscape:
- Apri il file HTML nel browser e verifica che font, immagini e stili vengano caricati.
- Stampa in PDF usando Print → Save to PDF oppure Print → Microsoft Print to PDF. Imposta il formato e l'orientamento della pagina, attiva la grafica di sfondo se necessario e disattiva intestazioni e piè di pagina del browser.
- Apri il PDF in Inkscape con File → Open, scegli la pagina e le opzioni di importazione del testo, quindi usa File → Save As e seleziona
Plain SVGoInkscape SVG. - Controlla il file SVG in un browser o in un editor vettoriale per individuare ritagli, testo fuori posizione e immagini mancanti.
Qualità e compatibilità
Entrambi i metodi acquisiscono una pagina renderizzata, anziché convertirne la struttura HTML. Link, moduli, script, animazioni e comportamento responsive non vengono mantenuti. Il risultato dipende dalla finestra di rendering o dalle dimensioni della pagina PDF, dalle impostazioni di stampa del browser, dalle risorse caricate e dai font disponibili; i contenuti fuori dall'area acquisita potrebbero essere tagliati. Testo e forme possono restare oggetti vettoriali, mentre le immagini raster restano tali. SVG può incorporare HTML usando foreignObject, ma il supporto varia tra visualizzatori ed editor, quindi non è un metodo affidabile per conservare una pagina web completa.
Confronto formato: HTML vs SVG
Come i formati HTML e SVG si confrontano sulle proprietà più importanti per questa conversione.
| Proprietà | .HTML HyperText Markup Language | .SVG Scalable Vector Graphics |
|---|---|---|
| Standard aperto | Sì | Sì |
| Compressione | Non compresso | Non compresso |
| Dimensione tipica del file | Piccolo | Piccolo |
| Si apre in un browser web | Sì, nativamente | Sì, nativamente |
| Modifica successiva | Facile | Facile |
| Supporto metadata | Base | Estesa |
| Leggibile come testo semplice | Sì | Sì |
| Ideale per | Pubblicazione web | Grafica e illustrazioni |
| Introdotto | 1993 | 1999 |
| Sviluppatore | W3C / WHATWG | W3C |
| Tipo MIME | text/html | image/svg+xml |
Le informazioni su estensioni e tipi di file sono fornite da File-Extensions.org
Software e collegamenti suggeriti: convertitori da html a svg
Altre conversioni di file .html
- html in apk
- html in sb3
- html in exe
- html in vcf
- html in docx
- html in mp3
- html in text
- html in txt
- html in epub
- html in jpeg
- html in 9xy
- html in aac
- html in accdb
- html in accde
- html in adoc
- html in adr
- html in android
- html in apkg
- html in app
- html in asp
- html in aspx
- html in azw3
- html in bat
- html in bmp
- html in cfm
- html in css
- html in csv
- html in db
- html in dbk
- html in dex
- html in doc
- html in docbook
- html in docm
- html in dxi
- html in emf
- html in exc
- html in excel
- html in fb2
- html in fdf
- html in fodt
- html in ftl
- html in gif
- html in htm
- html in html5
- html in htmlz
- html in hwp
- html in ics
- html in idd
- html in idml
- html in ind
- html in indd
- html in java
- html in jpg
- html in js
- html in json
- html in jsp
- html in lqm
- html in lua
- html in m4a
- html in man
- html in md
- html in mdb
- html in mediawiki
- html in mht
- html in mm
- html in mobi
- html in mp4
- html in ods
- html in odt
- html in ogg
- html in opml
- html in org
- html in ott
- html in oxps
- html in pages
- html in pdf
- html in php
- html in phtml
- html in png
- html in ppt
- html in prc
- html in py
- html in ris
- html in rst
- html in rtf
- html in shtml
- html in snb
- html in sol
- html in sql
- html in stm
- html in sty
- html in swf
- html in tex
- html in textile
- html in tif
- html in tiff
- html in typ
- html in v2y
- html in vb
- html in vbs
- html in vcard
- html in wav
- html in webp
- html in word
- html in wpd
- html in wps
- html in wri
- html in wss
- html in xhtml
- html in xl
- html in xls
- html in xlsx
- html in xml
- html in xps
- html in xsl
- html in yaml
Conversione inversa
Conversione in .svg
da altri formati
- jpg in svg
- png in svg
- cdr in svg
- gif in svg
- docx in svg
- tiff in svg
- fh in svg
- ttc in svg
- ait in svg
- bmp in svg
- afdesign in svg
- ai in svg
- al8 in svg
- ani in svg
- art in svg
- blend in svg
- ccx in svg
- cdt in svg
- cdx in svg
- cgm in svg
- clgx in svg
- cmx in svg
- dat in svg
- dcr in svg
- dcx in svg
- dds in svg
- des in svg
- draw in svg
- drw in svg
- dsf in svg
- dxf in svg
- edx in svg
- emf in svg
- emz in svg
- epf in svg
- epi in svg
- eps in svg
- fcstd in svg
- fh10 in svg
- fh11 in svg
- fh3 in svg
- fh5 in svg
- fh6 in svg
- fh7 in svg
- fh8 in svg
- fh9 in svg
- fla in svg
- fmv in svg
- fxg in svg
- gdraw in svg
- ged in svg
- gedcom in svg
- ggb in svg
- glb in svg
- gml in svg
- gslides in svg
- hgl in svg
- hpg in svg
- hpgl in svg
- htm in svg
- icm in svg
- icns in svg
- ico in svg
- icon in svg
- idea in svg
- idml in svg
- idraw in svg
- ifc in svg
- iges in svg
- ind in svg
- indd in svg
- indt in svg
- inf in svg
- jdm in svg
- jnb in svg
- jpeg in svg
- m3d in svg
- met in svg
- odg in svg
- pat in svg
- pct in svg
- pdf in svg
- pdn in svg
- plt in svg
- ps in svg
- psd in svg
- psp in svg
- pub in svg
- pxd in svg
- pxz in svg
- scut in svg
- scut2 in svg
- scut3 in svg
- sda in svg
- sketch in svg
- skp in svg
- svgz in svg
- swf in svg
- tif in svg
- vectornator in svg
- vssx in svg
- vsx in svg
- webp in svg
- wmf in svg
- wpc in svg
- wpg in svg
- xaml in svg
- xcf in svg
- ygf in svg
- yuv in svg
- zmf in svg