diff --git a/doc/docfx.json b/doc/docfx.json index 830211ec..2bee4b12 100644 --- a/doc/docfx.json +++ b/doc/docfx.json @@ -5,7 +5,7 @@ { "src": "../", "files": [ - "out/bin/MagicScaler/Dist/**\/PhotoSauce.MagicScaler.dll" + "out/bin/MagicScaler/Dist/netcoreapp3.0/PhotoSauce.MagicScaler.dll" ] } ], diff --git a/src/MagicScaler/Core/Enums.cs b/src/MagicScaler/Core/Enums.cs index 5600e0eb..bdd3cb1e 100644 --- a/src/MagicScaler/Core/Enums.cs +++ b/src/MagicScaler/Core/Enums.cs @@ -81,13 +81,13 @@ public enum FileFormat public enum ColorProfileMode { /// Convert the input image to a well-known RGB color space during processing. A minimal compatible color profile will be embedded unless the output image is in the the sRGB color space. - /// + /// Normalize, /// Convert the input image to a well-known RGB color space during processing. A minimal compatible color profile will be embedded for the output color space, including sRGB. - /// + /// NormalizeAndEmbed, - /// Preserve the input image color space during processing. Embed the source image's ICC profile in the output image. If the output format does not support embedded profiles, it will be discarded. - /// Be aware that the embedded profile may be very large -- in the case of thumbnails, often larger than the thumbnail image itself. + /// Preserve the input image color space during processing and embed the source image's ICC profile in the output image. CMYK images will be converted to Adobe RGB. + /// Preserve, /// Convert the input image to the sRGB color space during processing. Output an untagged sRGB image. ConvertToSrgb, diff --git a/src/MagicScaler/Docs/Remarks.xml b/src/MagicScaler/Docs/Remarks.xml index 3afe377a..4ea375f2 100644 --- a/src/MagicScaler/Docs/Remarks.xml +++ b/src/MagicScaler/Docs/Remarks.xml @@ -54,11 +54,17 @@ or the Metadata Query Language Overview for explicit path syntax. - + Possible output color spaces are sRGB, Adobe RGB (1998), or Display P3. An output color space other than sRGB will be used only if the input image is in an alternate color space and the output codec supports embedding an ICC profile. + + + Be aware that the embedded profile may be very large -- in the case of thumbnails, often larger than the thumbnail image itself. + If the output format does not support embedded profiles, no color space conversion will be performed, and the profile will be discarded. + + diff --git a/src/ManagedCodecs/ManagedCodecs.csproj b/src/ManagedCodecs/ManagedCodecs.csproj index d971c835..c500a079 100644 --- a/src/ManagedCodecs/ManagedCodecs.csproj +++ b/src/ManagedCodecs/ManagedCodecs.csproj @@ -2,19 +2,12 @@ 0.0.1 - net46;net472;netcoreapp2.1;netcoreapp3.1;netstandard2.0;netstandard2.1 + net461;net472;netcoreapp2.1;netcoreapp3.1;netstandard2.0;netstandard2.1 - - - - https://www.myget.org/F/sixlabors/api/v3/index.json - - - - + diff --git a/src/ManagedCodecs/TargaCodec.cs b/src/ManagedCodecs/TargaCodec.cs index 7f1a2962..9cb334e5 100644 --- a/src/ManagedCodecs/TargaCodec.cs +++ b/src/ManagedCodecs/TargaCodec.cs @@ -3,7 +3,6 @@ using System.Runtime.CompilerServices; using SixLabors.ImageSharp; -using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.PixelFormats; using PhotoSauce.MagicScaler; diff --git a/src/WebRSize/WebRSize.csproj b/src/WebRSize/WebRSize.csproj index 005aa8a0..40b6f0b1 100644 --- a/src/WebRSize/WebRSize.csproj +++ b/src/WebRSize/WebRSize.csproj @@ -1,7 +1,7 @@  - 0.5.2 + 0.6.0 net461;net472