diff options
author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-29 14:12:34 +0000 |
---|---|---|
committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-29 14:12:34 +0000 |
commit | 99eacf503165b7912932ab1821953abb2d8e6aa7 (patch) | |
tree | ae96b14bd48f36ee26606e13da81261677e7bfdb /ChangeLog | |
parent | 1db00c5523e7da715c3ab6df20b8dbb81acee83a (diff) | |
download | libgpod-99eacf503165b7912932ab1821953abb2d8e6aa7.tar.gz libgpod-99eacf503165b7912932ab1821953abb2d8e6aa7.tar.xz libgpod-99eacf503165b7912932ab1821953abb2d8e6aa7.zip |
* src/ithumb-writer.c (itdb_write_ithumb_files): fix bug when
writing photos (loop variable "it" re-used inside loop).
Rename loop variable to "itw" also in case of writing artwork.
* src/itdb_thumb.c (itdb_thumb_to_pixbuf_at_size):
If requesting a thumb from the iPod smaller than available, none
would be returned. Fixed. Thumbs from the iPod would not be
scaled even if requested. Fixed.
If requesting a thumb from a file or existing pixbuf, scaling
was done even if none was requested (width/height =
0/-1). Fixed.
Introduced selection of smallest available thumbnail
(width/height = 0) besides largest available thumbnail
(width/height = -1).
TODO: consider aspect ratio of requested picture (currently it
is very likely that some of the square thumbs are returned...)
src/itdb_artwork.c (itdb_artwork_get_thumbnail):
Introduced selection of smallest available thumbnail
(width/height = 0) besides largest available thumbnail
(width/height = -1). (Only necessary documentation.)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2025 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -4,6 +4,28 @@ writing photos (loop variable "it" re-used inside loop). Rename loop variable to "itw" also in case of writing artwork. + * src/itdb_thumb.c (itdb_thumb_to_pixbuf_at_size): + + If requesting a thumb from the iPod smaller than available, none + would be returned. Fixed. Thumbs from the iPod would not be + scaled even if requested. Fixed. + + If requesting a thumb from a file or existing pixbuf, scaling + was done even if none was requested (width/height = + 0/-1). Fixed. + + Introduced selection of smallest available thumbnail + (width/height = 0) besides largest available thumbnail + (width/height = -1). + + TODO: consider aspect ratio of requested picture (currently it + is very likely that some of the square thumbs are returned...) + + src/itdb_artwork.c (itdb_artwork_get_thumbnail): + Introduced selection of smallest available thumbnail + (width/height = 0) besides largest available thumbnail + (width/height = -1). (Only necessary documentation.) + 2008-06-28 Christophe Fergeau <teuf@gnome.org> patch by: Mike Heffner <mikeh@fesnel.com> |