Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icc_transform: unable to load or find any compatible input profile #5489

Open
red-tails opened this issue Apr 2, 2023 · 1 comment · May be fixed by #5567
Open

icc_transform: unable to load or find any compatible input profile #5489

red-tails opened this issue Apr 2, 2023 · 1 comment · May be fixed by #5567
Labels

Comments

@red-tails
Copy link

Gelbooru #419565 is unuppable due to the following error:

[
  {
    "id": 7962379,
    "source": "https://gelbooru.com/index.php?page=post&s=view&id=419565",
    "uploader_id": 1019023,
    "status": "error",
    "created_at": "2023-04-02T00:05:21.834-04:00",
    "updated_at": "2023-04-02T00:05:23.412-04:00",
    "referer_url": "https://gelbooru.com/index.php?page=post&s=list&tags=all",
    "error": "icc_transform: unable to load or find any compatible input profile\n",
    "media_asset_count": 1,
    "upload_media_assets": [
      {
        "id": 5508460,
        "created_at": "2023-04-02T00:05:22.847-04:00",
        "updated_at": "2023-04-02T00:05:23.406-04:00",
        "upload_id": 7962379,
        "media_asset_id": 9449540,
        "status": "failed",
        "source_url": "https://img3.gelbooru.com/images/00/c8/00c89ae1a127781623e9ac1a9e69ee4b.jpg",
        "error": "icc_transform: unable to load or find any compatible input profile\n",
        "page_url": "https://gelbooru.com/index.php?page=post&s=view&id=419565",
        "media_asset": {
          "id": 9449540,
          "created_at": "2023-04-02T00:05:23.396-04:00",
          "updated_at": "2023-04-02T00:05:23.404-04:00",
          "md5": "00c89ae1a127781623e9ac1a9e69ee4b",
          "file_ext": "jpg",
          "file_size": 66905,
          "image_width": 538,
          "image_height": 577,
          "duration": null,
          "status": "failed",
          "file_key": "Bu1Cg8zaI",
          "is_public": true,
          "pixel_hash": "00c89ae1a127781623e9ac1a9e69ee4b",
          "variants": [
            {
              "type": "preview",
              "url": "https://cdn.donmai.us/preview/00/c8/00c89ae1a127781623e9ac1a9e69ee4b.jpg",
              "width": 140,
              "height": 150,
              "file_ext": "jpg"
            },
            {
              "type": "180x180",
              "url": "https://cdn.donmai.us/180x180/00/c8/00c89ae1a127781623e9ac1a9e69ee4b.jpg",
              "width": 168,
              "height": 180,
              "file_ext": "jpg"
            },
            {
              "type": "360x360",
              "url": "https://cdn.donmai.us/360x360/00/c8/00c89ae1a127781623e9ac1a9e69ee4b.jpg",
              "width": 336,
              "height": 360,
              "file_ext": "jpg"
            },
            {
              "type": "720x720",
              "url": "https://cdn.donmai.us/720x720/00/c8/00c89ae1a127781623e9ac1a9e69ee4b.webp",
              "width": 538,
              "height": 577,
              "file_ext": "webp"
            },
            {
              "type": "original",
              "url": "https://cdn.donmai.us/original/00/c8/00c89ae1a127781623e9ac1a9e69ee4b.jpg",
              "width": 538,
              "height": 577,
              "file_ext": "jpg"
            }
          ]
        }
      }
    ]
  }
]
@evazion
Copy link
Member

evazion commented Apr 4, 2023

This is a libvips bug caused when a greyscale image has an incompatible RGB color profile. I believe it's been fixed upstream but I'm waiting for it to be released in libvips 8.14.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants