Gregwar / Image

A PHP library to handle images
MIT License
1k stars 190 forks source link

image demage #106

Closed hahafamilia closed 8 years ago

hahafamilia commented 8 years ago

Image::open($imgPath) ->zoomCrop(120, 160, 'transparent', 'center', 'center') ->negate() ->save($thumbPath);

before

a

after

5652ed0dea608_s

soullivaneuh commented 8 years ago

Well, what is the problem?

hahafamilia commented 8 years ago

Is it well? Color is demaged.

soullivaneuh commented 8 years ago

You are using ->negate() on your code. This is the expected color result of this method.