Subversion Repositories Scribus

Rev

Rev 11331 | Rev 14539 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5977 jghali 1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
10223 cbradney 7
 
5937 jghali 8
#include "scimagestructs.h"
9
 
10
ExifValues::ExifValues(void)
11
{
12
        init();
13
}
14
 
15
void ExifValues::init(void)
16
{
17
        width = 0;
18
        height = 0;
7980 fschmid 19
        ExposureTime = 0;
20
        ApertureFNumber = 0;
21
        ISOequivalent = 0;
10508 cbradney 22
        cameraName.resize(0);
23
        cameraVendor.resize(0);
24
        comment.resize(0);
25
        userComment.resize(0);
26
        artist.resize(0);
27
        copyright.resize(0);
28
        dateTime.resize(0);
5937 jghali 29
        thumbnail = QImage();
30
}
31
 
32
ImageInfoRecord::ImageInfoRecord(void)
33
{
34
        init();
35
}
36
 
37
void ImageInfoRecord::init(void)
38
{
11331 jghali 39
        type = ImageTypeOther;  /* 0 = jpg, 1 = tiff, 2 = psd, 3 = eps/ps, 4 = pdf, 5 = jpg2000, 6 = other */
5937 jghali 40
        xres = 72;
41
        yres = 72;
42
        BBoxX = 0;
43
        BBoxH = 0;
11331 jghali 44
        colorspace = ColorSpaceRGB; /* 0 = RGB  1 = CMYK  2 = Grayscale 3 = Duotone */
5937 jghali 45
        valid = false;
46
        isRequest = false;
47
        progressive = false;
48
        isEmbedded = false;
49
        exifDataValid = false;
50
        lowResType = 1; /* 0 = full Resolution, 1 = 72 dpi, 2 = 36 dpi */
51
        lowResScale = 1.0;
52
        PDSpathData.clear();
53
        RequestProps.clear();
12080 avox 54
        numberOfPages = 1;
55
        actualPageNumber = 0; // default
10508 cbradney 56
        clipPath.resize(0);
57
        usedPath.resize(0);
58
        profileName.resize(0);
5937 jghali 59
        layerInfo.clear();
6085 fschmid 60
        duotoneColors.clear();
5937 jghali 61
        exifInfo.init();
62
}