1
#include "../profilemanager/lcmswrapper.h"
2
#include "imagesource.h"
4
ImageSource::ImageSource() : embeddedprofile(NULL), rowbuffer(NULL)
9
ImageSource::ImageSource(ImageSource *src) : rowbuffer(NULL)
14
samplesperpixel=src->samplesperpixel;
17
randomaccess=src->randomaccess;
18
embeddedprofile=src->embeddedprofile;
23
ImageSource::~ImageSource()
30
void ImageSource::MakeRowBuffer()
32
rowbuffer=(ISDataType *)malloc(sizeof(ISDataType)*width*samplesperpixel);
37
void ImageSource::SetResolution(double xr,double yr)
44
CMSProfile *ImageSource::GetEmbeddedProfile()
46
return(embeddedprofile);
50
void ImageSource::SetEmbeddedProfile(CMSProfile *profile)
53
delete embeddedprofile;
54
embeddedprofile=profile;