image icon indicating copy to clipboard operation
image copied to clipboard

uploading png image is increasing it's size than the original

Open Kiransai-webonise opened this issue 3 years ago • 1 comments

$image = Image::make($img->path()); $image->save($img_name, 70);

Above piece of code is working fine for jpg images but when i upload png image its size is increasing. Am I doing anything wrong or it is an issue?

Kiransai-webonise avatar Jun 17 '22 06:06 Kiransai-webonise

Same issue here I'm uploading an png at 29.9MB

and I'm doing that

        $manager = new ImageManager([
            'driver' => 'imagick',
        ]);
        $img     = $manager->make($absolutePath);
        $img->save($absolutePath, 10);

and the final weight is 34,6MB

N445 avatar Aug 23 '22 13:08 N445

same issue version: 2.7.2

basemkhirat avatar Aug 27 '23 20:08 basemkhirat

Error still exists... My "minified" images have a bigger filesize even though I resized images bei 70%. Any ideas how to fix?

LeonBuchner avatar Oct 16 '23 12:10 LeonBuchner

Duplicate of https://github.com/Intervention/image/issues/632

olivervogel avatar Dec 08 '23 19:12 olivervogel