-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsteganography.h
64 lines (44 loc) · 1.55 KB
/
steganography.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef STEGANOGRAPHY_H
#define STEGANOGRAPHY_H
#include "qimage.h"
class Steganography
{
public:
Steganography(QString file);
bool imageIsNull();
bool saveImage(QString file);
int insertBitstream(QString*);
int insertBitstream(QList<uint>* list);
int insertBitstream_3BitsPerPixel(QList<uint>* l);
int insertBitstream_3BitsPerPixel(QString* s);
int insertBitstream_6BitsPerPixel(QString* s);
int insertBitstream_6BitsPerPixel(QList<uint>* s);
QString* getBitStream();
QList<uint>* getBitStreamAsIntList();
QList<uint>* getBitstreamAsIntList_3BitsPerPixel();
QList<uint>* getBitstreamAsIntList_6BitsPerPixel();
QString* getBitstream_3BitsPerPixel();
QString* getBitstream_6BitsPerPixel();
int getIntFromHeader(int from);
int getSizeFromHeader();
int getFormatFromHeader();
int getFirstAttributeFromHeader();
int getSecondAttributeFromHeader();
int getBitsPerPixelFromHeader();
int getSequenceNoFromHeader();
int getRealSizeFromHeader();
int insertIntInHeader(int, int);
int insertSizeInHeader(int);
int insertTBFieldInHeader(int format);
int insertFirstAttribute(int);
int insertSecondAttribute(int);
int insertBitsPerPixelInHeader(int bitsPerPixel);
int insertSequenceNoInHeader(int sequenceNo);
int insertRealSizeInHeader(int realSize);
int insertPictureHeader(int, int, int); // rausnehmen??
QChar lastBit(int i);
int calcInkrement(int pixels, int bits, int bitsPerPixel);
private:
QImage image;
};
#endif // STEGANOGRAPHY_H