Browse Source

Added ToFrame method that can be used to copy the pixels and properties of a image to a new Frame.

af/merge-core
dirk 9 years ago
committed by Dirk Lemstra
parent
commit
d24d9ef8b0
  1. 5
      src/ImageSharp/Image/ImageBase.cs

5
src/ImageSharp/Image/ImageBase.cs

@ -162,5 +162,10 @@ namespace ImageSharp
this.Quality = other.Quality;
this.FrameDelay = other.FrameDelay;
}
internal virtual ImageFrame<TColor, TPacked> ToFrame()
{
return new ImageFrame<TColor, TPacked>(this);
}
}
}

Loading…
Cancel
Save