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

.NET Core Compatibility #5

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

qmfrederik
Copy link

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