Skip to content

Apply ICC Profile / Color Conversion when decoding PNG #5299

Apply ICC Profile / Color Conversion when decoding PNG

Apply ICC Profile / Color Conversion when decoding PNG #5299

Triggered via pull request December 19, 2025 05:10
Status Success
Total duration 8m 10s
Artifacts

build-and-test.yml

on: pull_request
Matrix: Build
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

80 warnings
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/PixelConversion/ITestPixel.cs#L22
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/PixelConversion/ITestPixel.cs#L14
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/IO/BufferedReadStreamWrapper.cs#L199
Avoid inexact read with 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Formats/Icon/Cur/CurEncoderTests.cs#L125
The variable 'xx' is assigned but its value is never used
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L24
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Formats/Icon/Cur/CurEncoderTests.cs#L125
The variable 'xx' is assigned but its value is never used
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L24
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (windows-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Formats/Icon/Cur/CurEncoderTests.cs#L125
The variable 'xx' is assigned but its value is never used
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L24
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/IO/BufferedReadStreamWrapper.cs#L199
Avoid inexact read with 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L24
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/IO/BufferedReadStreamWrapper.cs#L199
Avoid inexact read with 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L24
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/BlankProvider.cs#L15
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L167
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs#L163
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L27
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestUtilities/ImageProviders/MemberMethodProvider.cs#L23
'TestImageProvider<TPixel>.TestImageProvider()' is obsolete: 'Called by the de-serializer; should only be called by deriving classes for de-serialization purposes'
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L180
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/IO/BufferedReadStreamWrapper.cs#L199
Avoid inexact read with 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)