summaryrefslogtreecommitdiffstats
path: root/src/db-image-parser.c
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2008-06-29 14:12:34 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2008-06-29 14:12:34 +0000
commita15fe143900dc0b77a6f73d21872daa2f24890a9 (patch)
treeae96b14bd48f36ee26606e13da81261677e7bfdb /src/db-image-parser.c
parentf2ccfe9d3dbff5055d3a5028ed6994ce1d1ddb86 (diff)
downloadlibgpod-a15fe143900dc0b77a6f73d21872daa2f24890a9.tar.gz
libgpod-a15fe143900dc0b77a6f73d21872daa2f24890a9.tar.xz
libgpod-a15fe143900dc0b77a6f73d21872daa2f24890a9.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 'src/db-image-parser.c')
0 files changed, 0 insertions, 0 deletions