Floating point dng files in [0;1] range have black thumbnail, fixes #4669

This commit is contained in:
heckflosse
2018-07-07 16:09:37 +02:00
parent 523fe40662
commit 9224d6e18c
3 changed files with 37 additions and 30 deletions

View File

@@ -167,10 +167,22 @@ public:
{
return top_margin;
}
int get_rawwidth() const
{
return raw_width;
}
int get_FujiWidth() const
{
return fuji_width;
}
float const * get_FloatRawImage() const
{
return float_raw_image;
}
eSensorType getSensorType();
void getRgbCam (float rgbcam[3][4]);
@@ -312,6 +324,11 @@ public:
return filters == 9;
}
bool isFloat() const
{
return float_raw_image;
}
public:
// dcraw functions
void pre_interpolate()