Browse Source

Quality should be copied.

Former-commit-id: e30a7b839d512f4a5faa85d16b23d421f2325e4c
Former-commit-id: a49e33c994d79bf4092788ef3027c1f47c2f66c4
Former-commit-id: 15bc1d0c90ebca357322e1ba10c21c3830a8e4ae
af/merge-core
James Jackson-South 10 years ago
parent
commit
9cbb32112a
  1. 1
      src/ImageProcessorCore/Image.cs
  2. 1
      src/ImageProcessorCore/ImageExtensions.cs

1
src/ImageProcessorCore/Image.cs

@ -73,6 +73,7 @@ namespace ImageProcessorCore
} }
} }
this.Quality = other.Quality;
this.RepeatCount = other.RepeatCount; this.RepeatCount = other.RepeatCount;
this.HorizontalResolution = other.HorizontalResolution; this.HorizontalResolution = other.HorizontalResolution;
this.VerticalResolution = other.VerticalResolution; this.VerticalResolution = other.VerticalResolution;

1
src/ImageProcessorCore/ImageExtensions.cs

@ -135,6 +135,7 @@ namespace ImageProcessorCore
{ {
// Several properties require copying // Several properties require copying
// TODO: Check why we need to set these? // TODO: Check why we need to set these?
Quality = source.Quality,
HorizontalResolution = source.HorizontalResolution, HorizontalResolution = source.HorizontalResolution,
VerticalResolution = source.VerticalResolution, VerticalResolution = source.VerticalResolution,
CurrentImageFormat = source.CurrentImageFormat, CurrentImageFormat = source.CurrentImageFormat,

Loading…
Cancel
Save