mirror of https://github.com/SixLabors/ImageSharp
4 changed files with 0 additions and 116 deletions
@ -1,29 +0,0 @@ |
|||||
// <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 BMP format.
|
|
||||
/// </summary>
|
|
||||
/// <param name="config">The config.</param>
|
|
||||
/// <returns>The config</returns>
|
|
||||
public static Configuration AddBmpFormat(this Configuration config) |
|
||||
{ |
|
||||
config.AddImageFormat(new BmpFormat()); |
|
||||
return config; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,29 +0,0 @@ |
|||||
// <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; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,29 +0,0 @@ |
|||||
// <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 Jpeg format.
|
|
||||
/// </summary>
|
|
||||
/// <param name="config">The config.</param>
|
|
||||
/// <returns>The config</returns>
|
|
||||
public static Configuration AddJpegFormat(this Configuration config) |
|
||||
{ |
|
||||
config.AddImageFormat(new JpegFormat()); |
|
||||
return config; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,29 +0,0 @@ |
|||||
// <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 Png format.
|
|
||||
/// </summary>
|
|
||||
/// <param name="config">The Image configurations.</param>
|
|
||||
/// <returns>The Configuration object</returns>
|
|
||||
public static Configuration AddPngFormat(this Configuration config) |
|
||||
{ |
|
||||
config.AddImageFormat(new PngFormat()); |
|
||||
return config; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue