-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathqmyimage.h
39 lines (37 loc) · 898 Bytes
/
qmyimage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef QMYIMAGE_H
#define QMYIMAGE_H
#include "lzss.h"
#include <QObject>
class QMyImage : public QObject
{
Q_OBJECT
LZSS *imLzss;
bool reverseCode;
bool im_Direct;
int maxBufferSize;
QStringList *files;
QStringList *filesOut;
QString pixInfo;
QString qstr;
public:
explicit QMyImage(QObject *parent = 0);
bool pixelInfo(const QString &,int nNum);
signals:
public slots:
void imOpen();
void setReverseCodeC();
void setReverseCodeD();
//void pixelInfo();
void setDeDirectC();
void setDeDirectD();
void saveToText();
QString imageFrame(int num);
int numofImage();
void compressFile(QString,QString,int);
void uncompressFile(QString,QString,int);
bool setBufferSize(QString);
QString dataToCompress();
QString sendlzData();
unsigned long dataCompress(QString picPixel);
};
#endif // QMYIMAGE_H