@jjlmoya/utils-converters 1.18.0 → 1.19.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 +2 -2
- package/src/tests/seo_parity.test.ts +60 -0
- package/src/tool/pngAJpg/i18n/de.ts +40 -40
- package/src/tool/pngAJpg/i18n/en.ts +99 -32
- package/src/tool/pngAJpg/i18n/fr.ts +95 -22
- package/src/tool/pngAJpg/i18n/id.ts +40 -40
- package/src/tool/pngAJpg/i18n/it.ts +40 -40
- package/src/tool/pngAJpg/i18n/ja.ts +80 -84
- package/src/tool/pngAJpg/i18n/ko.ts +80 -84
- package/src/tool/pngAJpg/i18n/nl.ts +40 -40
- package/src/tool/pngAJpg/i18n/pl.ts +40 -40
- package/src/tool/pngAJpg/i18n/pt.ts +40 -40
- package/src/tool/pngAJpg/i18n/ru.ts +80 -84
- package/src/tool/pngAJpg/i18n/sv.ts +40 -40
- package/src/tool/pngAJpg/i18n/tr.ts +40 -40
- package/src/tool/pngAJpg/i18n/zh.ts +80 -84
|
@@ -21,24 +21,24 @@ const ui: ImageConverterUI = {
|
|
|
21
21
|
|
|
22
22
|
const faq: PngAJpgLocaleContent['faq'] = [
|
|
23
23
|
{
|
|
24
|
-
question: '
|
|
24
|
+
question: '¿Por qué elegir nuestro convertidor local de PNG a JPG?',
|
|
25
25
|
answer:
|
|
26
|
-
'
|
|
26
|
+
'A diferencia de las herramientas convencionales, nuestra utilidad procesa los archivos íntegramente en tu navegador. Tus imágenes nunca tocan un disco duro ajeno, garantizando la total soberanía y privacidad de tus datos.',
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
question: 'JPG
|
|
29
|
+
question: '¿JPG o PNG? ¿Cuál es mejor para mi caso?',
|
|
30
30
|
answer:
|
|
31
|
-
'PNG
|
|
31
|
+
'El PNG es ideal para logotipos y elementos con transparencia. Sin embargo, el JPG es el estándar de oro para fotografías y banners web, ya que logra pesos mucho más reducidos, mejorando drásticamente la velocidad de carga de un sitio.',
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
question: '
|
|
34
|
+
question: '¿Cómo funciona la conversión técnica sin subir nada?',
|
|
35
35
|
answer:
|
|
36
|
-
'
|
|
36
|
+
'Utilizamos la potencia del Canvas de HTML5. El navegador recrea la imagen en un lienzo virtual invisible, rellena las transparencias con blanco y genera un flujo de bytes que descargas directamente al instante.',
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
question: '
|
|
39
|
+
question: '¿Es seguro para documentos confidenciales?',
|
|
40
40
|
answer:
|
|
41
|
-
'
|
|
41
|
+
'Sí, es la opción más segura para profesionales de la banca, salud o derecho. Al ser una "caja negra" que solo usa tu RAM, lo que pasa dentro muere al cerrar la pestaña, evitando filtraciones en nubes de terceros.',
|
|
42
42
|
},
|
|
43
43
|
];
|
|
44
44
|
|
|
@@ -60,110 +60,110 @@ const howTo: PngAJpgLocaleContent['howTo'] = [
|
|
|
60
60
|
const seo: PngAJpgLocaleContent['seo'] = [
|
|
61
61
|
{
|
|
62
62
|
type: 'title',
|
|
63
|
-
text: 'PNG
|
|
63
|
+
text: 'Convertidor de PNG a JPG: La Guía Definitiva para la Optimización de Imágenes',
|
|
64
64
|
level: 2,
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
type: 'paragraph',
|
|
68
|
-
html: '
|
|
68
|
+
html: 'En el mundo del diseño digital y el desarrollo web, la eficiencia lo es todo. El formato PNG (Portable Network Graphics) es amado por su capacidad de mantener transparencias y su compresión sin pérdida, pero tiene un gran enemigo: el peso del archivo. Cuando necesitas que tu sitio web vuele o que tus emails carguen instantáneamente, el paso de PNG a JPG es la decisión técnica más inteligente.',
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
type: 'title',
|
|
72
|
-
text: 'JPG
|
|
72
|
+
text: '¿JPG o PNG?',
|
|
73
73
|
level: 3,
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
type: 'paragraph',
|
|
77
|
-
html: '
|
|
77
|
+
html: 'No existe un formato mejor que otro, sino una herramienta para cada necesidad. El PNG es un formato sin pérdida, ideal para maquetas de interfaces, logotipos con texto pequeño y elementos visuales que requieren un fondo transparente. Sin embargo, esta fidelidad tiene un coste: archivos que pueden ser 5 o 10 veces más pesados que su equivalente comprimido.',
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
type: 'paragraph',
|
|
81
|
-
html: '
|
|
81
|
+
html: 'El JPG (Joint Photographic Experts Group), por otro lado, utiliza algoritmos de discretización para eliminar información que el ojo humano apenas percibe, logrando pesos pluma. Es el estándar de oro para fotografías, banners publicitarios y redes sociales. Al convertir tus PNG a JPG, estás traduciendo fidelidad geométrica por velocidad de red.',
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
type: 'title',
|
|
85
|
-
text: '
|
|
85
|
+
text: 'Comparativa de Arquitectura: Local vs Nube',
|
|
86
86
|
level: 3,
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
type: 'comparative',
|
|
90
90
|
items: [
|
|
91
91
|
{
|
|
92
|
-
title: '
|
|
93
|
-
description: '
|
|
92
|
+
title: 'Convertidores Cloud',
|
|
93
|
+
description: 'Herramientas tradicionales que suben tus fotos a un servidor remoto.',
|
|
94
94
|
icon: 'mdi:cloud-upload',
|
|
95
95
|
pointIcon: 'mdi:close-circle-outline',
|
|
96
96
|
points: [
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
97
|
+
'Latencia de red (Upload/Download)',
|
|
98
|
+
'Riesgo de filtración de datos privados',
|
|
99
|
+
'Límites de tamaño por archivo',
|
|
100
|
+
'Publicidad y rastreadores',
|
|
101
101
|
],
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
title: '
|
|
105
|
-
description: '
|
|
104
|
+
title: 'Nuestra Arquitectura Local',
|
|
105
|
+
description: 'Procesamiento directo en tu hardware mediante tecnología Vanilla JS.',
|
|
106
106
|
icon: 'mdi:laptop-mac',
|
|
107
107
|
highlight: true,
|
|
108
108
|
points: [
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
109
|
+
'Velocidad instantánea sin red',
|
|
110
|
+
'Privacidad garantizada (0 bytes enviados)',
|
|
111
|
+
'Sin límites de MB por archivo',
|
|
112
|
+
'Interfaz profesional y limpia',
|
|
113
113
|
],
|
|
114
114
|
},
|
|
115
115
|
],
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
type: 'title',
|
|
119
|
-
text: '
|
|
119
|
+
text: 'Cómo funciona la conversión técnica',
|
|
120
120
|
level: 3,
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
type: 'paragraph',
|
|
124
|
-
html: '
|
|
124
|
+
html: 'Probablemente te preguntes cómo es posible convertir una imagen sin enviarla a un servidor. La magia reside en la potencia de los navegadores modernos. Cuando seleccionas un archivo, generamos un Blob que solo existe en tu RAM. Ese Blob se dibuja en un elemento HTML5 Canvas invisible.',
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
type: 'paragraph',
|
|
128
|
-
html: 'JPG
|
|
128
|
+
html: 'Dado que el JPG no soporta transparencias, nuestro algoritmo rellena el fondo con un color blanco sólido antes de "pintar" el PNG encima. Una vez compuesta la imagen, ejecutamos el método de exportación nativo, generando un flujo de bytes que tu ordenador descarga directamente.',
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
type: 'tip',
|
|
132
|
-
title: 'SEO
|
|
133
|
-
html: 'Google
|
|
132
|
+
title: 'Consejo SEO: El Peso Ideal',
|
|
133
|
+
html: 'Google penaliza activamente los sitios web lentos. Si tu Largest Contentful Paint (LCP) es alto por culpa de un PNG de cabecera de 2MB, convertirlo a un JPG de 200KB puede mejorar tus métricas de PageSpeed instantáneamente sin diferencias visuales.',
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
type: 'title',
|
|
137
|
-
text: '
|
|
137
|
+
text: 'Seguridad para Empresas y Profesionales',
|
|
138
138
|
level: 3,
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'paragraph',
|
|
142
|
-
html: '
|
|
142
|
+
html: 'Si trabajas en sectores sensibles como la banca, la salud o el derecho, subir archivos a conversores online es una violación de seguridad. Nuestra herramienta funciona como una "caja negra": lo que pasa dentro se queda en tu RAM. Es la única forma segura de trabajar con documentos confidenciales.',
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
type: 'title',
|
|
146
|
-
text: '
|
|
146
|
+
text: 'Compatibilidad del Resultado',
|
|
147
147
|
level: 3,
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
type: 'list',
|
|
151
151
|
icon: 'mdi:check-circle',
|
|
152
152
|
items: [
|
|
153
|
-
'Windows, macOS
|
|
154
|
-
'
|
|
155
|
-
'
|
|
156
|
-
'
|
|
153
|
+
'Visores de Windows, macOS y dispositivos móviles.',
|
|
154
|
+
'Redes sociales (Instagram, LinkedIn, etc).',
|
|
155
|
+
'Herramientas de ofimática (Word, PowerPoint).',
|
|
156
|
+
'Gestores de contenido (WordPress, Shopify).',
|
|
157
157
|
],
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
type: 'title',
|
|
161
|
-
text: '
|
|
161
|
+
text: 'Conclusión: Optimiza como un Pro',
|
|
162
162
|
level: 3,
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
type: 'paragraph',
|
|
166
|
-
html: '
|
|
166
|
+
html: 'Este convertidor no es solo una página más; es una pieza de ingeniería diseñada para facilitarte la vida. Ya seas un desarrollador o un usuario doméstico, aquí tienes la solución definitiva para ahorrar megabytes y mantener tus datos a salvo.',
|
|
167
167
|
},
|
|
168
168
|
];
|
|
169
169
|
|
|
@@ -21,25 +21,21 @@ const ui: ImageConverterUI = {
|
|
|
21
21
|
|
|
22
22
|
const faq: PngAJpgLocaleContent['faq'] = [
|
|
23
23
|
{
|
|
24
|
-
question:
|
|
25
|
-
answer:
|
|
26
|
-
'与传统工具不同,我们的实用程序完全在您的浏览器中处理文件。您的图像永远不会触及他人的硬盘,保证了您数据的完全主权和隐私。',
|
|
24
|
+
"question": "为什么选择我们的本地 PNG 转 JPG 转换器?",
|
|
25
|
+
"answer": "与普通的在线转换工具不同,我们的程序完全在您的浏览器内部处理图片。您的文件绝不会上传到第三方服务器,保证绝对的数据隐私。"
|
|
27
26
|
},
|
|
28
27
|
{
|
|
29
|
-
question:
|
|
30
|
-
answer:
|
|
31
|
-
'PNG 是具有透明度要求的徽标和元素的理想选择。然而,JPG 是摄影和网页横幅的黄金标准,因为它能达到更小的文件体积,从而显著提高网站的加载速度。',
|
|
28
|
+
"question": "JPG 与 PNG:哪种格式更适合您?",
|
|
29
|
+
"answer": "PNG 非常适合包含透明背景的标志和图标。JPG 具有更高的压缩率,文件体积更小,非常适合网页照片和广告横幅。"
|
|
32
30
|
},
|
|
33
31
|
{
|
|
34
|
-
question:
|
|
35
|
-
answer:
|
|
36
|
-
'我们利用 HTML5 Canvas 的强大功能。浏览器在一个不可见的虚拟画布上重建图像,用白色填充透明部分,并生成可以直接立即下载的字节流。',
|
|
32
|
+
"question": "无需上传的本地转换是如何实现的?",
|
|
33
|
+
"answer": "我们使用了 HTML5 Canvas 技术。浏览器在后台的虚拟画布上绘制 PNG 图片,将透明区域填充为纯白背景,并直接生成 JPG 字节流。"
|
|
37
34
|
},
|
|
38
35
|
{
|
|
39
|
-
question:
|
|
40
|
-
answer:
|
|
41
|
-
|
|
42
|
-
},
|
|
36
|
+
"question": "处理商业机密或敏感文件安全吗?",
|
|
37
|
+
"answer": "非常安全。所有数据仅储存在您的浏览器内存中,关闭标签页后临时数据将立刻完全销毁。"
|
|
38
|
+
}
|
|
43
39
|
];
|
|
44
40
|
|
|
45
41
|
const howTo: PngAJpgLocaleContent['howTo'] = [
|
|
@@ -59,112 +55,112 @@ const howTo: PngAJpgLocaleContent['howTo'] = [
|
|
|
59
55
|
|
|
60
56
|
const seo: PngAJpgLocaleContent['seo'] = [
|
|
61
57
|
{
|
|
62
|
-
type:
|
|
63
|
-
text:
|
|
64
|
-
level: 2
|
|
58
|
+
"type": "title",
|
|
59
|
+
"text": "PNG转JPG在线转换器:图像优化指南",
|
|
60
|
+
"level": 2
|
|
65
61
|
},
|
|
66
62
|
{
|
|
67
|
-
type:
|
|
68
|
-
html:
|
|
63
|
+
"type": "paragraph",
|
|
64
|
+
"html": "在浏览器中直接将PNG图片转换为JPG格式,无需上传服务器,保护隐私并提高网站加载速度。"
|
|
69
65
|
},
|
|
70
66
|
{
|
|
71
|
-
type:
|
|
72
|
-
text:
|
|
73
|
-
level: 3
|
|
67
|
+
"type": "title",
|
|
68
|
+
"text": "JPG 与 PNG 对比",
|
|
69
|
+
"level": 3
|
|
74
70
|
},
|
|
75
71
|
{
|
|
76
|
-
type:
|
|
77
|
-
html:
|
|
72
|
+
"type": "paragraph",
|
|
73
|
+
"html": "PNG支持透明背景但体积较大;JPG压缩率高且体积小,非常适合网页图片和照片。"
|
|
78
74
|
},
|
|
79
75
|
{
|
|
80
|
-
type:
|
|
81
|
-
html:
|
|
76
|
+
"type": "paragraph",
|
|
77
|
+
"html": "转换为JPG可以在保持良好视觉质量的同时大幅减少文件大小。"
|
|
82
78
|
},
|
|
83
79
|
{
|
|
84
|
-
type:
|
|
85
|
-
text:
|
|
86
|
-
level: 3
|
|
80
|
+
"type": "title",
|
|
81
|
+
"text": "本地处理与云端转换对比",
|
|
82
|
+
"level": 3
|
|
87
83
|
},
|
|
88
84
|
{
|
|
89
|
-
type:
|
|
90
|
-
items: [
|
|
85
|
+
"type": "comparative",
|
|
86
|
+
"items": [
|
|
91
87
|
{
|
|
92
|
-
title:
|
|
93
|
-
description:
|
|
94
|
-
icon:
|
|
95
|
-
pointIcon:
|
|
96
|
-
points: [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
]
|
|
88
|
+
"title": "云端转换工具",
|
|
89
|
+
"description": "需要将图片上传到远程服务器。",
|
|
90
|
+
"icon": "mdi:cloud-upload",
|
|
91
|
+
"pointIcon": "mdi:close-circle-outline",
|
|
92
|
+
"points": [
|
|
93
|
+
"网络传输延迟",
|
|
94
|
+
"隐私泄露风险",
|
|
95
|
+
"文件大小限制",
|
|
96
|
+
"广告弹窗"
|
|
97
|
+
]
|
|
102
98
|
},
|
|
103
99
|
{
|
|
104
|
-
title:
|
|
105
|
-
description:
|
|
106
|
-
icon:
|
|
107
|
-
highlight: true,
|
|
108
|
-
points: [
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
]
|
|
100
|
+
"title": "本地转换架构",
|
|
101
|
+
"description": "基于HTML5 Canvas技术的本地直接处理。",
|
|
102
|
+
"icon": "mdi:laptop-mac",
|
|
103
|
+
"highlight": true,
|
|
104
|
+
"points": [
|
|
105
|
+
"秒级极速转换",
|
|
106
|
+
"绝对隐私安全(0字节上传)",
|
|
107
|
+
"无文件大小限制",
|
|
108
|
+
"界面简洁"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
]
|
|
116
112
|
},
|
|
117
113
|
{
|
|
118
|
-
type:
|
|
119
|
-
text:
|
|
120
|
-
level: 3
|
|
114
|
+
"type": "title",
|
|
115
|
+
"text": "本地转换技术原理",
|
|
116
|
+
"level": 3
|
|
121
117
|
},
|
|
122
118
|
{
|
|
123
|
-
type:
|
|
124
|
-
html:
|
|
119
|
+
"type": "paragraph",
|
|
120
|
+
"html": "利用浏览器原生的Canvas API,在内存中渲染图像并自动充填白色背景后导出JPG字节流。"
|
|
125
121
|
},
|
|
126
122
|
{
|
|
127
|
-
type:
|
|
128
|
-
html:
|
|
123
|
+
"type": "paragraph",
|
|
124
|
+
"html": "透明区域将自动替换为纯白背景,完美适配JPG标准。"
|
|
129
125
|
},
|
|
130
126
|
{
|
|
131
|
-
type:
|
|
132
|
-
title:
|
|
133
|
-
html:
|
|
127
|
+
"type": "tip",
|
|
128
|
+
"title": "SEO 优化建议",
|
|
129
|
+
"html": "压缩网页图片体积可显著改善 PageSpeed 指标和用户体验。"
|
|
134
130
|
},
|
|
135
131
|
{
|
|
136
|
-
type:
|
|
137
|
-
text:
|
|
138
|
-
level: 3
|
|
132
|
+
"type": "title",
|
|
133
|
+
"text": "企业级数据安全",
|
|
134
|
+
"level": 3
|
|
139
135
|
},
|
|
140
136
|
{
|
|
141
|
-
type:
|
|
142
|
-
html:
|
|
137
|
+
"type": "paragraph",
|
|
138
|
+
"html": "处理敏感文件更安全,关闭标签页后所有临时内存数据即刻销毁。"
|
|
143
139
|
},
|
|
144
140
|
{
|
|
145
|
-
type:
|
|
146
|
-
text:
|
|
147
|
-
level: 3
|
|
141
|
+
"type": "title",
|
|
142
|
+
"text": "兼容性说明",
|
|
143
|
+
"level": 3
|
|
148
144
|
},
|
|
149
145
|
{
|
|
150
|
-
type:
|
|
151
|
-
icon:
|
|
152
|
-
items: [
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
]
|
|
146
|
+
"type": "list",
|
|
147
|
+
"icon": "mdi:check-circle",
|
|
148
|
+
"items": [
|
|
149
|
+
"主流操作系统与移动设备",
|
|
150
|
+
"社交媒体平台",
|
|
151
|
+
"办公软件",
|
|
152
|
+
"CMS建站系统"
|
|
153
|
+
]
|
|
158
154
|
},
|
|
159
155
|
{
|
|
160
|
-
type:
|
|
161
|
-
text:
|
|
162
|
-
level: 3
|
|
156
|
+
"type": "title",
|
|
157
|
+
"text": "总结",
|
|
158
|
+
"level": 3
|
|
163
159
|
},
|
|
164
160
|
{
|
|
165
|
-
type:
|
|
166
|
-
html:
|
|
167
|
-
}
|
|
161
|
+
"type": "paragraph",
|
|
162
|
+
"html": "兼具高速与安全的专业图像处理工具。"
|
|
163
|
+
}
|
|
168
164
|
];
|
|
169
165
|
|
|
170
166
|
|