Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webp compression, bad colouration #1367

Open
marcus-adamski opened this issue Jun 4, 2023 · 4 comments
Open

Webp compression, bad colouration #1367

marcus-adamski opened this issue Jun 4, 2023 · 4 comments

Comments

@marcus-adamski
Copy link

marcus-adamski commented Jun 4, 2023

Drag an image into Squoosh, most often a jpg.
Select "Webp"
The resulting compressed image is often badly colourised, using the default configuration.

I've attached a before and after from Unsplash as an example. For this example, squoosh used the default configuration for compression webp. Often, the colouration is much worse, with multiple colours.

NOTE - I've also downloaded and installed webp (0.6.1-2ubuntu0.20.04.2) (from my current Linux repositories), which is the same source code (but a different version) as used by Squoosh. On my initial tests, this installed version does NOT appear to have the same colouration issue, so maybe a bug has been introduced into a later webp version?

OS Configuration:
Linux Mint XFCE (20.3)
Chrome Version 114.0.5735.90 (Official Build) (64-bit)

Attached is the original test source file. Also included is the converted webp file from Squoosh - BUT had to rename the extension to a JPG as Github doesn't support the upload of *.webp files :-)

Also included view from the Squoosh App

test-original
test-after--a-webp-file

squoosh

@aryanpingle
Copy link
Contributor

aryanpingle commented Jun 13, 2023

Tried it on my pc, seems to work fine. Our Chrome versions are similar, might be an issue with Squoosh WebP on Linux?

Windows 10 Home - Version 10.0.19045 Build 19045
Chrome Version 114.0.5735.110 (Official Build) (64-bit)

image

@jakearchibald
Copy link
Collaborator

@marcus-adamski anything else you can tell us about your setup? What kind of processor does the machine have?

@marcus-adamski
Copy link
Author

@jakearchibald, details of my system are:

System: Kernel: 5.4.0-150-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 Desktop: Xfce 4.16.0
tk: Gtk 3.24.20 wm: xfwm4 dm: LightDM Distro: Linux Mint 20.3 Una
base: Ubuntu 20.04 focal
Machine: Type: Desktop System: LENOVO product: 10115 v: IdeaCentre Q190 serial:
Chassis: type: 3 serial:
Mobo: LENOVO model: INVALID v: SDK0F82993 WIN serial: UEFI [Legacy]: LENOVO
v: EZKT22AUS date: 10/15/2013
CPU: Topology: Dual Core model: Intel Pentium 2127U bits: 64 type: MCP arch: Ivy Bridge
rev: 9 L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 7582
Speed: 1896 MHz min/max: 800/1900 MHz Core speeds (MHz): 1: 1896 2: 1896
Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:0156
Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa 21.2.6
compat-v: 3.0 direct render: Yes

@marcus-adamski
Copy link
Author

marcus-adamski commented Jun 13, 2023

I've used a couple of other wepb online convertor/compressors, and also installed the official webp library (0.61) from the Linux Mint repos - but I've only had the issue with the Squoosh App (so far).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants