Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
imageio_tiff.h
Go to the documentation of this file.
1
/*
2
This file is part of darktable,
3
Copyright (C) 2010 Henrik Andersson.
4
Copyright (C) 2010-2011, 2014 johannes hanika.
5
Copyright (C) 2012 Richard Wonka.
6
Copyright (C) 2014, 2016 Tobias Ellinghaus.
7
Copyright (C) 2020 Pascal Obry.
8
Copyright (C) 2022 Martin BaĆinka.
9
10
darktable is free software: you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation, either version 3 of the License, or
13
(at your option) any later version.
14
15
darktable is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with darktable. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
#ifndef DT_IMAGEIO_IMAGEIO_TIFF_H
25
#define DT_IMAGEIO_IMAGEIO_TIFF_H
26
27
#include "
common/image.h
"
28
#include "
caches/mipmap_cache.h
"
29
30
dt_imageio_retval_t
dt_imageio_open_tiff
(
dt_image_t
*img,
const
char
*filename,
dt_mipmap_buffer_t
*buf);
31
32
int
dt_imageio_tiff_read_profile
(
const
char
*filename, uint8_t **
out
);
33
53
gboolean
dt_imageio_tiff_decode_blob
(
const
uint8_t *blob,
size_t
bufsize, uint8_t **
out
,
54
int32_t *
width
, int32_t *
height
);
55
56
#endif
// DT_IMAGEIO_IMAGEIO_TIFF_H
57
58
// clang-format off
59
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
60
// vim: shiftwidth=2 expandtab tabstop=2 cindent
61
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
62
// clang-format on
63
out
const dt_colormatrix_t dt_aligned_pixel_t out
Definition
colorspaces_inline_conversions.h:43
image.h
dt_imageio_retval_t
dt_imageio_retval_t
Definition
image.h:91
dt_imageio_tiff_decode_blob
gboolean dt_imageio_tiff_decode_blob(const uint8_t *blob, size_t bufsize, uint8_t **out, int32_t *width, int32_t *height)
Decode a TIFF held in memory into 8-bit RGBx, for the previews raw files embed.
Definition
imageio_tiff.c:651
dt_imageio_tiff_read_profile
int dt_imageio_tiff_read_profile(const char *filename, uint8_t **out)
Definition
imageio_tiff.c:517
dt_imageio_open_tiff
dt_imageio_retval_t dt_imageio_open_tiff(dt_image_t *img, const char *filename, dt_mipmap_buffer_t *buf)
Definition
imageio_tiff.c:354
width
uint32_t width
Definition
mipmap_cache.c:0
height
uint32_t height
Definition
mipmap_cache.c:1
mipmap_cache.h
dt_image_t
Definition
image.h:363
dt_mipmap_buffer_t
Definition
mipmap_cache.h:71
src
imageio
imageio_tiff.h
Generated by
1.9.8