aboutsummaryrefslogtreecommitdiff
path: root/src/piex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/piex.h')
-rw-r--r--src/piex.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/piex.h b/src/piex.h
index 3225421..8d74ca0 100644
--- a/src/piex.h
+++ b/src/piex.h
@@ -49,6 +49,7 @@
#include <string>
#include <vector>
+#include "src/image_type_recognition/image_type_recognition_lite.h"
#include "src/piex_types.h"
namespace piex {
@@ -70,8 +71,11 @@ bool IsRaw(StreamInterface* data);
//
// One could check the "preview_image_data->preview_length != 0" for the
// existance of a preview image.
-Error GetPreviewImageData(StreamInterface* data,
- PreviewImageData* preview_image_data);
+//
+// Updates output_type based on data, if output_type is non-null.
+Error GetPreviewImageData(
+ StreamInterface* data, PreviewImageData* preview_image_data,
+ image_type_recognition::RawImageTypes* output_type = nullptr);
// Returns true if the full width and height and the mosaic pattern dimension of
// a DNG image could be obtained. False otherwise.