Fix broken non-raw images
This commit is contained in:
parent
b090fd7d2f
commit
99c8b60615
@ -106,11 +106,7 @@ public:
|
|||||||
return sampleArrangement;
|
return sampleArrangement;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, PreviewProps pp, bool first)
|
virtual void getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, PreviewProps pp) = 0;
|
||||||
{
|
|
||||||
printf("getStdImage NULL!\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual int getBPS () = 0;
|
virtual int getBPS () = 0;
|
||||||
virtual void getScanline (int row, unsigned char* buffer, int bps, bool isFloat = false) {}
|
virtual void getScanline (int row, unsigned char* buffer, int bps, bool isFloat = false) {}
|
||||||
virtual void setScanline (int row, unsigned char* buffer, int bps, unsigned int numSamples = 3) {}
|
virtual void setScanline (int row, unsigned char* buffer, int bps, unsigned int numSamples = 3) {}
|
||||||
|
@ -194,7 +194,7 @@ void StdImageSource::getImage (const ColorTemp &ctemp, int tran, Imagefloat* ima
|
|||||||
|
|
||||||
// the code will use OpenMP as of now.
|
// the code will use OpenMP as of now.
|
||||||
|
|
||||||
img->getStdImage(ctemp, tran, image, pp, true);
|
img->getStdImage(ctemp, tran, image, pp);
|
||||||
|
|
||||||
// Hombre: we could have rotated the image here too, with just few line of code, but:
|
// Hombre: we could have rotated the image here too, with just few line of code, but:
|
||||||
// 1. it would require other modifications in the engine, so "do not touch that little plonker!"
|
// 1. it would require other modifications in the engine, so "do not touch that little plonker!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user