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
|
|
|
|
|
2019-05-05 02:36:36 +00:00
|
|
|
#include <QString>
|
|
|
|
#include <QImage>
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
namespace IcoUtils
|
|
|
|
{
|
|
|
|
|
2022-10-09 00:32:49 +03:00
|
|
|
bool loadIcoImageFromExe(const QString &inputPath, QImage &image, int needWidth, int needHeigh);
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-10-09 00:32:49 +03:00
|
|
|
bool loadIcoImage(const QString &inputFileName, QImage &image, int needWidth, int needHeight);
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //ICO_UTILS_H
|