Commit 17113811 authored by Sven Langkamp's avatar Sven Langkamp

fix loading of aoc palettes, K channel had the wrong index

parent 59ddfa43
......@@ -488,7 +488,7 @@ bool KoColorSet::loadAco()
reinterpret_cast<quint16*>(e.color.data())[0] = quint16_MAX - ch1;
reinterpret_cast<quint16*>(e.color.data())[1] = quint16_MAX - ch2;
reinterpret_cast<quint16*>(e.color.data())[2] = quint16_MAX - ch3;
reinterpret_cast<quint16*>(e.color.data())[4] = quint16_MAX - ch4;
reinterpret_cast<quint16*>(e.color.data())[3] = quint16_MAX - ch4;
e.color.setOpacity(OPACITY_OPAQUE_U8);
}
else if (colorSpace == 7) { // LAB
......
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