lbohen Posted October 24, 2022 Share Posted October 24, 2022 I reduced the size of an image on my homepage, to speed up loading, from 1920 px X 1021 px to 848 px X 451 px using Affinity Photo's Document Resize feature. Although the resulting reduced size image loads much faster, it is blurry when rendered on the front-end of my website. I've attached the original 1920 X 1021 image and the reduced size 848 X 451 image. How do I reduce the size of an image without it getting blurry? Quote Link to comment Share on other sites More sharing options...
Pšenda Posted October 24, 2022 Share Posted October 24, 2022 1 hour ago, lbohen said: How do I reduce the size of an image without it getting blurry? I think that this is ruled out in principle - reducing the resolution always leads to a loss of detail and thus to a loss of sharpness. If you want to keep the sharpness of the images while reducing them (file size), keep the original resolution and try to increase the compression ratio (JPEG quality). Although there will be a reduction in image quality, it may not be as critical/intrusive as when reducing the resolution - and at the same time it may have a greater effect on the file size. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
lbohen Posted October 24, 2022 Author Share Posted October 24, 2022 2 minutes ago, Pšenda said: I think that this is ruled out in principle - reducing the resolution always leads to a loss of detail and thus to a loss of sharpness. If you want to keep the sharpness of the images while reducing them (file size), keep the original resolution and try to increase the compression ratio (JPEG quality). Although there will be a reduction in image quality, it may not be as critical/intrusive as when reducing the resolution - and at the same time it may have a greater effect on the file size. As far as I know, I was not reducing the resolution of the original PNG image. It was 72dpi to begin with. I simply made the image dimensions smaller. Quote Link to comment Share on other sites More sharing options...
v_kyr Posted October 24, 2022 Share Posted October 24, 2022 Any image resizing (scale down/up) always benits from some afterwards applied slightly (re)sharpening! ashf 1 Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
JimmyJack Posted October 24, 2022 Share Posted October 24, 2022 @lbohen While it's true that any substantial reduction in pixel size will result in degradation, a different resample method will help loads. Looks like you've used Bilinear resampling. Try Bicubic or the two Lanczos formats. Personally I think Lanczos Separable is the best. And, use can also resize using one of those and then add an Unsharp mask filter if you want more (or something in-between). Lanczos Sep & non Sep: Quote Link to comment Share on other sites More sharing options...
ashf Posted October 24, 2022 Share Posted October 24, 2022 Use the Unsharp Mask. it's the best way. Quote Link to comment Share on other sites More sharing options...
Sigurt Posted October 24, 2022 Share Posted October 24, 2022 Ich habe mich auch mit dem Thema beschäftigt, meine Einstellungen die ich für meine Webseiten Bilder benutze sind wie folgt. Bildgröße reduzieren: Lanczos 3(trennbar) Speicherformat JPEG (Höchste Qualität. Ich reduziere meine Bilder von 5184x3456px nach 1200x800px. Die Bilder sehen bei mir noch sehr gut aus. lbohen 1 Quote Link to comment Share on other sites More sharing options...
lbohen Posted October 24, 2022 Author Share Posted October 24, 2022 1 hour ago, Sigurt said: Ich habe mich auch mit dem Thema beschäftigt, meine Einstellungen die ich für meine Webseiten Bilder benutze sind wie folgt. Bildgröße reduzieren: Lanczos 3(trennbar) Speicherformat JPEG (Höchste Qualität. Ich reduziere meine Bilder von 5184x3456px nach 1200x800px. Die Bilder sehen bei mir noch sehr gut aus. English please. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted October 24, 2022 Share Posted October 24, 2022 6 minutes ago, lbohen said: English please. You will find that in this forum, users communicate in many languages, and that is both allowed and encouraged by Serif. It's probably best to accept it, and to become familiar with some web-based translation services, such as: https://translate.google.com https://translate.yandex.com/ https://www.deepl.com/translator lbohen 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
Pšenda Posted October 24, 2022 Share Posted October 24, 2022 5 hours ago, lbohen said: As far as I know, I was not reducing the resolution of the original PNG image. https://en.wikipedia.org/wiki/Image_resolution User_783649 1 Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
Pšenda Posted October 24, 2022 Share Posted October 24, 2022 (edited) 7 hours ago, lbohen said: to speed up loading For your interest - an image with the same resolution (i.e. 1920 x 1021 px), but saved as a JPEG, i.e. with a smaller file size (7x) and therefore with a significantly faster download. Your original: Compressed JPEG: By optimizing the parameters (degree of compression vs image quality vs file size) plus possible sharpening, you can get the desired result, i.e. a small file without a noticeable reduction in quality. P.S. In your case, reducing the image size only halved the file size, from 767904 Byte to 361511 Byte (compress JPEG is 111069 Byte). Edited October 24, 2022 by Pšenda User_783649 and Stanley 2 Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.