Skip to content

.NET Core Compatibility - #5

Open
qmfrederik wants to merge 9 commits into
MikeWeller:masterfrom
quamotion:fixes/dotnetcore
Open

.NET Core Compatibility#5
qmfrederik wants to merge 9 commits into
MikeWeller:masterfrom
quamotion:fixes/dotnetcore

Conversation

@qmfrederik

Copy link
Copy Markdown

Hello!

This pull request adds .NET Core Compatibility for PNGDecrush, allowing you to use it on a new version of the .NET Platform. (As a sidenote, this also brings .NET to Linux, so it may also help address #4).

The changes mainly boil down to:

  • Removing the dependency on DotNetZip, whic is not yet available on .NET Core
  • Manually generating the zlib stream around the deflate stream (a zlib stream is a deflate stream with a header and a footer)
  • Copying over the CRC32 algorithm from DotNetZip
  • Minor compatibility fixes, such as removing the using System.Web statements which would case compilation issues.

I've also added an AppVeyour build script which provides CI capabilities for this repository.

Hope it helps!

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.

1 participant