167 { N_(
"unknown"),
'.'},
175 { N_(
"GraphicsMagick"),
'g'},
176 { N_(
"rawspeed"),
'r'},
177 { N_(
"netpnm"),
'n'},
179 { N_(
"ImageMagick"),
'i'},
181 { N_(
"libraw"),
'l'},
299void dt_image_full_path(
const int32_t imgid,
char *pathname,
size_t pathname_len, gboolean *from_cache,
const char *calling_func);
324int32_t
dt_image_import(int32_t film_id,
const char *filename, gboolean raise_signals);
341 const gboolean undo_on,
const gboolean group_on);
344 const gboolean undo_on);
347 const gboolean undo_on);
387int32_t
dt_image_move(
const int32_t imgid,
const int32_t filmid);
391int32_t
dt_image_rename(
const int32_t imgid,
const int32_t filmid,
const gchar *newname);
394int32_t
dt_image_copy(
const int32_t imgid,
const int32_t filmid);
gboolean dt_image_is_matrix_correction_supported(const dt_image_t *img)
Definition common/image.c:185
int32_t dt_image_copy_rename(const int32_t imgid, const int32_t filmid, const gchar *newname)
Definition common/image.c:1802
dt_image_colorspace_t
Definition common/image.h:98
@ DT_IMAGE_COLORSPACE_NONE
Definition common/image.h:99
@ DT_IMAGE_COLORSPACE_ADOBE_RGB
Definition common/image.h:101
@ DT_IMAGE_COLORSPACE_SRGB
Definition common/image.h:100
int32_t dt_image_move(const int32_t imgid, const int32_t filmid)
Definition common/image.c:1797
void dt_image_synch_xmps(const GList *img)
Definition common/image.c:2264
char * dt_image_get_audio_path(const int32_t imgid)
Definition common/image.c:2467
static dt_image_orientation_t dt_image_orientation_to_flip_bits(const int orient)
Definition common/image.h:360
int dt_image_get_xmp_rating(const dt_image_t *img)
Definition common/image.c:452
void dt_image_set_flip(const int32_t imgid, const dt_image_orientation_t user_flip)
Definition common/image.c:669
void dt_image_check_camera_missing_sample(const struct dt_image_t *img)
Definition common/image.c:2553
dt_image_orientation_t dt_image_get_orientation(const int32_t imgid)
Definition common/image.c:716
void dt_image_path_append_version(const int32_t imgid, char *pathname, size_t pathname_len)
Definition common/image.c:420
int dt_image_write_sidecar_file(const int32_t imgid)
Definition common/image.c:2219
int32_t dt_image_get_id(int32_t film_id, const gchar *filename)
Definition common/image.c:1496
int32_t dt_image_copy(const int32_t imgid, const int32_t filmid)
Definition common/image.c:2059
void dt_image_refresh_makermodel(dt_image_t *img)
Definition common/image.c:1587
int dt_image_monochrome_flags(const dt_image_t *img)
Definition common/image.c:201
uint32_t dt_image_altered(const int32_t imgid)
Definition common/image.c:1033
int dt_image_is_ldr(const dt_image_t *img)
Definition common/image.c:93
void dt_image_get_datetime(const int32_t imgid, char *datetime)
Definition common/image.c:2345
char * dt_image_get_text_path_from_path(const char *image_path)
Definition common/image.c:2476
void dt_image_set_location(const int32_t imgid, const dt_image_geoloc_t *geoloc, const gboolean undo_on, const gboolean group_on)
Definition common/image.c:617
void dt_image_film_roll(const dt_image_t *img, char *pathname, size_t pathname_len)
Definition common/image.c:247
dt_image_orientation_t
Definition common/image.h:123
@ ORIENTATION_TRANSVERSE
Definition common/image.h:137
@ ORIENTATION_SWAP_XY
Definition common/image.h:128
@ ORIENTATION_FLIP_Y
Definition common/image.h:126
@ ORIENTATION_ROTATE_CCW_90_DEG
Definition common/image.h:135
@ ORIENTATION_NULL
Definition common/image.h:124
@ ORIENTATION_ROTATE_CW_90_DEG
Definition common/image.h:136
@ ORIENTATION_NONE
Definition common/image.h:125
@ ORIENTATION_FLIP_X
Definition common/image.h:127
@ ORIENTATION_TRANSPOSE
Definition common/image.h:134
@ ORIENTATION_ROTATE_180_DEG
Definition common/image.h:133
@ ORIENTATION_FLIP_VERTICALLY
Definition common/image.h:132
@ ORIENTATION_FLIP_HORIZONTALLY
Definition common/image.h:131
void dt_image_print_exif(const dt_image_t *img, char *line, size_t line_len)
Definition common/image.c:435
void dt_image_synch_all_xmp(const gchar *pathname)
Definition common/image.c:2298
void dt_image_get_location(const int32_t imgid, dt_image_geoloc_t *geoloc)
Definition common/image.c:476
const char flag
Definition common/image.h:164
int32_t dt_image_duplicate_with_version(const int32_t imgid, const int32_t newversion)
Definition common/image.c:998
gboolean dt_image_is_monochrome(const dt_image_t *img)
Definition common/image.c:125
dt_imageio_retval_t
Definition common/image.h:37
@ DT_IMAGEIO_OK
Definition common/image.h:38
@ DT_IMAGEIO_CACHE_FULL
Definition common/image.h:41
@ DT_IMAGEIO_FILE_CORRUPTED
Definition common/image.h:40
@ DT_IMAGEIO_FILE_NOT_FOUND
Definition common/image.h:39
const char * tooltip
Definition common/image.h:163
void dt_image_init(dt_image_t *img)
Definition common/image.c:1520
int32_t dt_image_import(int32_t film_id, const char *filename, gboolean raise_signals)
Definition common/image.c:1510
void dt_image_set_datetimes(const GList *imgs, const GArray *dtime, const gboolean undo_on)
Definition common/image.c:2391
const char * dt_image_film_roll_name(const char *path)
Definition common/image.c:206
float dt_image_get_exposure_bias(const struct dt_image_t *image_storage)
Definition common/image.c:2508
GList * dt_image_find_xmps(const char *filename)
Definition common/image.c:1066
void dt_image_set_datetime(const GList *imgs, const char *datetime, const gboolean undo_on)
Definition common/image.c:2428
dt_exif_image_orientation_t
Definition common/image.h:111
@ EXIF_ORIENTATION_NONE
Definition common/image.h:112
@ EXIF_ORIENTATION_TRANSPOSE
Definition common/image.h:116
@ EXIF_ORIENTATION_ROTATE_180_DEG
Definition common/image.h:115
@ EXIF_ORIENTATION_FLIP_VERTICALLY
Definition common/image.h:114
@ EXIF_ORIENTATION_ROTATE_CW_90_DEG
Definition common/image.h:118
@ EXIF_ORIENTATION_TRANSVERSE
Definition common/image.h:119
@ EXIF_ORIENTATION_ROTATE_CCW_90_DEG
Definition common/image.h:117
@ EXIF_ORIENTATION_FLIP_HORIZONTALLY
Definition common/image.h:113
dt_image_flags_t
Definition common/image.h:45
@ DT_IMAGE_NO_LEGACY_PRESETS
Definition common/image.h:73
@ DT_IMAGE_HAS_ADDITIONAL_DNG_TAGS
Definition common/image.h:86
@ DT_IMAGE_HAS_WAV
Definition common/image.h:79
@ DT_IMAGE_AUTO_PRESETS_APPLIED
Definition common/image.h:71
@ DT_IMAGE_S_RAW
Definition common/image.h:88
@ DT_IMAGE_REMOVE
Definition common/image.h:69
@ DT_IMAGE_MONOCHROME_BAYER
Definition common/image.h:92
@ DT_IMAGE_LOCAL_COPY
Definition common/image.h:75
@ DT_IMAGE_RAW
Definition common/image.h:65
@ DT_IMAGE_REJECTED
Definition common/image.h:54
@ DT_IMAGE_4BAYER
Definition common/image.h:81
@ DT_IMAGE_MONOCHROME_WORKFLOW
Definition common/image.h:94
@ DT_IMAGE_THUMBNAIL_DEPRECATED
Definition common/image.h:60
@ DT_IMAGE_HAS_TXT
Definition common/image.h:77
@ DT_IMAGE_MONOCHROME
Definition common/image.h:83
@ DT_IMAGE_HDR
Definition common/image.h:67
@ DT_IMAGE_LDR
Definition common/image.h:63
@ DT_IMAGE_MONOCHROME_PREVIEW
Definition common/image.h:90
void dt_image_path_append_version_no_db(int version, char *pathname, size_t pathname_len)
Definition common/image.c:401
void dt_image_set_monochrome_flag(const int32_t imgid, gboolean monochrome)
Definition common/image.c:175
void dt_image_set_images_locations(const GList *imgs, const GArray *gloc, const gboolean undo_on)
Definition common/image.c:653
char * dt_image_get_audio_path_from_path(const char *image_path)
Definition common/image.c:2444
gboolean dt_image_use_monochrome_workflow(const dt_image_t *img)
Definition common/image.c:195
int dt_image_local_copy_set(const int32_t imgid)
Definition common/image.c:2064
void dt_image_film_roll_directory(const dt_image_t *img, char *pathname, size_t pathname_len)
Definition common/image.c:231
void dt_image_remove(const int32_t imgid)
Definition common/image.c:1003
char * dt_image_camera_missing_sample_message(const struct dt_image_t *img, gboolean logmsg)
Definition common/image.c:2526
int dt_image_get_xmp_rating_from_flags(const int flags)
Definition common/image.c:445
int32_t dt_image_import_lua(int32_t film_id, const char *filename)
Definition common/image.c:1515
int dt_image_read_duplicates(const uint32_t id, const char *filename, const gboolean clear_selection)
Definition common/image.c:1128
static dt_image_orientation_t dt_image_orientation(const dt_image_t *img)
Definition common/image.h:354
static const struct @7 loaders_info[LOADER_COUNT]
void dt_image_set_locations(const GList *img, const dt_image_geoloc_t *geoloc, const gboolean undo_on)
Definition common/image.c:600
int dt_image_local_copy_reset(const int32_t imgid)
Definition common/image.c:2137
gboolean dt_image_get_xmp_mode()
Definition common/image.c:273
char * dt_image_get_text_path(const int32_t imgid)
Definition common/image.c:2499
int32_t dt_image_get_id_full_path(const gchar *filename)
Definition common/image.c:1471
gboolean dt_image_is_rawprepare_supported(const dt_image_t *img)
Definition common/image.c:190
gboolean dt_image_safe_remove(const int32_t imgid)
Definition common/image.c:295
void dt_image_set_xmp_rating(dt_image_t *img, const int rating)
Definition common/image.c:457
dt_image_loader_t
Definition common/image.h:141
@ LOADER_PFM
Definition common/image.h:149
@ LOADER_AVIF
Definition common/image.h:153
@ LOADER_J2K
Definition common/image.h:145
@ LOADER_PNG
Definition common/image.h:144
@ LOADER_EXR
Definition common/image.h:147
@ LOADER_TIFF
Definition common/image.h:143
@ LOADER_JPEG
Definition common/image.h:146
@ LOADER_WEBP
Definition common/image.h:157
@ LOADER_GM
Definition common/image.h:150
@ LOADER_HEIF
Definition common/image.h:155
@ LOADER_RAWSPEED
Definition common/image.h:151
@ LOADER_PNM
Definition common/image.h:152
@ LOADER_RGBE
Definition common/image.h:148
@ LOADER_LIBRAW
Definition common/image.h:156
@ LOADER_UNKNOWN
Definition common/image.h:142
@ LOADER_COUNT
Definition common/image.h:158
@ LOADER_IM
Definition common/image.h:154
int dt_image_is_raw(const dt_image_t *img)
Definition common/image.c:120
void dt_image_flip(const int32_t imgid, const int32_t cw)
Definition common/image.c:768
int32_t dt_image_duplicate(const int32_t imgid)
Definition common/image.c:810
int dt_image_is_hdr(const dt_image_t *img)
Definition common/image.c:104
void dt_image_local_copy_synch()
Definition common/image.c:2310
int32_t dt_image_rename(const int32_t imgid, const int32_t filmid, const gchar *newname)
Definition common/image.c:1605
void dt_image_synch_xmp(const int selected)
Definition common/image.c:2276
void dt_get_dirname_from_imgid(gchar *dir, const int32_t imgid)
Definition common/image.c:2563
void dt_image_full_path(const int32_t imgid, char *pathname, size_t pathname_len, gboolean *from_cache, const char *calling_func)
Get the full path of an image out of the database. TODO: This gets called too many times and the outp...
Definition common/image.c:329
float dt_boundingbox_t[4]
Definition darktable.h:467
#define DT_MAX_FILENAME_LEN
Definition darktable.h:814
dt_mipmap_buffer_dsc_flags flags
Definition mipmap_cache.c:4
Definition common/image.h:186
double latitude
Definition common/image.h:187
double elevation
Definition common/image.h:187
double longitude
Definition common/image.h:187
Definition common/image.h:105
unsigned legacy
Definition common/image.h:106
unsigned user_flip
Definition common/image.h:107
Definition common/image.h:195
float exif_exposure
Definition common/image.h:199
float pixel_aspect_ratio
Definition common/image.h:253
int32_t height
Definition common/image.h:223
gboolean camera_missing_sample
Definition common/image.h:216
GTimeSpan export_timestamp
Definition common/image.h:230
char camera_model[64]
Definition common/image.h:212
float exif_focus_distance
Definition common/image.h:204
dt_boundingbox_t usercrop
Definition common/image.h:262
GTimeSpan import_timestamp
Definition common/image.h:230
int32_t group_id
Definition common/image.h:227
char camera_makermodel[128]
Definition common/image.h:214
float exif_exposure_bias
Definition common/image.h:200
uint16_t raw_black_level
Definition common/image.h:247
float exif_iso
Definition common/image.h:202
GList * dng_gain_maps
Definition common/image.h:265
dt_image_loader_t loader
Definition common/image.h:232
char camera_maker[64]
Definition common/image.h:211
uint32_t raw_white_point
Definition common/image.h:249
dt_iop_buffer_dsc_t buf_dsc
Definition common/image.h:234
int32_t exif_inited
Definition common/image.h:197
float exif_aperture
Definition common/image.h:201
int32_t version
Definition common/image.h:227
int32_t crop_height
Definition common/image.h:224
dt_image_geoloc_t geoloc
Definition common/image.h:244
char camera_legacy_makermodel[128]
Definition common/image.h:215
int32_t flags
Definition common/image.h:227
dt_image_orientation_t orientation
Definition common/image.h:198
int32_t width
Definition common/image.h:223
float exif_focal_length
Definition common/image.h:203
char exif_maker[64]
Definition common/image.h:206
GTimeSpan change_timestamp
Definition common/image.h:230
uint32_t profile_size
Definition common/image.h:238
int32_t crop_y
Definition common/image.h:224
int32_t num
Definition common/image.h:227
char camera_alias[64]
Definition common/image.h:213
char exif_lens[128]
Definition common/image.h:208
GTimeSpan print_timestamp
Definition common/image.h:230
int32_t film_id
Definition common/image.h:227
GTimeSpan exif_datetime_taken
Definition common/image.h:209
int32_t crop_x
Definition common/image.h:224
int color_labels
Definition common/image.h:268
float d65_color_matrix[9]
Definition common/image.h:236
int32_t p_height
Definition common/image.h:223
int32_t p_width
Definition common/image.h:223
char exif_model[64]
Definition common/image.h:207
dt_image_colorspace_t colorspace
Definition common/image.h:239
float adobe_XYZ_to_CAM[4][3]
Definition common/image.h:259
uint8_t * profile
Definition common/image.h:237
struct dt_cache_entry_t * cache_entry
Definition common/image.h:271
int32_t crop_width
Definition common/image.h:224
dt_image_raw_parameters_t legacy_flip
Definition common/image.h:241
char filename[DT_MAX_FILENAME_LEN]
Definition common/image.h:218
int32_t id
Definition common/image.h:227
uint16_t raw_black_level_separate[4]
Definition common/image.h:248
dt_aligned_pixel_t wb_coeffs
Definition common/image.h:256
float exif_crop
Definition common/image.h:205
uint32_t fuji_rotation_pos
Definition common/image.h:252
Definition develop/format.h:36