[v3,0/1] cam: Add support for pnm output format
mbox series

Message ID 20240318104357.441724-1-mzamazal@redhat.com
Headers show
Series
  • cam: Add support for pnm output format
Related show

Message

Milan Zamazal March 18, 2024, 10:43 a.m. UTC
This is to make cam file output directly usable in image viewers and
processors, without the need to explore the file format and to convert
it to something usable using home-made converters.

v3:
 - Pass Sink rather than void* to the writer.
 - Fix the copyright line.

v2: No change, just rebased on current master.

Milan Zamazal (1):
  apps: cam: Add support for pnm output format

 src/apps/cam/file_sink.cpp     | 11 +++++++
 src/apps/cam/main.cpp          |  2 ++
 src/apps/common/meson.build    |  1 +
 src/apps/common/pnm_writer.cpp | 54 ++++++++++++++++++++++++++++++++++
 src/apps/common/pnm_writer.h   | 20 +++++++++++++
 5 files changed, 88 insertions(+)
 create mode 100644 src/apps/common/pnm_writer.cpp
 create mode 100644 src/apps/common/pnm_writer.h