Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/doc/builtinplugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,9 @@ The official OpenEXR site is http://www.openexr.com/.
* - ``ExposureTime``
- float
- expTime
* - ``ISOSpeed``
- float
- isoSpeed
* - ``FNumber``
- float
- aperture
Expand Down
4 changes: 4 additions & 0 deletions src/doc/stdmetadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ The following metadata items are specific to photos or captured images.

The exposure time (in seconds) of the captured image.

.. option:: "ISOSpeed" : float

The ISO speed of the camera when it captured the image.

.. option:: "FNumber" : float

The f/stop of the camera when it captured the image.
Expand Down
3 changes: 2 additions & 1 deletion src/openexr.imageio/exrinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ static std::map<std::string, std::string> exr_tag_to_oiio_std {
{ "pixelAspectRatio", "PixelAspectRatio" },
{ "xDensity", "XResolution" },
{ "expTime", "ExposureTime" },
{ "isoSpeed", "ISOSpeed" },
{ "aperture", "FNumber" },
// Ones we don't rename -- OpenEXR convention matches ours
{ "wrapmodes", "wrapmodes" },
{ "aperture", "FNumber" },
// Ones to prefix with openexr:
{ "chunkCount", "openexr:chunkCount" },
{ "maxSamplesPerPixel", "openexr:maxSamplesPerPixel" },
Expand Down
3 changes: 2 additions & 1 deletion src/openexr.imageio/exrinput_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,10 @@ static std::map<std::string, std::string> cexr_tag_to_oiio_std {
{ "pixelAspectRatio", "PixelAspectRatio" },
{ "xDensity", "XResolution" },
{ "expTime", "ExposureTime" },
{ "isoSpeed", "ISOSpeed" },
{ "aperture", "FNumber" },
// Ones we don't rename -- OpenEXR convention matches ours
{ "wrapmodes", "wrapmodes" },
{ "aperture", "FNumber" },
// Ones to prefix with openexr:
{ "chunkCount", "openexr:chunkCount" },
{ "maxSamplesPerPixel", "openexr:maxSamplesPerPixel" },
Expand Down
1 change: 1 addition & 0 deletions src/openexr.imageio/exroutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ static ExrMeta exr_meta_translation[] = {
ExrMeta("XResolution", "xDensity", TypeFloat),
ExrMeta("ExposureTime", "expTime", TypeFloat),
ExrMeta("FNumber", "aperture", TypeFloat),
ExrMeta("ISOSpeed", "isoSpeed", TypeFloat),
ExrMeta("oiio:subimagename", "name", TypeString),
ExrMeta("openexr:dwaCompressionLevel", "dwaCompressionLevel", TypeFloat),
ExrMeta("smpte:TimeCode", "timeCode", TypeTimeCode),
Expand Down
Loading