Summary: | Preserve aspect ratio of tag icons instead of stretching them to be square | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michał Kosmulski <michal> |
Component: | Usability-Themes | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 |
Description
Michał Kosmulski
2004-10-15 09:46:42 UTC
CVS commit by jahrens: Cropping tag thumbnails, so they fit the icon frame now. Additionally: Displaying the tag thumbnails in all dialogs now (edit/create tag dialog and in the "Comment/Tag" dialog). CCMAIL: 91373-done@bugs.kde.org M +2 -2 album.cpp 1.10 M +9 -32 albumfolderview.cpp 1.50 M +84 -0 syncjob.cpp 1.3 M +16 -1 syncjob.h 1.3 M +6 -13 tagcreatedlg.cpp 1.6 M +5 -6 tagspopupmenu.cpp 1.2 M +0 -1 thumbview.cpp 1.23 I'm using 0.7.0 rc1 now and tag icons have the correct aspect ratio, but it seems their size is always "fit to width". I happen to have some icons which are photographs in portrait mode - and in this case (height>width) the larger dimension is height, so scaling should be such that if icons are 32x32 px, images' height should be 32 and width should be scaled accordingly, preserving the aspect ratio. the tag/album icons are quite small (32x32) and in order to maximize the visual information in such a small region, the icons are cropped (in both landscape and portrait) to retain only the center of the region. this is done currently only for the tag albums, but at some point the album thumbnails will be modified to do the same. preserving the aspect ratio is not done, because the thumbnail is a representation of the tag/album and not of the actual image inside it |