Oberto / php-image-magician

Image manipulation at it's finest.
http://phpimagemagician.jarrodoberto.com
91 stars 55 forks source link

BMP - white planes when color solid #18

Open p1337 opened 5 years ago

p1337 commented 5 years ago

I can´t figure it out, why this is happening. When I convert JPG files into BMP files then solid planes are replaced by white.

This is the case not only when the color is #000000

Example JPG https://p1337.synology.me/lightpainting/img/thumb/190103002850.jpeg Example resulting BMP https://p1337.synology.me/lightpainting/examplepics/lp.bmp

is this an JPG read problem or an BMP write problem?

when the pixelhatch ist not solid, maybe call it grainy, then it should solve this problem.

p1337 commented 5 years ago

solved it by putting an noise filter over it 👍

JUST ADD :

$magicianObj -> addWatermark('converter/filters/noise.png', '', 0, 99);