[Digikam-devel] [Bug 108902] New: Golden ratio aspect crop

Mark A.Taff marktaff at comcast.net
Mon Jul 11 05:58:53 BST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=108902         
           Summary: Golden ratio aspect crop
           Product: digikam
           Version: 0.7.3-beta2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: marktaff comcast net


Version:           0.7.3-beta2 (using KDE 3.4.1 Level "a" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.7-smp

It is currently not very easy to crop an image to the golden ratio (1:1.618033...) using the aspect ratio crop feature.  You either have to approximate it as 10:16, which is IMHO not a close enough approximation, or you have to do the math by hand with a given base dimension.

Short of using double/float, 1,000:1,618 or 10,000:16,180 should be a close enough approximation.

Thanks.

Mark



More information about the Digikam-devel mailing list