Browse Source

Remove trailing lines and commas

af/merge-core
Jason Nelson 8 years ago
parent
commit
29a76e8819
  1. 4
      src/ImageSharp/Formats/Bmp/BmpBitsPerPixel.cs
  2. 2
      src/ImageSharp/Formats/Bmp/BmpCompression.cs
  3. 2
      src/ImageSharp/Formats/Bmp/BmpConstants.cs
  4. 4
      src/ImageSharp/Formats/Bmp/BmpEncoder.cs
  5. 5
      src/ImageSharp/MetaData/Profiles/Exif/ExifValue.cs

4
src/ImageSharp/Formats/Bmp/BmpBitsPerPixel.cs

@ -16,6 +16,6 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// <summary>
/// 32 bits per pixel. Each pixel consists of 4 bytes.
/// </summary>
Pixel32 = 4,
Pixel32 = 4
}
}
}

2
src/ImageSharp/Formats/Bmp/BmpCompression.cs

@ -58,4 +58,4 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// </summary>
PNG = 5
}
}
}

2
src/ImageSharp/Formats/Bmp/BmpConstants.cs

@ -20,4 +20,4 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// </summary>
public static readonly IEnumerable<string> FileExtensions = new[] { "bm", "bmp", "dip" };
}
}
}

4
src/ImageSharp/Formats/Bmp/BmpEncoder.cs

@ -1,8 +1,6 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.IO;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
@ -28,4 +26,4 @@ namespace SixLabors.ImageSharp.Formats.Bmp
encoder.Encode(image, stream);
}
}
}
}

5
src/ImageSharp/MetaData/Profiles/Exif/ExifValue.cs

@ -26,7 +26,6 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
this.DataType = other.DataType;
this.IsArray = other.IsArray;
this.Tag = other.Tag;
if (!other.IsArray)
{
@ -52,7 +51,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
this.DataType = dataType;
this.IsArray = isArray && dataType != ExifDataType.Ascii;
this.Value = value;
// this.CheckValue(value);
}
@ -144,7 +143,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
public ExifValue WithValue(object value)
{
this.CheckValue(value);
return new ExifValue(this.Tag, this.DataType, value, this.IsArray);
}

Loading…
Cancel
Save