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

Support PPM image file format #31

Closed
walbourn opened this issue Jul 6, 2016 · 4 comments
Closed

Support PPM image file format #31

walbourn opened this issue Jul 6, 2016 · 4 comments
Assignees

Comments

@walbourn
Copy link
Member

walbourn commented Jul 6, 2016

The old D3DX for Direct3D 9 library implemented a codec for .ppm (Portable PixMap).

  • LoadFromPPMMemory
  • LoadFromPPMFile

This includes both the ASCII P3 form and the binary P6 format for reading, but only binary P6 for writing.

@walbourn
Copy link
Member Author

Other than the fact that D3DX9 supported it, I don't have any indication that this support is required. If it falls out of the PFM support it would be easy to add, but I'm not sure it's worth adding by itself.

@walbourn
Copy link
Member Author

Note that a simple writer is dead simple

@walbourn
Copy link
Member Author

walbourn commented Jun 4, 2020

After thinking on this, I think I'll implement a super-basic reader/writer for this format in texconv just like I did for the "Extended BMP" (The Flight-Sim teams wierd DXTn enabled BMP variant), and not put it into the library. It's just not a compelling tools format, but I'd like to have a way to get all the content D3DX could.

@walbourn
Copy link
Member Author

walbourn commented Jun 4, 2020

See this pull request

@walbourn walbourn closed this as completed Jun 4, 2020
@walbourn walbourn self-assigned this Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant