Project

General

Profile

Feature #11299

Add copy_metadata option to lua storage API

Added by James Bowen almost 2 years ago.

Status:
New
Priority:
Low
Category:
Lua
Target version:
-
Start date:
11/09/2016
Due date:
% Done:

0%

Affected Version:
2.0.7
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

When implementing a new storage module in lua, there is no option to copy the metadata to the exported file. This option is available in the underlying C function dt_imageio_export() but is hardcoded to False in both format write_image() and storage store_wrapper() lua API points that call it. I recognize some wish the metadata stripped so the default is sensible but I do not see any alternative method of exporting with the metadata embedded in the image when that is desirable.

Also available in: Atom PDF