You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
403 B

#ifndef FILE_HELPER_H
#define FILE_HELPER_H
#include <QByteArray>
#include <QStringList>
class FileHelper
{
public:
FileHelper()
{
}
static bool ReadInputFile(QByteArray& arr, QString path, quint64* width, quint64* height);
static bool ReadInputFile(QByteArray& arr, QString path);
static bool WriteOutputFile(char* arr, QString path, quint64 width, quint64 height);
};
#endif //FILE_HELPER_H