Images are black and white after resize #402

Closed
opened 2026-02-04 19:03:11 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @Frew777 on GitHub (Jan 18, 2024).

All of my resized thumbnails are black&white.

image

I got this error when I start a planka container. I use docker compose.

debug: WARNING: CPU supports 0x6000000000004000, software requires 0x4000000000005000

Planka version - 1.15.3

My server is hosted on VPS.
cat /proc/cpuinfo output:

leo@server:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : QEMU Virtual CPU version 2.5+
stepping        : 3
microcode       : 0x1
cpu MHz         : 1999.999
cache size      : 16384 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips        : 3999.99
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

I found out that my problem is similar to https://github.com/lovell/sharp/issues/3893

And probable this is the solution https://github.com/lovell/sharp/issues/3893#issuecomment-1851490893

Originally created by @Frew777 on GitHub (Jan 18, 2024). All of my resized thumbnails are black&white. ![image](https://github.com/plankanban/planka/assets/96523750/e69f1a98-ca22-449f-9d2a-60d02fc0f1d8) I got this error when I start a planka container. I use docker compose. `debug: WARNING: CPU supports 0x6000000000004000, software requires 0x4000000000005000` Planka version - 1.15.3 My server is hosted on VPS. `cat /proc/cpuinfo` output: ``` leo@server:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : QEMU Virtual CPU version 2.5+ stepping : 3 microcode : 0x1 cpu MHz : 1999.999 cache size : 16384 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm pti bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bogomips : 3999.99 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: ``` I found out that my problem is similar to https://github.com/lovell/sharp/issues/3893 And probable this is the solution https://github.com/lovell/sharp/issues/3893#issuecomment-1851490893
Author
Owner

@meltyshev commented on GitHub (Jan 18, 2024):

Hi! Related https://github.com/plankanban/planka/issues/574.
I'll update sharp to the new version, seems like it should be fixed.

@meltyshev commented on GitHub (Jan 18, 2024): Hi! Related https://github.com/plankanban/planka/issues/574. I'll update sharp to the new version, seems like it should be fixed.
Author
Owner

@meltyshev commented on GitHub (Jan 18, 2024):

Please try to update to v1.15.4 and upload the image again. If it doesn't work, please let me know.

@meltyshev commented on GitHub (Jan 18, 2024): Please try to update to v1.15.4 and upload the image again. If it doesn't work, please let me know.
Author
Owner

@Frew777 commented on GitHub (Jan 18, 2024):

Just trying a new version
image
As you can see everything is ok now.

Thanks, for such a fast support

@Frew777 commented on GitHub (Jan 18, 2024): Just trying a new version ![image](https://github.com/plankanban/planka/assets/96523750/0e9250d0-c0af-4f9b-a2b5-c9727409f70c) As you can see everything is ok now. Thanks, for such a fast support
Author
Owner

@mouawiashride commented on GitHub (Feb 18, 2024):

also you can solve the problem by this command
export VIPS_NOVECTOR=true

@mouawiashride commented on GitHub (Feb 18, 2024): also you can solve the problem by this command export VIPS_NOVECTOR=true
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#402