Mercurial > geeqie.yaz
comparison src/thumb.c @ 1060:1e2de04c6fc4
added option to use exif thumbnails
- it requires exiv2 0.18 or the current svn
- it is disabled by default because the exif thumbnails
may be outdated if the image was edited
author | nadvornik |
---|---|
date | Sat, 11 Oct 2008 20:19:48 +0000 |
parents | 1646720364cf |
children | 95860439070b |
comparison
equal
deleted
inserted
replaced
1059:008dfb7b1e42 | 1060:1e2de04c6fc4 |
---|---|
469 | 469 |
470 ThumbLoader *thumb_loader_new(gint width, gint height) | 470 ThumbLoader *thumb_loader_new(gint width, gint height) |
471 { | 471 { |
472 ThumbLoader *tl; | 472 ThumbLoader *tl; |
473 | 473 |
474 if (options->thumbnails.spec_standard) | 474 /* non-std thumb loader is more effective for configurations with disabled caching |
475 because it loads the thumbnails at the required size. loader_std loads | |
476 the thumbnails at the sizes appropriate for standard cache (typically 256x256 pixels) | |
477 and then performs one additional scaling */ | |
478 if (options->thumbnails.spec_standard && options->thumbnails.enable_caching) | |
475 { | 479 { |
476 return (ThumbLoader *)thumb_loader_std_new(width, height); | 480 return (ThumbLoader *)thumb_loader_std_new(width, height); |
477 } | 481 } |
478 | 482 |
479 tl = g_new0(ThumbLoader, 1); | 483 tl = g_new0(ThumbLoader, 1); |