omg, major typo (fails if card supports rgb24)