convert pngs & gifs to webps

This commit is contained in:
2025-08-30 12:12:17 +02:00
parent b6fecb1046
commit 1241c76acd
101 changed files with 27 additions and 27 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 951 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 873 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 925 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,7 +1,7 @@
flutter_launcher_icons:
generate: true
android: "launcher_icon"
image_path: "assets/images/logos/colored_logo.png"
image_path: "assets/images/logos/colored_logo.webp"
adaptive_icon_monochrome: "assets/images/logos/monochrome_logo.png"
adaptive_icon_background: "assets/images/logos/colored_logo_without_mustache.png"
adaptive_icon_foreground: "assets/images/logos/colored_logo_only_mustache.png"

View File

@@ -16,7 +16,7 @@ Future<void> pickProfilePicture(
var dataDir = await getApplicationDocumentsDirectory();
var bytes = encodePng(resized);
await File(p.join(dataDir.path, "profile.png")).writeAsBytes(bytes);
await File(p.join(dataDir.path, "profile.webp")).writeAsBytes(bytes);
data.profilePicture = bytes;
}

View File

@@ -176,7 +176,7 @@ Future<AppInitialization> initializeApp() async {
}
final dataDir = await getApplicationDocumentsDirectory();
var pfpFile = File(p.join(dataDir.path, "profile.png"));
var pfpFile = File(p.join(dataDir.path, "profile.webp"));
if (await pfpFile.exists()) {
init.profilePicture = await pfpFile.readAsBytes();

View File

@@ -49,14 +49,14 @@ class _LoginScreenState extends State<LoginScreen> {
final firkaBundle = FirkaBundle();
await precacheAssets(firkaBundle, [
"assets/images/carousel/slide1.png",
"assets/images/carousel/slide1_background.gif",
"assets/images/carousel/slide2.png",
"assets/images/carousel/slide2_background.gif",
"assets/images/carousel/slide3.png",
"assets/images/carousel/slide3_foreground.gif",
"assets/images/carousel/slide4.png",
"assets/images/carousel/slide4_background.gif"
"assets/images/carousel/slide1.webp",
"assets/images/carousel/slide1_background.webp",
"assets/images/carousel/slide2.webp",
"assets/images/carousel/slide2_background.webp",
"assets/images/carousel/slide3.webp",
"assets/images/carousel/slide3_foreground.webp",
"assets/images/carousel/slide4.webp",
"assets/images/carousel/slide4_background.webp"
]);
setState(() {
@@ -79,8 +79,8 @@ class _LoginScreenState extends State<LoginScreen> {
{
'title': widget.data.l10n.title1,
'subtitle': widget.data.l10n.subtitle1,
'picture': 'assets/images/carousel/slide1.png',
'background': 'assets/images/carousel/slide1_background.gif',
'picture': 'assets/images/carousel/slide1.webp',
'background': 'assets/images/carousel/slide1_background.webp',
'foreground': '',
'rotation': 180.00,
// „Mi nekünk két szám típusunk van, int (egy 32 bites szám) meg a double (egy 64 bites tört szám), KURVA ANYÁDAT”
@@ -91,8 +91,8 @@ class _LoginScreenState extends State<LoginScreen> {
{
'title': widget.data.l10n.title2,
'subtitle': widget.data.l10n.subtitle2,
'picture': 'assets/images/carousel/slide2.png',
'background': 'assets/images/carousel/slide2_background.gif',
'picture': 'assets/images/carousel/slide2.webp',
'background': 'assets/images/carousel/slide2_background.webp',
'foreground': '',
'rotation': 180.00,
//Mivel radiáns, és nullával nem lehet osztani (remélem tudtad), ezért ha eggyel osztunk akkor egy marad
@@ -103,9 +103,9 @@ class _LoginScreenState extends State<LoginScreen> {
{
'title': widget.data.l10n.title3,
'subtitle': widget.data.l10n.subtitle3,
'picture': 'assets/images/carousel/slide3.png',
'picture': 'assets/images/carousel/slide3.webp',
'background': '',
'foreground': 'assets/images/carousel/slide3_foreground.gif',
'foreground': 'assets/images/carousel/slide3_foreground.webp',
'rotation': 180.0,
'scale': 0.8,
'x': 0.00,
@@ -114,8 +114,8 @@ class _LoginScreenState extends State<LoginScreen> {
{
'title': widget.data.l10n.title4,
'subtitle': widget.data.l10n.subtitle4,
'picture': 'assets/images/carousel/slide4.png',
'background': 'assets/images/carousel/slide4_background.gif',
'picture': 'assets/images/carousel/slide4.webp',
'background': 'assets/images/carousel/slide4_background.webp',
'foreground': '',
'rotation': 180.00,
'scale': 1.35,
@@ -147,7 +147,7 @@ class _LoginScreenState extends State<LoginScreen> {
image: DecorationImage(
image: CacheMemoryImageProvider(
DefaultAssetBundle.of(context),
'assets/images/logos/colored_logo.png'),
'assets/images/logos/colored_logo.webp'),
fit: BoxFit.cover,
),
shape: RoundedRectangleBorder(

View File

@@ -234,7 +234,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
widgets.add(Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/background.png'),
image: AssetImage('assets/images/background.webp'),
fit: BoxFit.cover),
borderRadius: BorderRadius.all(Radius.circular(16)),
),
@@ -249,7 +249,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
borderRadius:
const BorderRadius.all(Radius.circular(16.0)),
child: Image.asset(
"assets/images/icons/$activeIcon.png",
"assets/images/icons/$activeIcon.webp",
width: 74,
height: 74,
),
@@ -304,7 +304,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
borderRadius:
const BorderRadius.all(Radius.circular(12.0)),
child: Image.asset(
"assets/images/icons/$icon.png",
"assets/images/icons/$icon.webp",
width: 48,
height: 48,
),
@@ -315,7 +315,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
borderRadius:
const BorderRadius.all(Radius.circular(16.0)),
child: Image.asset(
"assets/images/icons/$icon.png",
"assets/images/icons/$icon.webp",
width: 54,
height: 54,
),

View File

@@ -130,7 +130,7 @@ class _WearLoginScreenState extends State<WearLoginScreen> {
decoration: ShapeDecoration(
image: const DecorationImage(
image: AssetImage(
'assets/images/logos/colored_logo.png'),
'assets/images/logos/colored_logo.webp'),
fit: BoxFit.cover,
),
shape: RoundedRectangleBorder(

Some files were not shown because too many files have changed in this diff Show More