bevy/docs
Luca Della Vedova a47f1ab4be
Add support for pnm textures (#8601)
# Objective

Add support for the [Netpbm](https://en.wikipedia.org/wiki/Netpbm) image
formats, behind a `pnm` feature flag.

My personal use case for this was robotics applications, with `pgm`
being a popular format used in the field to represent world maps in
robots.
I chose the formats and feature name by checking the logic in
[image.rs](a35ed552fa/crates/bevy_render/src/texture/image.rs (L76))

## Solution

Quite straightforward, the `pnm` feature flag already exists in the
`image` crate so it's just creating and exposing a `pnm` feature flag in
the root `Cargo.toml` and forwarding it through `bevy_internal` and
`bevy_render` all the way to the `image` crate.

---

## Changelog

### Added

`pnm` feature to add support for `pam`, `pbm`, `pgm` and `ppm` image
formats.

---------

Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
2023-05-16 23:51:47 +00:00
..
cargo_features.md Add support for pnm textures (#8601) 2023-05-16 23:51:47 +00:00
debugging.md Useful changes with relicensing benefits (#2497) 2021-07-17 21:59:31 +00:00
linters.md GitHub Action: Check local Markdown links on push (#2067) 2021-05-02 20:22:32 +00:00
linux_dependencies.md Add setup documentation for Alpine Linux (#7752) 2023-02-20 04:31:49 +00:00
plugins_guidelines.md Remove last mentions of Stages (#7553) 2023-02-07 18:07:57 +00:00
profiling.md Process 1 in Chrome tracing starts expanded (#8024) 2023-03-11 03:04:41 +00:00
release_checklist.md Fix release workflow (#4903) 2022-06-06 15:47:51 +00:00
the_bevy_organization.md remove bors and small CI improvements (#7947) 2023-03-07 21:42:53 +00:00