#include "common/darktable.h"
#include "common/debug.h"
#include "common/exif.h"
#include "common/image_cache.h"
#include "common/imageio_module.h"
#include "common/utility.h"
#include "imageio/format/imageio_format_api.h"
#include "gui/gtk.h"
#include <glib/gstdio.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
| int | write_image (dt_imageio_module_data_t *data, const char *filename, const void *in, dt_colorspaces_color_profile_type_t over_type, const char *over_filename, void *exif, int exif_len, int32_t imgid, int num, int total, struct dt_dev_pixelpipe_t *pipe, const gboolean export_masks) |
| |
| size_t | params_size (dt_imageio_module_format_t *self) |
| |
| void * | get_params (dt_imageio_module_format_t *self) |
| |
| void | free_params (dt_imageio_module_format_t *self, dt_imageio_module_data_t *params) |
| |
| int | set_params (dt_imageio_module_format_t *self, const void *params, const int size) |
| |
| int | bpp (dt_imageio_module_data_t *p) |
| |
| const char * | mime (dt_imageio_module_data_t *data) |
| |
| const char * | extension (dt_imageio_module_data_t *data) |
| |
| const char * | name () |
| |
| void | init (dt_imageio_module_format_t *self) |
| |
| void | cleanup (dt_imageio_module_format_t *self) |
| |
| void | gui_init (dt_imageio_module_format_t *self) |
| |
| void | gui_cleanup (dt_imageio_module_format_t *self) |
| |
| void | gui_reset (dt_imageio_module_format_t *self) |
| |
◆ bpp()
◆ cleanup()
◆ extension()
◆ free_params()
◆ get_params()
Definition at line 91 of file copy.c.
References d.
◆ gui_cleanup()
◆ gui_init()
◆ gui_reset()
◆ init()
◆ mime()
◆ name()
◆ params_size()
◆ set_params()
◆ write_image()
| int write_image |
( |
dt_imageio_module_data_t * |
data, |
|
|
const char * |
filename, |
|
|
const void * |
in, |
|
|
dt_colorspaces_color_profile_type_t |
over_type, |
|
|
const char * |
over_filename, |
|
|
void * |
exif, |
|
|
int |
exif_len, |
|
|
int32_t |
imgid, |
|
|
int |
num, |
|
|
int |
total, |
|
|
struct dt_dev_pixelpipe_t * |
pipe, |
|
|
const gboolean |
export_masks |
|
) |
| |
- Todo:
- : we can't rely on darktable to avoid file overwriting – it doesn't know the filename (extension).
Definition at line 46 of file copy.c.
References darktable, dt_copy_file(), dt_exif_xmp_write_with_imgpath(), dt_free, dt_image_cache_get(), DT_IMAGE_CACHE_MINIMAL, dt_image_cache_write_release(), dt_image_full_path(), extension(), darktable_t::image_cache, IS_NULL_PTR, PATH_MAX, and TRUE.