[tools] try fixing image byte-order
Merge branch 'bug-fix'

Still not completely sure what is the right byte-order but we can probably trust what KDE/KWin is doing here.