Commit 72a7c8f1 authored by Cyril Richard's avatar Cyril Richard

This fix the orientation issue:

row order reversing will work differently for odd and even row count.
parent c55c2c3a
......@@ -2531,7 +2531,7 @@ bool FITSData::checkDebayer()
QString order(roworder);
order = order.remove('\'').trimmed();
if (order == "BOTTOM-UP")
if (order == "BOTTOM-UP" && !(stats.height % 2))
{
if (pattern == "RGGB")
pattern = "GBRG";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment