Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
imageio_im.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-2012, 2014 johannes hanika.
5
Copyright (C) 2012 Richard Wonka.
6
Copyright (C) 2012 Ulrich Pegelow.
7
Copyright (C) 2014, 2016 Tobias Ellinghaus.
8
Copyright (C) 2020 Matthieu Volat.
9
Copyright (C) 2020-2021 Pascal Obry.
10
Copyright (C) 2022 Martin BaĆinka.
11
12
darktable is free software: you can redistribute it and/or modify
13
it under the terms of the GNU General Public License as published by
14
the Free Software Foundation, either version 3 of the License, or
15
(at your option) any later version.
16
17
darktable is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
GNU General Public License for more details.
21
22
You should have received a copy of the GNU General Public License
23
along with darktable. If not, see <http://www.gnu.org/licenses/>.
24
*/
25
#ifndef DT_IMAGEIO_IM_H
26
#define DT_IMAGEIO_IM_H
27
28
#include "
common/image.h
"
29
#include "
common/mipmap_cache.h
"
30
31
#ifdef HAVE_IMAGEMAGICK
32
dt_imageio_retval_t
dt_imageio_open_im
(
dt_image_t
*img,
const
char
*filename,
dt_mipmap_buffer_t
*buf);
33
#else
34
inline
dt_imageio_retval_t
dt_imageio_open_im
(
dt_image_t
*img,
const
char
*filename,
35
dt_mipmap_buffer_t
*buf)
36
{
37
return
DT_IMAGEIO_FILE_NOT_FOUND
;
38
}
39
#endif
40
41
#endif
42
// clang-format off
43
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
44
// vim: shiftwidth=2 expandtab tabstop=2 cindent
45
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
46
// clang-format on
47
image.h
dt_imageio_retval_t
dt_imageio_retval_t
Definition
common/image.h:78
DT_IMAGEIO_FILE_NOT_FOUND
@ DT_IMAGEIO_FILE_NOT_FOUND
Definition
common/image.h:80
dt_imageio_open_im
dt_imageio_retval_t dt_imageio_open_im(dt_image_t *img, const char *filename, dt_mipmap_buffer_t *buf)
Definition
imageio_im.h:34
mipmap_cache.h
dt_image_t
Definition
common/image.h:247
dt_mipmap_buffer_t
Definition
mipmap_cache.h:68
src
common
imageio_im.h
Generated by
1.9.8