comparison Framework/Inputs/PlainTiff.h @ 298:fa734a851551

New option: "tiff-alignment" to control deep zoom of plain TIFF over IIIF
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Jul 2023 08:19:16 +0200
parents
children 7020852a8fa9
comparison
equal deleted inserted replaced
297:c1687b8fc800 298:fa734a851551
1 /**
2 * Orthanc - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
4 * Department, University Hospital of Liege, Belgium
5 * Copyright (C) 2017-2023 Osimis S.A., Belgium
6 * Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
7 *
8 * This program is free software: you can redistribute it and/or
9 * modify it under the terms of the GNU Affero General Public License
10 * as published by the Free Software Foundation, either version 3 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 **/
21
22
23 #pragma once
24
25 #include "SingleLevelDecodedPyramid.h"
26
27
28 namespace OrthancWSI
29 {
30 class PlainTiff : public SingleLevelDecodedPyramid
31 {
32 private:
33 std::unique_ptr<Orthanc::ImageAccessor> decoded_;
34
35 public:
36 PlainTiff(const std::string& path,
37 unsigned int tileWidth,
38 unsigned int tileHeight,
39 unsigned int paddingAlignement,
40 uint8_t paddingRed,
41 uint8_t paddingGreen,
42 uint8_t paddingBlue);
43 };
44 }