Skip to content

Instantly share code, notes, and snippets.

@573
Created March 22, 2011 15:32
Show Gist options
  • Save 573/881421 to your computer and use it in GitHub Desktop.
Save 573/881421 to your computer and use it in GitHub Desktop.
Changes applied to dng_image_writer.h to prepare for csv output of r-, g- and b-values. Applies to dng_sdk version 1.3 from Adobe.
--- E:\temp\dng_sdk_1_3\dng_sdk\source\dng_image_writer.h_original 2009-06-22 13:07:00 +0000
+++ E:\temp\dng_sdk_1_3\dng_sdk\source\dng_image_writer.h 2011-03-22 15:30:50 +0000
@@ -1015,7 +1015,15 @@
dng_stream &stream,
const dng_image &image,
uint32 fakeChannels = 1);
-
+
+ /// Write a dng_image to a dng_stream in PPM format (P3 only).
+ /// \param host Host interface used for progress updates, abort testing, buffer allocation, etc.
+ /// \param stream The dng_stream on which to write the PPM (P3).
+ /// \param image The actual image data to be written.
+ virtual void WriteTXT (dng_host &host,
+ dng_stream &stream,
+ const dng_image &image);
+
/// Write a dng_image to a dng_stream in TIFF format.
/// \param host Host interface used for progress updates, abort testing, buffer allocation, etc.
/// \param stream The dng_stream on which to write the TIFF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment