Review of image classes interfaces, part 2
This commit is contained in:
@@ -159,7 +159,7 @@ void Imagefloat::getScanline (int row, unsigned char* buffer, int bps, bool isFl
|
||||
}
|
||||
}
|
||||
|
||||
Imagefloat* Imagefloat::copy ()
|
||||
Imagefloat* Imagefloat::copy () const
|
||||
{
|
||||
|
||||
Imagefloat* cp = new Imagefloat (width, height);
|
||||
@@ -330,7 +330,7 @@ void Imagefloat::getStdImage (const ColorTemp &ctemp, int tran, Imagefloat* imag
|
||||
}
|
||||
|
||||
Image8*
|
||||
Imagefloat::to8()
|
||||
Imagefloat::to8() const
|
||||
{
|
||||
Image8* img8 = new Image8(width, height);
|
||||
#ifdef _OPENMP
|
||||
@@ -349,7 +349,7 @@ Imagefloat::to8()
|
||||
}
|
||||
|
||||
Image16*
|
||||
Imagefloat::to16()
|
||||
Imagefloat::to16() const
|
||||
{
|
||||
Image16* img16 = new Image16(width, height);
|
||||
#ifdef _OPENMP
|
||||
|
Reference in New Issue
Block a user