Prepare rtengine to allow extraction of individual frames from multi frame raw files (i.e. Pentax pixel shift)
This commit is contained in:
@@ -398,7 +398,7 @@ skip_block:
|
||||
}
|
||||
}
|
||||
|
||||
int RawImage::loadRaw (bool loadData, bool closeFile, ProgressListener *plistener, double progressRange)
|
||||
int RawImage::loadRaw (bool loadData, bool closeFile, ProgressListener *plistener, double progressRange, unsigned int frameNum)
|
||||
{
|
||||
ifname = filename.c_str();
|
||||
image = nullptr;
|
||||
@@ -435,6 +435,8 @@ int RawImage::loadRaw (bool loadData, bool closeFile, ProgressListener *plistene
|
||||
return 2;
|
||||
}
|
||||
|
||||
setFrameNumber(frameNum);
|
||||
|
||||
if (flip == 5) {
|
||||
this->rotate_deg = 270;
|
||||
} else if (flip == 3) {
|
||||
|
||||
Reference in New Issue
Block a user