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

Images are black and white after resize #585

Closed
Frew777 opened this issue Jan 18, 2024 · 4 comments
Closed

Images are black and white after resize #585

Frew777 opened this issue Jan 18, 2024 · 4 comments

Comments

@Frew777
Copy link

Frew777 commented 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 lovell/sharp#3893

And probable this is the solution lovell/sharp#3893 (comment)

@meltyshev
Copy link
Member

Hi! Related #574.
I'll update sharp to the new version, seems like it should be fixed.

@meltyshev
Copy link
Member

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

@Frew777
Copy link
Author

Frew777 commented Jan 18, 2024

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

Thanks, for such a fast support

@mouawiashride
Copy link

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

meltyshev added a commit that referenced this issue Apr 7, 2024
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