Skip to content

Commit 654003f

Browse files
committed
Add RequiresTrueColorPixelFormat
1 parent a939d89 commit 654003f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

samples/ImageSharp.Web.Sample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class Startup
3535
/// <summary>
3636
/// This method gets called by the runtime. Use this method to add services to the container.
3737
/// </summary>
38-
/// <param name="services">The collection of service desscriptors.</param>
38+
/// <param name="services">The collection of service descriptors.</param>
3939
public void ConfigureServices(IServiceCollection services)
4040
{
4141
services.AddImageSharp()

src/ImageSharp.Web/Processors/AutoOrientWebProcessor.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.Web.Processors
1616
public class AutoOrientWebProcessor : IImageWebProcessor
1717
{
1818
/// <summary>
19-
/// The command for changing the orientation.
19+
/// The command for changing the orientation according to the EXIF information.
2020
/// </summary>
2121
public const string AutoOrient = "autoorient";
2222

@@ -44,5 +44,8 @@ public FormattedImage Process(
4444

4545
return image;
4646
}
47+
48+
/// <inheritdoc/>
49+
public bool RequiresTrueColorPixelFormat(CommandCollection commands, CommandParser parser, CultureInfo culture) => false;
4750
}
4851
}

0 commit comments

Comments
 (0)