📷 A modern, cross-platform, 2D Graphics library for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
811 B

// <copyright file="ConfigurationExtensions.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace ImageSharp
{
using System;
using System.IO;
using Formats;
/// <summary>
/// Extension methods for the <see cref="Configuration"/> type.
/// </summary>
public static partial class ConfigurationExtensions
{
/// <summary>
/// Adds the Gif format.
/// </summary>
/// <param name="config">The config.</param>
/// <returns>The config</returns>
public static Configuration AddGifFormat(this Configuration config)
{
config.AddImageFormat(new GifFormat());
return config;
}
}
}