Hacker News new | ask | show | jobs
by techdragon 3877 days ago
Which makes it impossible for me not to ask...

Why are you using it for the project? Is it for interoperability with some other component? If so, what sort of thing is using such a format, I'm intrigued.

1 comments

Good question :)

I needed a quick way to hack the output of 2D float data (pixel annotations to complement some image) into some legacy C without adding dependencies.

Thanks to CImg, I can read and display the PFM files in 10 lines of my own C++. I thought about just writing a width/height-annotated binary blob instead, but then realized that's really what PFM already is.

I have no idea if anything is really using PFM. I certainly have not found any "big" compatible programs.