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