fix upside-down; add 24-bit demo