1
//////////////////////////////////////////////////////////////////////////////
5
// Copyright (C) 2003-2004 Renchi Raju <renchi at pooh.tam.uiuc.edu>
6
// Gilles CAULIER <caulier dot gilles at free.fr>
8
// This program is free software; you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation; either version 2 of the License, or
11
// (at your option) any later version.
13
// This program is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
18
// You should have received a copy of the GNU General Public License
19
// along with this program; if not, write to the Free Software
20
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
//////////////////////////////////////////////////////////////////////////////
1
/* ============================================================
2
* Authors: Renchi Raju <renchi@pooh.tam.uiuc.edu>
3
* Gilles Caulier <caulier dot gilles at kdemail dot net>
5
* Description : digiKam KIO slave to get image thumbnails.
7
* Copyright 2003-2005 by Renchi Raju, Gilles Caulier
8
* Copyright 2006 by Gilles Caulier
10
* This program is free software; you can redistribute it
11
* and/or modify it under the terms of the GNU General
12
* Public License as published by the Free Software Foundation;
13
* either version 2, or (at your option)
16
* This program 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.
21
* ============================================================ */
24
23
#ifndef _digikamthumbnail_H_
25
24
#define _digikamthumbnail_H_
47
bool loadByExtension(QImage& image, const QString& path);
47
48
bool loadJPEG(QImage& image, const QString& path);
48
49
bool loadImlib2(QImage& image, const QString& path);
49
50
bool loadKDEThumbCreator(QImage& image, const QString& path);
50
51
bool loadDCRAW(QImage& image, const QString& path);
51
52
void createThumbnailDirs();
60
QString smallThumbPath_;
61
QString bigThumbPath_;
63
QString smallThumbPath_;
64
QString bigThumbPath_;
63
66
QApplication *app_;