![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Functions | |
dt_imageio_retval_t | dt_imageio_open_j2k (dt_image_t *img, const char *filename, dt_mipmap_buffer_t *buf) |
int | dt_imageio_j2k_read_profile (const char *filename, uint8_t **out) |
int dt_imageio_j2k_read_profile | ( | const char * | filename, |
uint8_t ** | out | ||
) |
reads the color profile attached to the image
References DT_IMAGEIO_FILE_CORRUPTED, get_file_format(), J2K_HEAD, JP2_HEAD, and JP2_MAGIC.
Referenced by dt_image_find_best_color_profile().
dt_imageio_retval_t dt_imageio_open_j2k | ( | dt_image_t * | img, |
const char * | filename, | ||
dt_mipmap_buffer_t * | buf | ||
) |
References dt_image_t::buf_dsc, dt_iop_buffer_dsc_t::channels, color_sycc_to_rgb(), dt_iop_buffer_dsc_t::cst, darktable, dt_iop_buffer_dsc_t::datatype, dt_exif_read(), DT_IMAGE_LDR, DT_IMAGEIO_CACHE_FULL, DT_IMAGEIO_FILE_CORRUPTED, DT_IMAGEIO_FILE_NOT_FOUND, DT_IMAGEIO_OK, dt_mipmap_cache_alloc(), error_callback(), dt_image_t::exif_inited, dt_iop_buffer_dsc_t::filters, dt_image_t::flags, get_file_format(), dt_image_t::height, IOP_CS_RGB, J2K_CFMT, J2K_HEAD, JP2_CFMT, JP2_HEAD, JP2_MAGIC, JPT_CFMT, dt_image_t::loader, LOADER_J2K, MIN, darktable_t::num_openmp_threads, TYPE_FLOAT, void(), and dt_image_t::width.
Referenced by dt_imageio_open_raster().