libopenraw
thumbnail.hpp
1 /*
2  * libopenraw - thumbnail.h
3  *
4  * Copyright (C) 2005-2007 Hubert Figuiere
5  *
6  * This library is free software: you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public License
8  * as published by the Free Software Foundation, either version 3 of
9  * the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
20 
21 
22 #ifndef LIBOPENRAWPP_THUMBNAIL_H_
23 #define LIBOPENRAWPP_THUMBNAIL_H_
24 
25 #include "bitmapdata.hpp"
26 
27 namespace OpenRaw {
28 
30  class Thumbnail
31  : public BitmapData
32  {
33  public:
34  Thumbnail();
35  virtual ~Thumbnail();
36 
43  static Thumbnail *
44  getAndExtractThumbnail(const char *_filename,
45  uint32_t preferred_size,
46  ::or_error & err);
47 
48  private:
49 
50  Thumbnail(const Thumbnail&);
51  Thumbnail & operator=(const Thumbnail &);
52 
53  class Private;
55  };
56 
57 }
58 
59 #endif
60 
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard. I guess it failed.
Definition: arwfile.cpp:30
static Thumbnail * getAndExtractThumbnail(const char *_filename, uint32_t preferred_size, ::or_error &err)
Definition: thumbnail.cpp:53