Skip to content
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

Merged
merged 379 commits into from
Sep 14, 2017
Merged

Beta 1 #299

merged 379 commits into from
Sep 14, 2017

Conversation

JimBobSquarePants
Copy link
Member

@JimBobSquarePants JimBobSquarePants commented Aug 19, 2017

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practise as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

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.

antonfirsov and others added 27 commits August 17, 2017 02:28
… (Optimizing PNG-s with external tools from now.)
# Conflicts:
#	tests/ImageSharp.Tests/TestFile.cs
@tocsoft
Copy link
Member

tocsoft commented Sep 12, 2017

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)
Copy link
Member

@antonfirsov antonfirsov Sep 12, 2017

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.

Copy link
Member

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

@antonfirsov
Copy link
Member

Made some further decoder optimazation by optimizing PackFromVector4().
My current results are much better than yesterday. @JimBobSquarePants being keen of the results on your machine.

@tocsoft tocsoft merged commit 8899f23 into master Sep 14, 2017
@tocsoft tocsoft deleted the beta-1 branch September 14, 2017 18:22
antonfirsov pushed a commit to antonfirsov/ImageSharp that referenced this pull request Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants