Blend CMS with matrix feature

see issue 951
This commit is contained in:
Oliver Duis
2011-08-31 19:49:00 +02:00
parent f89fcd56ba
commit d76f3c38c5
11 changed files with 74 additions and 18 deletions

View File

@@ -36,6 +36,13 @@ Imagefloat::Imagefloat (int w, int h)
allocate (w, h);
}
// Copy other image
Imagefloat::Imagefloat (Imagefloat& other) {
unaligned=NULL; data=NULL;
allocate (other.width, other.height);
memcpy(data, other.data, width*height*3);
}
Imagefloat::~Imagefloat () {
if (data!=NULL) {