Skip to content

libpng warning: iCCP: known incorrect sRGB profile #9

Open
@tasinttttttt

Description

@tasinttttttt

With some png files, there's the uncached error which causes a 500 error:

Whoops \ Exception \ ErrorException (E_WARNING) imagecreatefromstring(): gd-png: libpng warning: iCCP: known incorrect sRGB profile

located in classes/BlurHash.php:55

    // Create a GD image from the file.
55:    $image = imagecreatefromstring($file->thumb($options)->read());
 ...

Maybe has something to do with this.

The quickest fix would be to switch Kirby's config thumb.driver from gd to ImageMagick im.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions