added initial support for Sigma sd Quattro DNG files

See #3858
This commit is contained in:
Alberto Griggio
2017-05-04 17:25:14 +02:00
parent aff3a03b57
commit b36aa29c36
3 changed files with 23 additions and 6 deletions

View File

@@ -547,8 +547,8 @@ int RawImage::loadRaw (bool loadData, unsigned int imageNum, bool closeFile, Pro
crop_masked_pixels();
free (raw_image);
raw_image = nullptr;
} else {
if (is_foveon && cc && cc->has_rawCrop()) { // foveon images
} else {
if (get_maker() == "Sigma" && cc && cc->has_rawCrop()) { // foveon images
int lm, tm, w, h;
cc->get_rawCrop(lm, tm, w, h);
left_margin = lm;