@jjlmoya/utils-converters 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/shared/style.css +2 -2
- package/src/tool/avifAJpg/i18n/en.ts +79 -14
- package/src/tool/avifAJpg/i18n/es.ts +79 -14
- package/src/tool/avifAJpg/i18n/fr.ts +82 -12
- package/src/tool/avifAPng/i18n/en.ts +82 -12
- package/src/tool/avifAPng/i18n/es.ts +79 -14
- package/src/tool/avifAPng/i18n/fr.ts +82 -12
- package/src/tool/avifAWebp/i18n/en.ts +82 -12
- package/src/tool/avifAWebp/i18n/es.ts +79 -14
- package/src/tool/avifAWebp/i18n/fr.ts +82 -12
- package/src/tool/bmpAJpg/i18n/en.ts +79 -14
- package/src/tool/bmpAJpg/i18n/es.ts +79 -14
- package/src/tool/bmpAJpg/i18n/fr.ts +82 -12
- package/src/tool/bmpAPng/i18n/en.ts +79 -14
- package/src/tool/bmpAPng/i18n/es.ts +79 -14
- package/src/tool/bmpAPng/i18n/fr.ts +82 -12
- package/src/tool/bmpAWebp/i18n/en.ts +82 -12
- package/src/tool/bmpAWebp/i18n/es.ts +79 -14
- package/src/tool/bmpAWebp/i18n/fr.ts +82 -12
- package/src/tool/gifAJpg/i18n/en.ts +79 -14
- package/src/tool/gifAJpg/i18n/es.ts +79 -14
- package/src/tool/gifAJpg/i18n/fr.ts +82 -12
- package/src/tool/gifAPng/i18n/en.ts +79 -14
- package/src/tool/gifAPng/i18n/es.ts +79 -14
- package/src/tool/gifAPng/i18n/fr.ts +82 -12
- package/src/tool/gifAWebp/i18n/en.ts +79 -14
- package/src/tool/gifAWebp/i18n/es.ts +79 -14
- package/src/tool/gifAWebp/i18n/fr.ts +82 -12
- package/src/tool/imagenBase64/i18n/en.ts +57 -16
- package/src/tool/imagenBase64/i18n/es.ts +57 -16
- package/src/tool/imagenBase64/i18n/fr.ts +59 -13
- package/src/tool/imagenBase64/style.css +1 -1
- package/src/tool/jpgAIco/i18n/en.ts +79 -14
- package/src/tool/jpgAIco/i18n/es.ts +79 -14
- package/src/tool/jpgAIco/i18n/fr.ts +82 -12
- package/src/tool/jpgAPng/i18n/en.ts +76 -16
- package/src/tool/jpgAPng/i18n/es.ts +76 -16
- package/src/tool/jpgAPng/i18n/fr.ts +79 -14
- package/src/tool/jpgAWebp/i18n/en.ts +82 -12
- package/src/tool/jpgAWebp/i18n/es.ts +79 -14
- package/src/tool/jpgAWebp/i18n/fr.ts +82 -12
- package/src/tool/pngAIco/i18n/en.ts +79 -14
- package/src/tool/pngAIco/i18n/es.ts +79 -14
- package/src/tool/pngAIco/i18n/fr.ts +82 -12
- package/src/tool/pngAWebp/i18n/en.ts +79 -14
- package/src/tool/pngAWebp/i18n/es.ts +76 -16
- package/src/tool/pngAWebp/i18n/fr.ts +82 -12
- package/src/tool/svgAJpg/i18n/en.ts +82 -12
- package/src/tool/svgAJpg/i18n/es.ts +79 -14
- package/src/tool/svgAJpg/i18n/fr.ts +82 -12
- package/src/tool/svgAPng/i18n/en.ts +79 -14
- package/src/tool/svgAPng/i18n/es.ts +76 -16
- package/src/tool/svgAPng/i18n/fr.ts +82 -12
- package/src/tool/webpAIco/i18n/en.ts +79 -14
- package/src/tool/webpAIco/i18n/es.ts +79 -14
- package/src/tool/webpAIco/i18n/fr.ts +82 -12
- package/src/tool/webpAJpg/i18n/en.ts +82 -12
- package/src/tool/webpAJpg/i18n/es.ts +79 -14
- package/src/tool/webpAJpg/i18n/fr.ts +82 -12
- package/src/tool/webpAPng/i18n/en.ts +79 -14
- package/src/tool/webpAPng/i18n/es.ts +76 -16
- package/src/tool/webpAPng/i18n/fr.ts +82 -12
|
@@ -65,32 +65,102 @@ const bibliography: SvgAJpgLocaleContent['bibliography'] = [
|
|
|
65
65
|
const seo: SvgAJpgLocaleContent['seo'] = [
|
|
66
66
|
{
|
|
67
67
|
type: 'title',
|
|
68
|
-
text: '
|
|
68
|
+
text: 'SVG to JPG Converter: Take Your Vectors to Any Platform',
|
|
69
|
+
level: 2,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'paragraph',
|
|
72
|
-
html:
|
|
73
|
-
|
|
73
|
+
html: 'The <strong>SVG</strong> format is the native language of the modern web: lightweight, scalable, editable. But there are entire platforms that simply don\'t understand vectors. Social media, email clients, Word documents, print applications and the vast majority of real-world software work with rasterised images. <strong>JPG</strong> is the universal common denominator: accepted everywhere, with no exceptions, no plugins and no additional conversions needed.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'title',
|
|
77
|
+
text: 'SVG vs JPG: When the Vector Needs to Become a Photo',
|
|
78
|
+
level: 3,
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
type: 'paragraph',
|
|
77
|
-
html:
|
|
78
|
-
'Converting SVG to JPG involves a rasterization process: the vector graphic is converted into a pixel grid. During this process, SVG transparencies are merged with a solid white background, since JPG does not support the alpha channel. Our converter performs this rasterization at double resolution (2x) to produce crisp JPGs suitable for any use.',
|
|
82
|
+
html: 'SVG stores the image as mathematical instructions. This vector nature makes it perfect for the web but invisible to the analogue world and legacy software. An SVG file sent by email can appear as incomprehensible XML text in the recipient\'s client. An SVG attached to a Word document may not render at all in older versions of Office.',
|
|
79
83
|
},
|
|
80
84
|
{
|
|
81
|
-
type: '
|
|
82
|
-
html:
|
|
83
|
-
|
|
85
|
+
type: 'paragraph',
|
|
86
|
+
html: 'JPG converts each image into a pixel matrix with colour information compressed by the JPEG algorithm. Since it doesn\'t support an alpha channel, the converter automatically merges the background with solid white. In return, you get a file that opens on <em>any device on the planet</em>: old mobile phones, printers, smart TVs, editing apps from twenty years ago. It\'s the lowest-common-denominator format, and in many contexts, the most valuable one.',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: 'title',
|
|
90
|
+
text: 'Comparison: Local vs Cloud Conversion',
|
|
91
|
+
level: 3,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'comparative',
|
|
95
|
+
items: [
|
|
96
|
+
{
|
|
97
|
+
title: 'Cloud Converters',
|
|
98
|
+
description: 'Tools that upload your files to a remote server.',
|
|
99
|
+
icon: 'mdi:cloud-upload',
|
|
100
|
+
pointIcon: 'mdi:close-circle-outline',
|
|
101
|
+
points: [
|
|
102
|
+
'Your SVG code (with proprietary design data) travels to external servers',
|
|
103
|
+
'Inconsistent rendering of fonts and gradients',
|
|
104
|
+
'Internet connection needed for every conversion',
|
|
105
|
+
'JPG output quality not always configurable',
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: 'Our Local Architecture',
|
|
110
|
+
description: 'Direct processing on your hardware using Vanilla JS technology.',
|
|
111
|
+
icon: 'mdi:laptop-mac',
|
|
112
|
+
highlight: true,
|
|
113
|
+
points: [
|
|
114
|
+
'Zero bytes of your SVG leave the browser',
|
|
115
|
+
'Faithful rendering using the native browser engine',
|
|
116
|
+
'2x resolution JPG for maximum sharpness',
|
|
117
|
+
'White background automatically applied per JPG standard',
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'How It Works Technically',
|
|
125
|
+
level: 3,
|
|
84
126
|
},
|
|
85
127
|
{
|
|
86
128
|
type: 'paragraph',
|
|
87
|
-
html:
|
|
88
|
-
|
|
129
|
+
html: 'The SVG file is loaded into a browser <strong>Image</strong> element, which uses its own vector rendering engine to interpret the XML. The visual result is drawn onto an <strong>HTML5 Canvas</strong> with a prior white background fill (required because JPG doesn\'t support transparency) at double scale to maximise output resolution.',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'paragraph',
|
|
133
|
+
html: 'The method <code>toDataURL(\'image/jpeg\', 0.92)</code> converts the canvas pixels into a high-quality JPG file. SVG colours may experience slight variations due to colour space conversion in JPEG compression. It is therefore advisable to preview the result before using it in professional print jobs where chromatic fidelity is critical.',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
type: 'tip',
|
|
137
|
+
title: 'Tip for print use',
|
|
138
|
+
html: 'SVG backgrounds and gradients can look slightly different in JPG due to colour profile differences in JPEG compression. Always preview the result before sending to a printer or using it in printed marketing materials where exact brand colour accuracy matters.',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'title',
|
|
142
|
+
text: 'Use Cases and Compatibility',
|
|
143
|
+
level: 3,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: 'list',
|
|
147
|
+
icon: 'mdi:check-circle',
|
|
148
|
+
items: [
|
|
149
|
+
'Sharing SVG logos and illustrations on Facebook, Twitter or LinkedIn.',
|
|
150
|
+
'Attaching vector graphics in emails via Outlook or Gmail.',
|
|
151
|
+
'Inserting SVG designs into Word documents, Excel or presentations.',
|
|
152
|
+
'Publishing product images on online shops that don\'t support SVG.',
|
|
153
|
+
'Preparing files for on-demand print services.',
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'title',
|
|
158
|
+
text: 'Conclusion',
|
|
159
|
+
level: 3,
|
|
89
160
|
},
|
|
90
161
|
{
|
|
91
162
|
type: 'paragraph',
|
|
92
|
-
html:
|
|
93
|
-
'Convert SVG to high-resolution JPG for free and privately. 2x rendering for maximum sharpness, automatic white background for full JPG compatibility.',
|
|
163
|
+
html: 'The real world still speaks in pixels. This tool translates your SVG vectors into the universal language of JPG in seconds, with high-resolution rendering and without your proprietary designs ever leaving your browser.',
|
|
94
164
|
},
|
|
95
165
|
];
|
|
96
166
|
|
|
@@ -65,37 +65,102 @@ const bibliography: SvgAJpgLocaleContent['bibliography'] = [
|
|
|
65
65
|
const seo: SvgAJpgLocaleContent['seo'] = [
|
|
66
66
|
{
|
|
67
67
|
type: 'title',
|
|
68
|
-
text: 'Convertidor SVG a JPG
|
|
68
|
+
text: 'Convertidor SVG a JPG: Lleva tus Vectores a Cualquier Plataforma',
|
|
69
|
+
level: 2,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'paragraph',
|
|
72
|
-
html:
|
|
73
|
-
|
|
73
|
+
html: 'El formato <strong>SVG</strong> es el lenguaje nativo de la web moderna: ligero, escalable, editable. Pero hay plataformas enteras que simplemente no entienden vectores. Las redes sociales, los clientes de correo electrónico, los documentos Word, las aplicaciones de impresión y la inmensa mayoría del software del mundo real trabajan con imágenes rasterizadas. El <strong>JPG</strong> es el denominador común universal: aceptado en todos partes, sin excepciones, sin necesidad de plugins ni conversiones adicionales.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'title',
|
|
77
|
+
text: 'SVG vs JPG: Cuando el Vector Necesita Convertirse en Foto',
|
|
78
|
+
level: 3,
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
type: 'paragraph',
|
|
77
|
-
html:
|
|
78
|
-
'La conversión de SVG a JPG implica un proceso de rasterización: el gráfico vectorial se convierte en una cuadrícula de píxeles. Durante este proceso, las transparencias del SVG se fusionan con un fondo blanco sólido, ya que el formato JPG no soporta el canal alfa. Nuestro convertidor realiza esta rasterización a doble resolución (2x) para producir JPGs nítidos aptos para cualquier uso.',
|
|
82
|
+
html: 'SVG almacena la imagen como instrucciones matemáticas. Esta naturaleza vectorial lo hace perfecto para la web pero invisible para el mundo analógico y el software heredado. Un archivo SVG enviado por correo electrónico puede aparecer como texto XML incomprensible en el cliente del destinatario. Un SVG adjunto a un documento Word puede no renderizarse en absoluto en versiones antiguas de Office.',
|
|
79
83
|
},
|
|
80
84
|
{
|
|
81
85
|
type: 'paragraph',
|
|
82
|
-
html:
|
|
83
|
-
'Todo el proceso ocurre en tu navegador sin necesidad de conectarse a ningún servidor. El SVG se carga en un elemento Image, se dibuja sobre un canvas HTML5 con fondo blanco a escala 2x y se exporta como JPG de alta calidad.',
|
|
86
|
+
html: 'JPG convierte cada imagen en una matriz de píxeles con información de color comprimida mediante el algoritmo JPEG. Al no admitir canal alfa, el convertidor fusiona automáticamente el fondo con blanco sólido. A cambio, obtienes un archivo que se abre en <em>cualquier dispositivo del planeta</em>: móviles antiguos, impresoras, televisores inteligentes, aplicaciones de edición de hace veinte años. Es el formato del mínimo común denominador, y en muchos contextos, el más valioso.',
|
|
84
87
|
},
|
|
85
88
|
{
|
|
86
|
-
type: '
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
type: 'title',
|
|
90
|
+
text: 'Comparativa: Conversión Local vs Nube',
|
|
91
|
+
level: 3,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'comparative',
|
|
95
|
+
items: [
|
|
96
|
+
{
|
|
97
|
+
title: 'Convertidores Cloud',
|
|
98
|
+
description: 'Herramientas que suben tus archivos a un servidor remoto.',
|
|
99
|
+
icon: 'mdi:cloud-upload',
|
|
100
|
+
pointIcon: 'mdi:close-circle-outline',
|
|
101
|
+
points: [
|
|
102
|
+
'Tu código SVG (con datos de diseño propietario) viaja a servidores externos',
|
|
103
|
+
'Renderizado inconsistente de fuentes y gradientes',
|
|
104
|
+
'Necesitas conexión a Internet para cada conversión',
|
|
105
|
+
'Calidad JPG de salida no siempre configurable',
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: 'Nuestra Arquitectura Local',
|
|
110
|
+
description: 'Procesamiento directo en tu hardware mediante tecnología Vanilla JS.',
|
|
111
|
+
icon: 'mdi:laptop-mac',
|
|
112
|
+
highlight: true,
|
|
113
|
+
points: [
|
|
114
|
+
'Cero bytes de tu SVG salen del navegador',
|
|
115
|
+
'Renderizado fiel usando el motor nativo del navegador',
|
|
116
|
+
'JPG a 2x de resolución para máxima nitidez',
|
|
117
|
+
'Fondo blanco aplicado automáticamente por el estándar JPG',
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'Cómo funciona técnicamente',
|
|
125
|
+
level: 3,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
type: 'paragraph',
|
|
129
|
+
html: 'El archivo SVG se carga en un elemento <strong>Image</strong> del navegador, que utiliza su propio motor de renderizado vectorial para interpretar el XML. El resultado visual se dibuja sobre un <strong>Canvas HTML5</strong> con fondo blanco previo (necesario porque JPG no admite transparencias) a doble escala para maximizar la resolución de salida.',
|
|
89
130
|
},
|
|
90
131
|
{
|
|
91
132
|
type: 'paragraph',
|
|
92
|
-
html:
|
|
93
|
-
|
|
133
|
+
html: 'El método <code>toDataURL(\'image/jpeg\', 0.92)</code> convierte los píxeles del canvas en un archivo JPG de alta calidad. Los colores del SVG pueden experimentar ligeras variaciones debido a la conversión del espacio de color de la compresión JPEG. Por ello es recomendable previsualizar el resultado antes de usarlo en trabajos de impresión profesional donde la fidelidad cromática es crítica.',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
type: 'tip',
|
|
137
|
+
title: 'Consejo para impresión',
|
|
138
|
+
html: 'Los fondos y degradados SVG pueden lucir ligeramente diferentes en JPG debido al perfil de color de la compresión JPEG. Previsualiza siempre el resultado antes de enviarlo a imprenta o usarlo en materiales de marketing impresos donde el color exacto de marca es importante.',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'title',
|
|
142
|
+
text: 'Casos de uso y compatibilidad',
|
|
143
|
+
level: 3,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: 'list',
|
|
147
|
+
icon: 'mdi:check-circle',
|
|
148
|
+
items: [
|
|
149
|
+
'Compartir logos e ilustraciones SVG en Facebook, Twitter o LinkedIn.',
|
|
150
|
+
'Adjuntar gráficos vectoriales en correos electrónicos con Outlook o Gmail.',
|
|
151
|
+
'Insertar diseños SVG en documentos Word, Excel o presentaciones.',
|
|
152
|
+
'Publicar imágenes de producto en tiendas online que no soportan SVG.',
|
|
153
|
+
'Preparar archivos para servicios de impresión bajo demanda.',
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'title',
|
|
158
|
+
text: 'Conclusión',
|
|
159
|
+
level: 3,
|
|
94
160
|
},
|
|
95
161
|
{
|
|
96
162
|
type: 'paragraph',
|
|
97
|
-
html:
|
|
98
|
-
'Convierte SVG a JPG de alta resolución de forma gratuita y privada. Renderizado 2x para máxima nitidez, fondo blanco automático para compatibilidad total con JPG.',
|
|
163
|
+
html: 'El mundo real todavía habla en píxeles. Esta herramienta traduce tus vectores SVG al lenguaje universal del JPG en segundos, con renderizado de alta resolución y sin que tus diseños propietarios abandonen jamás tu navegador.',
|
|
99
164
|
},
|
|
100
165
|
];
|
|
101
166
|
|
|
@@ -65,32 +65,102 @@ const bibliography: SvgAJpgLocaleContent['bibliography'] = [
|
|
|
65
65
|
const seo: SvgAJpgLocaleContent['seo'] = [
|
|
66
66
|
{
|
|
67
67
|
type: 'title',
|
|
68
|
-
text: 'Convertisseur SVG vers JPG
|
|
68
|
+
text: 'Convertisseur SVG vers JPG : Emmenez vos Vecteurs sur Toutes les Plateformes',
|
|
69
|
+
level: 2,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'paragraph',
|
|
72
|
-
html:
|
|
73
|
-
|
|
73
|
+
html: 'Le format <strong>SVG</strong> est le langage natif du web moderne : léger, évolutif, éditable. Mais il existe des plateformes entières qui ne comprennent tout simplement pas les vecteurs. Les réseaux sociaux, les clients de messagerie, les documents Word, les applications d\'impression et la grande majorité des logiciels du monde réel fonctionnent avec des images rastérisées. Le <strong>JPG</strong> est le plus petit dénominateur commun universel : accepté partout, sans exception, sans plugins ni conversions supplémentaires.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'title',
|
|
77
|
+
text: 'SVG vs JPG : Quand le Vecteur Doit Devenir une Photo',
|
|
78
|
+
level: 3,
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
type: 'paragraph',
|
|
77
|
-
html:
|
|
78
|
-
'La conversion SVG en JPG implique un processus de rastérisation : le graphique vectoriel est converti en grille de pixels. Pendant ce processus, les transparences SVG sont fusionnées avec un fond blanc solide, car le JPG ne supporte pas le canal alpha. Notre convertisseur effectue cette rastérisation à double résolution (2x).',
|
|
82
|
+
html: 'SVG stocke l\'image sous forme d\'instructions mathématiques. Cette nature vectorielle le rend parfait pour le web mais invisible pour le monde analogique et les logiciels hérités. Un fichier SVG envoyé par e-mail peut apparaître comme du texte XML incompréhensible dans le client du destinataire. Un SVG joint à un document Word peut ne pas se rendre du tout dans les anciennes versions d\'Office.',
|
|
79
83
|
},
|
|
80
84
|
{
|
|
81
|
-
type: '
|
|
82
|
-
html:
|
|
83
|
-
|
|
85
|
+
type: 'paragraph',
|
|
86
|
+
html: 'JPG convertit chaque image en matrice de pixels avec des informations de couleur compressées par l\'algorithme JPEG. Ne supportant pas le canal alpha, le convertisseur fusionne automatiquement le fond avec du blanc solide. En échange, vous obtenez un fichier qui s\'ouvre sur <em>n\'importe quel appareil de la planète</em> : vieux téléphones, imprimantes, téléviseurs intelligents, applications d\'édition vieilles de vingt ans. C\'est le format du plus petit dénominateur commun, et dans bien des contextes, le plus précieux.',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: 'title',
|
|
90
|
+
text: 'Comparatif : Conversion Locale vs Cloud',
|
|
91
|
+
level: 3,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'comparative',
|
|
95
|
+
items: [
|
|
96
|
+
{
|
|
97
|
+
title: 'Convertisseurs Cloud',
|
|
98
|
+
description: 'Outils qui téléchargent vos fichiers vers un serveur distant.',
|
|
99
|
+
icon: 'mdi:cloud-upload',
|
|
100
|
+
pointIcon: 'mdi:close-circle-outline',
|
|
101
|
+
points: [
|
|
102
|
+
'Votre code SVG (avec données de design propriétaires) transite vers des serveurs externes',
|
|
103
|
+
'Rendu inconsistant des polices et dégradés',
|
|
104
|
+
'Connexion Internet requise pour chaque conversion',
|
|
105
|
+
'Qualité JPG de sortie pas toujours configurable',
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: 'Notre Architecture Locale',
|
|
110
|
+
description: 'Traitement direct sur votre matériel via la technologie Vanilla JS.',
|
|
111
|
+
icon: 'mdi:laptop-mac',
|
|
112
|
+
highlight: true,
|
|
113
|
+
points: [
|
|
114
|
+
'Zéro octet de votre SVG ne quitte le navigateur',
|
|
115
|
+
'Rendu fidèle via le moteur natif du navigateur',
|
|
116
|
+
'JPG en résolution 2x pour une netteté maximale',
|
|
117
|
+
'Fond blanc appliqué automatiquement selon le standard JPG',
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'Comment ça fonctionne techniquement',
|
|
125
|
+
level: 3,
|
|
84
126
|
},
|
|
85
127
|
{
|
|
86
128
|
type: 'paragraph',
|
|
87
|
-
html:
|
|
88
|
-
|
|
129
|
+
html: 'Le fichier SVG est chargé dans un élément <strong>Image</strong> du navigateur, qui utilise son propre moteur de rendu vectoriel pour interpréter le XML. Le résultat visuel est dessiné sur un <strong>Canvas HTML5</strong> avec un fond blanc préalable (requis car JPG ne supporte pas la transparence) à double échelle pour maximiser la résolution de sortie.',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'paragraph',
|
|
133
|
+
html: 'La méthode <code>toDataURL(\'image/jpeg\', 0.92)</code> convertit les pixels du canvas en un fichier JPG de haute qualité. Les couleurs SVG peuvent subir de légères variations dues à la conversion de l\'espace colorimétrique lors de la compression JPEG. Il est donc recommandé de prévisualiser le résultat avant de l\'utiliser dans des travaux d\'impression professionnels où la fidélité chromatique est critique.',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
type: 'tip',
|
|
137
|
+
title: 'Conseil pour l\'impression',
|
|
138
|
+
html: 'Les fonds et dégradés SVG peuvent sembler légèrement différents en JPG en raison du profil colorimétrique de la compression JPEG. Prévisualisez toujours le résultat avant de l\'envoyer à l\'imprimeur ou de l\'utiliser dans des supports marketing imprimés où la couleur exacte de la marque est importante.',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'title',
|
|
142
|
+
text: 'Cas d\'usage et compatibilité',
|
|
143
|
+
level: 3,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: 'list',
|
|
147
|
+
icon: 'mdi:check-circle',
|
|
148
|
+
items: [
|
|
149
|
+
'Partager des logos et illustrations SVG sur Facebook, Twitter ou LinkedIn.',
|
|
150
|
+
'Joindre des graphiques vectoriels dans des e-mails via Outlook ou Gmail.',
|
|
151
|
+
'Insérer des designs SVG dans des documents Word, Excel ou présentations.',
|
|
152
|
+
'Publier des images de produits sur des boutiques en ligne qui ne supportent pas le SVG.',
|
|
153
|
+
'Préparer des fichiers pour les services d\'impression à la demande.',
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'title',
|
|
158
|
+
text: 'Conclusion',
|
|
159
|
+
level: 3,
|
|
89
160
|
},
|
|
90
161
|
{
|
|
91
162
|
type: 'paragraph',
|
|
92
|
-
html:
|
|
93
|
-
'Convertissez SVG en JPG haute résolution gratuitement et en toute confidentialité. Rendu 2x pour une netteté maximale, fond blanc automatique pour une compatibilité JPG totale.',
|
|
163
|
+
html: 'Le monde réel parle encore en pixels. Cet outil traduit vos vecteurs SVG dans le langage universel du JPG en quelques secondes, avec un rendu haute résolution et sans que vos designs propriétaires ne quittent jamais votre navigateur.',
|
|
94
164
|
},
|
|
95
165
|
];
|
|
96
166
|
|
|
@@ -65,37 +65,102 @@ const bibliography: SvgAPngLocaleContent['bibliography'] = [
|
|
|
65
65
|
const seo: SvgAPngLocaleContent['seo'] = [
|
|
66
66
|
{
|
|
67
67
|
type: 'title',
|
|
68
|
-
text: '
|
|
68
|
+
text: 'SVG to PNG Converter: From Infinite Vector to Universal Raster',
|
|
69
|
+
level: 2,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'paragraph',
|
|
72
|
-
html:
|
|
73
|
-
|
|
73
|
+
html: '<strong>SVG</strong> (Scalable Vector Graphics) is the perfect choice for web design: infinitely scalable, lightweight and editable with any code editor. But when you need to use that logo or icon in a mobile app, share it on social media or insert it into a PowerPoint presentation, you hit a wall: most of these platforms don\'t support SVG. The <strong>PNG</strong> format is the universal solution: rasterised, with an alpha channel, and compatible in absolutely every context.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'title',
|
|
77
|
+
text: 'SVG vs PNG: Vectors for the Web, Raster for the World',
|
|
78
|
+
level: 3,
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
type: 'paragraph',
|
|
77
|
-
html:
|
|
78
|
-
'Converting SVG to PNG is the solution when you need a rasterized version of your vector graphic. The resulting PNG is universally compatible and, thanks to its alpha channel support, preserves all transparencies from the original SVG. Our converter renders the SVG at double resolution (2x) to ensure the PNG is crisp even on high-density screens like Retina or 4K.',
|
|
82
|
+
html: 'SVG stores the image as mathematical instructions: a Bézier curve, a gradient, a polygon. This means the same file looks perfect at 16px or 16,000px. It is the ideal format for your web code, CSS animations and any element that needs to adapt to different screen resolutions without any quality loss.',
|
|
79
83
|
},
|
|
80
84
|
{
|
|
81
|
-
type: '
|
|
82
|
-
html:
|
|
83
|
-
|
|
85
|
+
type: 'paragraph',
|
|
86
|
+
html: 'PNG stores the image as a pixel grid with colour and transparency information for each pixel. It is a <strong>lossless</strong> format, meaning quality is preserved entirely. Once an SVG is rasterised to PNG, the resolution is fixed. That\'s why choosing the right export size is critical: our tool renders at double scale (2x) to ensure sharpness on Retina and 4K screens.',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: 'title',
|
|
90
|
+
text: 'Comparison: Local vs Cloud Conversion',
|
|
91
|
+
level: 3,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'comparative',
|
|
95
|
+
items: [
|
|
96
|
+
{
|
|
97
|
+
title: 'Cloud Converters',
|
|
98
|
+
description: 'Tools that upload your files to a remote server.',
|
|
99
|
+
icon: 'mdi:cloud-upload',
|
|
100
|
+
pointIcon: 'mdi:close-circle-outline',
|
|
101
|
+
points: [
|
|
102
|
+
'Your SVG code travels to external servers',
|
|
103
|
+
'Remote rendering with inconsistent quality',
|
|
104
|
+
'Waiting time for upload and processing',
|
|
105
|
+
'Limitations on SVG file size',
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: 'Our Local Architecture',
|
|
110
|
+
description: 'Direct processing on your hardware using Vanilla JS technology.',
|
|
111
|
+
icon: 'mdi:laptop-mac',
|
|
112
|
+
highlight: true,
|
|
113
|
+
points: [
|
|
114
|
+
'Your SVG never leaves your browser',
|
|
115
|
+
'Native browser engine rendering for maximum fidelity',
|
|
116
|
+
'2x resolution PNG for high-density screens',
|
|
117
|
+
'Transparency preserved with full alpha channel',
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'How It Works Technically',
|
|
125
|
+
level: 3,
|
|
84
126
|
},
|
|
85
127
|
{
|
|
86
128
|
type: 'paragraph',
|
|
87
|
-
html:
|
|
88
|
-
'SVG files are infinitely scalable, but a PNG at 2x resolution from a 256x256 SVG will produce a 512x512 pixel image, suitable for most uses on modern high-density screens.',
|
|
129
|
+
html: 'The process begins by loading the SVG file into a JavaScript <strong>Image</strong> element. Once the browser engine has parsed and rendered the vector XML, the resulting image is drawn onto an <strong>HTML5 Canvas</strong> whose dimensions are double the original SVG size (2x scale). This produces a PNG with twice the pixels per dimension, ideal for high-resolution screens.',
|
|
89
130
|
},
|
|
90
131
|
{
|
|
91
132
|
type: 'paragraph',
|
|
92
|
-
html:
|
|
93
|
-
|
|
133
|
+
html: 'Unlike conversion to JPG, when exporting to PNG the canvas retains the full alpha channel: transparent areas in the original SVG become fully transparent pixels in the resulting PNG — no white background fill. The export uses the <code>toDataURL(\'image/png\')</code> method with lossless compression.',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
type: 'tip',
|
|
137
|
+
title: 'Tip before rasterising',
|
|
138
|
+
html: 'Choose your PNG export size carefully — rasterising an SVG is a one-way process: you cannot recover the vectors from the resulting PNG. Always keep the original SVG as the master source, and generate PNGs at the highest resolution you may ever need.',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'title',
|
|
142
|
+
text: 'Use Cases and Compatibility',
|
|
143
|
+
level: 3,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: 'list',
|
|
147
|
+
icon: 'mdi:check-circle',
|
|
148
|
+
items: [
|
|
149
|
+
'Exporting vector logos for PowerPoint or Google Slides presentations.',
|
|
150
|
+
'Creating PNG icons for iOS, Android or Progressive Web Apps.',
|
|
151
|
+
'Sharing SVG designs on Instagram, LinkedIn or other social media.',
|
|
152
|
+
'Inserting vector illustrations into Word documents or PDFs.',
|
|
153
|
+
'Generating PNG thumbnails of SVG graphics for CMS preview.',
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'title',
|
|
158
|
+
text: 'Conclusion',
|
|
159
|
+
level: 3,
|
|
94
160
|
},
|
|
95
161
|
{
|
|
96
162
|
type: 'paragraph',
|
|
97
|
-
html:
|
|
98
|
-
'Convert SVG to HD PNG for free, privately and with transparency preservation. Rendered at double scale for Retina and 4K screens.',
|
|
163
|
+
html: 'SVG is the language of vectors; PNG is the passport to the rest of the digital world. This tool rasterises your SVGs at 2x resolution with transparency intact, directly in your browser, without a single byte of your design travelling to any external server.',
|
|
99
164
|
},
|
|
100
165
|
];
|
|
101
166
|
|
|
@@ -65,42 +65,102 @@ const bibliography: SvgAPngLocaleContent['bibliography'] = [
|
|
|
65
65
|
const seo: SvgAPngLocaleContent['seo'] = [
|
|
66
66
|
{
|
|
67
67
|
type: 'title',
|
|
68
|
-
text: 'Convertidor SVG a PNG
|
|
68
|
+
text: 'Convertidor SVG a PNG: Del Vector Infinito al Raster Universal',
|
|
69
|
+
level: 2,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'paragraph',
|
|
72
|
-
html:
|
|
73
|
-
|
|
73
|
+
html: '<strong>SVG</strong> (Scalable Vector Graphics) es la elección perfecta para el diseño web: escalable al infinito, ligero y editable con cualquier editor de código. Pero cuando necesitas usar ese logo o icono en una aplicación móvil, compartirlo en redes sociales o insertarlo en una presentación de PowerPoint, te topas con una barrera: la mayoría de estas plataformas no soportan SVG. El formato <strong>PNG</strong> es la solución universal: rasterizado, con canal alfa y compatible en absolutamente todos los contextos.',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'title',
|
|
77
|
+
text: 'SVG vs PNG: Vectores para la Web, Raster para el Mundo',
|
|
78
|
+
level: 3,
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
type: 'paragraph',
|
|
77
|
-
html:
|
|
78
|
-
'Convertir SVG a PNG es la solución cuando necesitas una versión rasterizada de tu gráfico vectorial. El PNG resultante es universalmente compatible y, gracias a su soporte para canal alfa, preserva todas las transparencias que tuviera el SVG original. Nuestro convertidor renderiza el SVG a doble resolución (2x) para garantizar que el PNG sea nítido incluso en pantallas de alta densidad como Retina o 4K.',
|
|
82
|
+
html: 'SVG almacena la imagen como instrucciones matemáticas: una curva de Bézier, un gradiente, un polígono. Esto significa que el mismo archivo luce perfectamente a 16px o a 16.000px. Es el formato ideal para el código de tu web, para animaciones CSS y para cualquier elemento que necesite adaptarse a diferentes resoluciones de pantalla sin pérdida de calidad.',
|
|
79
83
|
},
|
|
80
84
|
{
|
|
81
85
|
type: 'paragraph',
|
|
82
|
-
html:
|
|
83
|
-
'El proceso de conversión utiliza el elemento Image nativo del navegador para cargar el SVG, lo dibuja sobre un Canvas HTML5 a escala 2x y exporta el resultado como PNG. Todo esto ocurre localmente en tu dispositivo sin ninguna comunicación con servidores externos.',
|
|
86
|
+
html: 'PNG almacena la imagen como una cuadrícula de píxeles con información de color y transparencia para cada uno. Es un formato <strong>sin pérdida</strong>, lo que significa que la calidad se preserva íntegramente. Una vez que un SVG se rasteriza a PNG, la resolución queda fijada. Por eso es crucial elegir bien el tamaño de exportación: nuestra herramienta renderiza a doble escala (2x) para garantizar nitidez en pantallas Retina y 4K.',
|
|
84
87
|
},
|
|
85
88
|
{
|
|
86
|
-
type: '
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
type: 'title',
|
|
90
|
+
text: 'Comparativa: Conversión Local vs Nube',
|
|
91
|
+
level: 3,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'comparative',
|
|
95
|
+
items: [
|
|
96
|
+
{
|
|
97
|
+
title: 'Convertidores Cloud',
|
|
98
|
+
description: 'Herramientas que suben tus archivos a un servidor remoto.',
|
|
99
|
+
icon: 'mdi:cloud-upload',
|
|
100
|
+
pointIcon: 'mdi:close-circle-outline',
|
|
101
|
+
points: [
|
|
102
|
+
'Tu código SVG viaja a servidores externos',
|
|
103
|
+
'Renderizado remoto con calidad inconsistente',
|
|
104
|
+
'Tiempo de espera por subida y procesamiento',
|
|
105
|
+
'Limitaciones en el tamaño de archivo SVG',
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
title: 'Nuestra Arquitectura Local',
|
|
110
|
+
description: 'Procesamiento directo en tu hardware mediante tecnología Vanilla JS.',
|
|
111
|
+
icon: 'mdi:laptop-mac',
|
|
112
|
+
highlight: true,
|
|
113
|
+
points: [
|
|
114
|
+
'Tu SVG nunca abandona tu navegador',
|
|
115
|
+
'Renderizado nativo del motor del navegador, máxima fidelidad',
|
|
116
|
+
'PNG a 2x de resolución para pantallas de alta densidad',
|
|
117
|
+
'Transparencias preservadas con canal alfa completo',
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'title',
|
|
124
|
+
text: 'Cómo funciona técnicamente',
|
|
125
|
+
level: 3,
|
|
89
126
|
},
|
|
90
127
|
{
|
|
91
128
|
type: 'paragraph',
|
|
92
|
-
html:
|
|
93
|
-
'Los archivos SVG son escalables infinitamente, pero un PNG a 2x resolución de un SVG de 256x256 producirá una imagen de 512x512 píxeles, apta para la mayoría de los usos en pantallas modernas de alta densidad.',
|
|
129
|
+
html: 'El proceso comienza cargando el archivo SVG en un elemento <strong>Image</strong> de JavaScript. Una vez que el motor del navegador ha parseado y renderizado el XML vectorial, la imagen resultante se dibuja sobre un <strong>Canvas HTML5</strong> cuyas dimensiones son el doble del tamaño original del SVG (escala 2x). Esto produce un PNG con el doble de píxeles por dimensión, ideal para pantallas de alta resolución.',
|
|
94
130
|
},
|
|
95
131
|
{
|
|
96
132
|
type: 'paragraph',
|
|
97
|
-
html:
|
|
98
|
-
|
|
133
|
+
html: 'A diferencia de la conversión a JPG, al exportar a PNG el canvas retiene el canal alfa completo: las zonas transparentes del SVG original se convierten en píxeles totalmente transparentes en el PNG resultante. No hay relleno de fondo blanco. La exportación usa el método <code>toDataURL(\'image/png\')</code> con compresión sin pérdida.',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
type: 'tip',
|
|
137
|
+
title: 'Consejo antes de rasterizar',
|
|
138
|
+
html: 'Elige bien el tamaño de exportación PNG porque la rasterización es un proceso de un solo sentido: no podrás recuperar los vectores desde el PNG resultante. Guarda siempre el SVG original como fuente maestra y genera los PNG a la resolución más alta que puedas necesitar.',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'title',
|
|
142
|
+
text: 'Casos de uso y compatibilidad',
|
|
143
|
+
level: 3,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: 'list',
|
|
147
|
+
icon: 'mdi:check-circle',
|
|
148
|
+
items: [
|
|
149
|
+
'Exportar logos vectoriales para presentaciones PowerPoint o Google Slides.',
|
|
150
|
+
'Crear iconos PNG para aplicaciones iOS, Android o Progressive Web Apps.',
|
|
151
|
+
'Compartir diseños SVG en Instagram, LinkedIn u otras redes sociales.',
|
|
152
|
+
'Insertar ilustraciones vectoriales en documentos Word o PDF.',
|
|
153
|
+
'Generar miniaturas PNG de gráficos SVG para previsualización en CMS.',
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'title',
|
|
158
|
+
text: 'Conclusión',
|
|
159
|
+
level: 3,
|
|
99
160
|
},
|
|
100
161
|
{
|
|
101
162
|
type: 'paragraph',
|
|
102
|
-
html:
|
|
103
|
-
'Convierte SVG a PNG HD de forma gratuita, privada y con preservación de transparencias. Renderizado a doble escala para pantallas Retina y 4K.',
|
|
163
|
+
html: 'SVG es el lenguaje de los vectores; PNG es el pasaporte al resto del mundo digital. Esta herramienta rasteriza tus SVG a resolución 2x con transparencias intactas, directamente en tu navegador, sin que ningún byte de tu diseño viaje a ningún servidor externo.',
|
|
104
164
|
},
|
|
105
165
|
];
|
|
106
166
|
|