GNOME Bugzilla – Bug 778745
Thumbnail RAW files
Last modified: 2018-01-23 10:10:05 UTC
Some RAW files, like Canon's CR2, gets thumbnailed because GdkPixbuf's TIFF loader can handle them. But others, like Fuji's RAF and Sony's ARW, don't. We should write a LibRaw based loader for those.
Photos' thumbnailer uses GdkPixbuf to load the source item. Therefore, for immediate benefit we need a LibRaw [1] based decoder for GdkPixbuf. This decoder can live inside gdk-pixbuf.git, or inside a separate gdk-pixbuf-loader-libraw.git, or directly inside gnome-photos.git. (Long term, we want to move away from GdkPixbuf towards GeglBuffer wherever possible. However, we need to improve GeglBuffer's codec API before doing that.) Libopenraw [2] is another RAW library like LibRaw, and it comes with a GdkPixbuf codec. There is a generic GNOME thumbnailer [3] that's written using this. However, we want to stick to LibRaw to avoid having two RAW libraries in the dependency chain. LibRaw seems more mainstream at the moment, so it's probably better to stick to it. Also, note that Photos has its own custom thumbnailer so it can't use GNOME's generic thumbnailing infrastructure, but it's still something that we can consult and learn from. [1] https://www.libraw.org/ [2] https://libopenraw.freedesktop.org/wiki/ [3] https://git.gnome.org/browse/gnome-raw-thumbnailer/
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-photos/issues/60.