PlayStation TIM image format decoding and encoding.