kde-workspace/kioslave/thumbnail/icoutils.h

33 lines
1.2 KiB
C
Raw Normal View History

2014-11-15 04:16:00 +02:00
/*
icoutils.h - Extract Microsoft Window icons and images using icoutils package
Copyright (c) 2009-2010 by Pali Rohár <pali.rohar@gmail.com>
Copyright (c) 2013 by Andrius da Costa Ribas <andriusmao@gmail.com>
*************************************************************************
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
*************************************************************************
*/
#ifndef ICO_UTILS_H
#define ICO_UTILS_H
#include <QString>
#include <QImage>
2014-11-15 04:16:00 +02:00
namespace IcoUtils
{
bool loadIcoImageFromExe(const QString &inputPath, QImage &image, int needWidth, int needHeigh);
2014-11-15 04:16:00 +02:00
bool loadIcoImage(const QString &inputFileName, QImage &image, int needWidth, int needHeight);
2014-11-15 04:16:00 +02:00
}
#endif //ICO_UTILS_H