lose quality on resize
Some images with too weight and resolution lose quality and appear darker the colors.
Yes Exact Same Issue Facing
still dont have solution? i've facing the same issue
Resize with constraint may help ,Check documentation.http://image.intervention.io/api/resize
Same problem, loosing quality on resize, keepin aspect-ratio on constraint does not fix the problem.
still dont have solution? i've facing the same issue
Can't find solution until....
Faced the same issue. I resize in steps and get good results, like so:
STRIP_WIDTH = 300;
$img = ImageFacade::make($tmpPath);
$steps = 3;
$stepWidth = intdiv($img->width(), $steps);
for($i=1; $i<($steps + 1); $i++) {
$nextWidth = $img->width() - ($stepWidth * $i);
if($nextWidth < self::STRIP_WIDTH)
$nextWidth = self::STRIP_WIDTH;
$img = self::resize($img, $nextWidth);
}
$img->save($tmpPath, 100, 'png');