Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add compression support in cli tool #27

Merged
merged 3 commits into from
Aug 12, 2019
Merged

Conversation

basil-cow
Copy link
Contributor

Added compression support as per #26, it's a little bit awkward because oxipng does not allow it's input to be raw bytes but I worked around it.

@happenslol
Copy link
Member

Looks great at first glance! I'll do a full review later, thanks for taking care of this!

Copy link
Member

@happenslol happenslol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, had some time to look at it now. Looks good to me all in all, I just think we should uniformly save in the same way. Maybe we should even look into using the png crate directly (for reading as well), since image sometimes randomly doesn't work for specific images.

sheep_cli/src/main.rs Outdated Show resolved Hide resolved
sheep_cli/src/main.rs Outdated Show resolved Hide resolved
sheep_cli/src/main.rs Outdated Show resolved Hide resolved
Copy link
Member

@happenslol happenslol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the quick changes!

@happenslol happenslol merged commit 01e2311 into amethyst:master Aug 12, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants