Skip to content

image-rs/image-extras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-extras

Decoding support for additional image formats beyond those provided by the image crate.

Supported formats

Extension Specification or Format Description
ORA Specification
PCX Wikipedia
WBMP Specification
OTB Specification
SGI Specification
XBM Specification
XPM Specification

By default, image-extras enables support for all included formats. This is convienient for prototyping, but for other uses you are encouraged to evaluate the individual implementations and enable only the ones that meet your quality/robustness requirements.

New Formats

We welcome PRs to add support for additional image formats.

Required criteria

  • Must be one of the raster image formats recognized by ImageMagick.
  • No patent or licensing restrictions.
  • Specification or sufficiently detailed file format description freely available online.
  • Must include multiple test images, and their source/license should be mentioned in the PR description.
  • Implementation must be entirely in Rust.

Additional nice-to-haves

  • Minimal or no dependencies on external libraries.
  • No use of unsafe code.

Version Compatibility

image crate version Compatible image-extras versions
0.25.x 0.1.x

Fuzzing

Fuzzing is not a priority for this crate and decoders may panic or worse on malformed input. Please do not open issues for crashes found by fuzzing, unless they are memory safety violations, though PRs fixing them are welcome.

This is an intentional tradeoff to balance the inclusion criteria for new formats with maintainer time and effort.

About

Decoding support for additional image formats

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages