M
M
mipfikus2020-05-23 13:24:33
WordPress
mipfikus, 2020-05-23 13:24:33

How to restore the normal color of a photo?

I upload one picture for the product, in the product card you can see a picture with a different color, how to return the normal color?
5ec8f9ce91ccf916546885.png
5ec8f9d712f5d433886668.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan Hasanli, 2020-05-23
@mipfikus

Hello!
I can assume the following:
You have a picture that is saved locally has a color system - CMYK. Whereas when loaded it becomes RGB. Hence the color difference. It is possible that RGB becomes the plug-in that you use when converting a picture to webp format.

W
WP Panda, 2020-05-23
@wppanda5

That's right, add to the conversion plugin and then a thread like this imagecreatefromjpeg or like this imagecreatefrompng

imagepalettetotruecolor( $image );
imagealphablending( $image, false );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question