Environment
- Image:
ghcr.io/imagegenius/immich:cuda
- Version:
v2.6.1-ig155 (Build-date: 2026-03-20)
- Host: Unraid
Bug
Thumbnail generation (AssetGenerateThumbnails) fails in bulk for JPEGs with embedded ICC color profiles with the following repeating error:
VipsOperation: class "icctransform" not found
VipsJpeg: premature end of JPEG image
Error: VipsOperation: class "icctransform" not found
at Sharp.toBuffer (.../sharp/lib/output.js:163:17)
at MediaRepository.decodeImage
at async MediaService.decodeImage
at async MediaService.extractOriginalImage
at async MediaService.generateImageThumbnails
at async MediaService.handleGenerateThumbnails
Investigation
liblcms2-2 (2.14-2build1) is already installed in the container — this is not the issue
- The problem is that sharp's bundled static libvips was compiled without
--with-lcms, so even though the system library exists, icctransform is not available as a vips operation
- This affects the majority of JPEG thumbnail jobs, not just a few files
Reference
PR #548 / #550 (fix: sharp install) was intended to address the sharp/libvips build issue and was merged on Apr 25, 2025. However the icctransform errors persist on the current cuda tag (v2.6.1-ig155).
The main tag may be unaffected — this appears specific to the cuda build variant.
Expected Behavior
Thumbnail generation succeeds for JPEGs with embedded ICC color profiles. The icctransform vips operation should be available, which requires libvips to be compiled with lcms2 support.
Environment
ghcr.io/imagegenius/immich:cudav2.6.1-ig155(Build-date: 2026-03-20)Bug
Thumbnail generation (
AssetGenerateThumbnails) fails in bulk for JPEGs with embedded ICC color profiles with the following repeating error:Investigation
liblcms2-2(2.14-2build1) is already installed in the container — this is not the issue--with-lcms, so even though the system library exists,icctransformis not available as a vips operationReference
PR #548 / #550 (
fix: sharp install) was intended to address the sharp/libvips build issue and was merged on Apr 25, 2025. However theicctransformerrors persist on the currentcudatag (v2.6.1-ig155).The
maintag may be unaffected — this appears specific to thecudabuild variant.Expected Behavior
Thumbnail generation succeeds for JPEGs with embedded ICC color profiles. The
icctransformvips operation should be available, which requires libvips to be compiled with lcms2 support.