Closed hahafamilia closed 8 years ago
Image::open($imgPath) ->zoomCrop(120, 160, 'transparent', 'center', 'center') ->negate() ->save($thumbPath);
before
after
Well, what is the problem?
Is it well? Color is demaged.
You are using ->negate() on your code. This is the expected color result of this method.
->negate()
Image::open($imgPath) ->zoomCrop(120, 160, 'transparent', 'center', 'center') ->negate() ->save($thumbPath);
before
after