This commit is contained in:
parent
2fba2715ca
commit
da5e16073e
@ -1,23 +0,0 @@
|
||||
diff --git a/src/libraw_cxx.cpp b/src/libraw_cxx.cpp
|
||||
index b5fe5eab..b1d6d3c0 100644
|
||||
--- a/src/libraw_cxx.cpp
|
||||
+++ b/src/libraw_cxx.cpp
|
||||
@@ -3195,7 +3195,7 @@ int LibRaw::raw2image(void)
|
||||
get_decoder_info(&decoder_info);
|
||||
|
||||
// Move saved bitmap to imgdata.image
|
||||
- if (imgdata.idata.filters || P1.colors == 1)
|
||||
+ if ((imgdata.idata.filters || P1.colors == 1) && imgdata.rawdata.raw_image)
|
||||
{
|
||||
if (IO.fuji_width)
|
||||
{
|
||||
@@ -3566,7 +3566,7 @@ int LibRaw::raw2image_ex(int do_subtract_black)
|
||||
}
|
||||
|
||||
// Move saved bitmap to imgdata.image
|
||||
- if (imgdata.idata.filters || P1.colors == 1)
|
||||
+ if ((imgdata.idata.filters || P1.colors == 1) && imgdata.rawdata.raw_image)
|
||||
{
|
||||
if (IO.fuji_width)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user