commit 0a69295acdba712941cf81206c67d2690b63b079 Author: Christophe Fergeau Date: Mon Nov 2 00:47:29 2009 +0100 parse iphone artwork formats from SysInfoExtended diff --git a/src/itdb_sysinfo_extended_parser.c b/src/itdb_sysinfo_extended_parser.c index f996b53..02affbe 100644 --- a/src/itdb_sysinfo_extended_parser.c +++ b/src/itdb_sysinfo_extended_parser.c @@ -398,6 +398,12 @@ set_pixel_format (Itdb_ArtworkFormat *img_spec, GHashTable *dict) img_spec->format = THUMB_FORMAT_RGB565_LE; } else if (strcmp (pixel_format, "79343230" /* y420 */) == 0) { img_spec->format = THUMB_FORMAT_I420_LE; + } else if (strcmp (pixel_format, "4C353535" /* L555 */) == 0) { + if (g_hash_table_lookup (dict, "PixelOrder") != NULL) { + img_spec->format = THUMB_FORMAT_REC_RGB555_LE; + } else { + img_spec->format = THUMB_FORMAT_RGB555_LE; + } } else { g_free (pixel_format); return FALSE;