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

Pnm Encoder #730

merged 27 commits into from Mar 23, 2018


None yet
1 participant

HeroicKatora commented Feb 25, 2018

Provides a new implementation for a pnm encoder. It is able to write all image formats (pbm, pgm, ppm, pam), encoding images with sample type u8 and u16.

The file format can be chosen by the user or automatically decided. Alternatively, a complete header can be provided as well to further restrict the output format.

This encoder could fully replace the old encoder found in ppm::encoder. The rewrite will improve diagnostics for several cases, such as avoid some panics with additional look ahead error checking.

HeroicKatora added some commits Feb 24, 2018

@HeroicKatora HeroicKatora changed the title from [WIP] Pnm Encoder and header information to Pnm Encoder Mar 19, 2018

HeroicKatora added some commits Mar 19, 2018

Merge remote-tracking branch 'upstream/master' into pnm
Uses `pnm` in image encoding parameters

@HeroicKatora HeroicKatora merged commit abaafbc into PistonDevelopers:master Mar 23, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@bvssvni bvssvni referenced this pull request Apr 17, 2018


Add BGRA and BGR support. #666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment