-
-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beta 1 #299
Conversation
… (Optimizing PNG-s with external tools from now.)
# Conflicts: # tests/Images/External
# Conflicts: # tests/ImageSharp.Tests/TestFile.cs
Update namespaces & package names
Also fix Oilpainting test
woops, fixing the build now |
@@ -138,7 +138,7 @@ public static void Save<TPixel>(this Image<TPixel> source, Stream stream, IImage | |||
/// <param name="source">The source image</param> | |||
/// <param name="buffer">The buffer to save the raw pixel data to.</param> | |||
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception> | |||
public static void SavePixelData<TPixel>(this Image<TPixel> source, Span<byte> buffer) | |||
internal static void SavePixelData<TPixel>(this Image<TPixel> source, byte[] buffer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably expose a SavePixelData(byte[] buffer, int offset)
and a SavePixelData(byte[] buffer)
variant publicly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i've made it public in the Image-Frame branch
API Image frames refactor
Made some further decoder optimazation by optimizing |
…ecause BufferArea ctr now uses DebugGuard
Prerequisites
Description
This PR collects the following PR's together so we can release our first beta. I really want to get this out so I took the bull by the horns and did some of the manual merging required to put it all together.
Which means we have the new API, namespace, and jpeg decoder included in the codebase.
The project builds but I couldn't get the reference image tests running locally for the new
qa-lab
stuff.@antonfirsov How does the external image references thing work?
@tocsoft I seem to have broken AppVeyor, no idea how.
Please have a good look through this and make sure all is well. I'll get cracking on a blog post asap unless someone volunteers.