diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-04 11:20:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-04 21:12:46 +0000 |
| commit | d526a5fb537af1c9bcac2d00df6797d004fd919b (patch) | |
| tree | e81870076f55df045e9ae58831a8d43cc3e4342a /src/openjpeg_image.h | |
| parent | d4a2e054dee6ee80b578500e47f4eaf84731f140 (diff) | |
Add a couple of accessors for OpenJPEGImage.
Diffstat (limited to 'src/openjpeg_image.h')
| -rw-r--r-- | src/openjpeg_image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openjpeg_image.h b/src/openjpeg_image.h index 42cdb065..9687c887 100644 --- a/src/openjpeg_image.h +++ b/src/openjpeg_image.h @@ -40,6 +40,8 @@ public: int* data (int) const; dcp::Size size () const; + int precision (int component) const; + bool srgb () const; /** @return Pointer to opj_image_t struct. The caller * must not delete this. |
