From 260afb9c9dcf156875f732f9b93795fbf6b2c84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Wed, 26 Jul 2023 17:54:15 +0200 Subject: [PATCH] Add display for the new Old Image Formats rule --- front/src/views/rule.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/front/src/views/rule.html b/front/src/views/rule.html index 3fc4c25..3d9d576 100644 --- a/front/src/views/rule.html +++ b/front/src/views/rule.html @@ -339,6 +339,23 @@

{{rule.value | bytes}} could be saved on +
+

{{rule.value | bytes}} could be saved on

+
+
+
+ Current file: +
+
+
+

Current weight as a {{image.originalFormat}}:
{{image.originalWeigth | bytes}}

+

Converted to WebP:
{{image.webpSize | bytes}} (-{{image.webpGain | bytes}})

+

Converted to AVIF:
{{image.avifSize | bytes}} (-{{image.avifGain | bytes}})

+
+
+
+
+

{{rule.value | bytes}} could be saved on