incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <>
Subject [jira] [Created] (CB-1008) Camera with targetHeight, targetWidth loses image aspect ratio
Date Thu, 05 Jul 2012 13:39:34 GMT
Simon MacDonald created CB-1008:

             Summary: Camera with targetHeight, targetWidth loses image aspect ratio
                 Key: CB-1008
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.9.0
            Reporter: Simon MacDonald
            Assignee: Simon MacDonald

Using Camera on Android (2.2.x) with PhoneGap 1.9.0, and setting the targetHeight and targetWidth
results in an image resized to these dimensions, losing aspect ratio. I'd expected the image
to resize to fit within target size, maintaining aspect ratio.

For example: an image originally 2000 x 3000 px with targetHeight = 600, targetWidth = 600
returns a 600 x 600 px image instead of a 400 x 600 px image.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message