Closed uwe-schwarz closed 1 year ago
Maybe related. How do I use the Sharp library for generating thumbnails? I am on OSX.
Sharp library was preselected for me, never changed it. I started using Publii somewhere around 0.40, maybe 0.39.
@uwe-schwarz - so after regenerating thumbnails you still have JPGs? BTW please make sure that you mean responsive thumbnails with prefixes like -xs
, -xl
etc. Because the original images remains untouched.
@j0el - you can change it under app settings https://getpublii.com/docs/publii-global-settings.html - it is located under "three dots" menu in the right upper corner.
@dziudek
WebP:
% file dog-box.jpg responsive/*
dog-box.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, progressive, precision 8, 5315x3567, components 3
responsive/dog-box-l.webp: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=6, orientation=upper-left, xresolution=86, yresolution=94, resolutionunit=2], baseline, precision 8, 1400x940, components 3
responsive/dog-box-m.webp: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=6, orientation=upper-left, xresolution=86, yresolution=94, resolutionunit=2], baseline, precision 8, 700x470, components 3
responsive/dog-box-s.webp: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=6, orientation=upper-left, xresolution=86, yresolution=94, resolutionunit=2], baseline, precision 8, 350x235, components 3
JPEG:
% file dog-box.jpg responsive/*
dog-box.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, progressive, precision 8, 5315x3567, components 3
responsive/dog-box-l.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=6, orientation=upper-left, xresolution=86, yresolution=94, resolutionunit=2], baseline, precision 8, 1400x940, components 3
responsive/dog-box-m.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=6, orientation=upper-left, xresolution=86, yresolution=94, resolutionunit=2], baseline, precision 8, 700x470, components 3
responsive/dog-box-s.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=6, orientation=upper-left, xresolution=86, yresolution=94, resolutionunit=2], baseline, precision 8, 350x235, components 3
@uwe-schwarz - thank you for spotting this :) I have tested this feature, but now I have discovered that the code was working only when thumbnails has been cropped. The fix is ready - we will release it probably at 7th November :)
Got it. All my thumbnails are now WebP! Thanks for your help.
On Sun, Nov 6, 2022 at 4:12 AM Tomasz Dziuda @.***> wrote:
@uwe-schwarz https://github.com/uwe-schwarz - so after regenerating thumbnails you still have JPGs? BTW please make sure that you mean responsive thumbnails with prefixes like -xs, -xl etc. Because the original images remains untouched.
@j0el https://github.com/j0el - you can change it under app settings https://getpublii.com/docs/publii-global-settings.html - it is located under "three dots" menu in the right upper corner.
— Reply to this email directly, view it on GitHub https://github.com/GetPublii/Publii/issues/1159#issuecomment-1304787249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHWZIUGCG3ZDJZS2BJI7PDWG6ODFANCNFSM6AAAAAARX7KYAM . You are receiving this because you were mentioned.Message ID: @.***>
@uwe-schwarz - FYI v.0.41.1 with fid for this issue has been released :)
Operating system
macOS Ventura 13.0
Publii version
0.41.0 (build 15910)
Post editor
No response
Bug description
Selecting "Convert to WebP format" only changes the file extension of the generated responsive images, they are still JPEG and have the same size.
Steps to reproduce
Relevant log output
No response