@@ -90,8 +90,8 @@ public static bool IsSupportedCommand(this IImageWebProcessor processor, string
9090
9191 /// <summary>
9292 /// <para>
93- /// Returns a value indicating whether the image to be processed should be decoded using a pixel format that supports
94- /// an alpha component for correct processing .
93+ /// Returns a value indicating whether the image to be processed should be decoded using a 32 bit True Color pixel format - 8 bits per color component
94+ /// plus an 8 bit alpha channel <see href="https://en.wikipedia.org/wiki/Color_depth#True_color_(24-bit)"/> .
9595 /// </para>
9696 /// <para>This method is used to determine whether optimizations can be enabled to reduce memory consumption during processing.</para>
9797 /// </summary>
@@ -101,8 +101,8 @@ public static bool IsSupportedCommand(this IImageWebProcessor processor, string
101101 /// <param name="culture">
102102 /// The <see cref="CultureInfo"/> to use as the current parsing culture.
103103 /// </param>
104- /// <returns>The <see cref="bool"/> indicating whether an alpha component is required.</returns>
105- public static bool RequiresAlphaAwarePixelFormat (
104+ /// <returns>The <see cref="bool"/> indicating whether a 32 bit True Color pixel format is required.</returns>
105+ public static bool RequiresTrueColorPixelFormat (
106106 this IReadOnlyList < ( int Index , IImageWebProcessor Processor ) > processors ,
107107 CommandCollection commands ,
108108 CommandParser parser ,
@@ -111,7 +111,7 @@ public static bool RequiresAlphaAwarePixelFormat(
111111 bool requiresAlpha = false ;
112112 foreach ( ( int Index , IImageWebProcessor Processor ) processor in processors )
113113 {
114- requiresAlpha |= processor . Processor . RequiresAlphaAwarePixelFormat ( commands , parser , culture ) ;
114+ requiresAlpha |= processor . Processor . RequiresTrueColorPixelFormat ( commands , parser , culture ) ;
115115 }
116116
117117 return requiresAlpha ;
0 commit comments