{ "id": "62175", "key": "TIMOB-1543", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11237", "name": "Release 1.6.0 M04", "archived": true, "released": true, "releaseDate": "2011-01-10" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:28.000+0000", "created": "2011-04-15T02:55:34.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "2x", "feature", "highres", "images", "ios", "iphone", "release-1.6.0", "remote", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:56:28.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

You currently support local highres images, but not remote.

{html}", "attachment": [ { "id": "18015", "filename": "screen-shot-2011-01-13-at-94407-am.png", "author": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:35.000+0000", "size": 17369, "mimeType": "image/png" }, { "id": "18016", "filename": "screen-shot-2011-01-13-at-94526-am.png", "author": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:35.000+0000", "size": 12294, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS - Support 2x remote images for iPhone 4", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125988", "author": { "name": "lukemelia", "key": "lukemelia", "displayName": "Luke Melia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Also in helpdesk ticket http://developer.appcelerator.com/helpdesk/view/35771

{html}", "updateAuthor": { "name": "lukemelia", "key": "lukemelia", "displayName": "Luke Melia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:35.000+0000", "updated": "2011-04-15T02:55:35.000+0000" }, { "id": "125989", "author": { "name": "sebs", "key": "sebs", "displayName": "Seb S.", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Really need this.
\nMany users in QA requesting this, hope you can make a fix in the\nnext coming nightly builds?

{html}", "updateAuthor": { "name": "sebs", "key": "sebs", "displayName": "Seb S.", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:55:36.000+0000", "updated": "2011-04-15T02:55:36.000+0000" }, { "id": "125990", "author": { "name": "richardmadison", "key": "richardmadison", "displayName": "Richard Madison", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Just adding my vote to bump the priority of this.

\n

We have an app in the Appstore and we're taking quite a bit of\nheat over the fuzzy resolution for remote images on iPhone 4's. Our\napp is very similar to the Appstore and remote images make up a\nvery large portion of the user experience --- http://itunes.apple.com/app/freedom-app/id392853455?mt=8

\n

I suspect this is going to skyrocket with the new retina iPod\nTouches just released.

\n

Thanks, Richard.

{html}", "updateAuthor": { "name": "richardmadison", "key": "richardmadison", "displayName": "Richard Madison", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:36.000+0000", "updated": "2011-04-15T02:55:36.000+0000" }, { "id": "125991", "author": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Another bump. I don't need auto-detection or auto-switching... I\njust need the option to set scale of UIImageView.

{html}", "updateAuthor": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:36.000+0000", "updated": "2011-04-15T02:55:36.000+0000" }, { "id": "125992", "author": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

We are getting a lot of interest from customers on this. Also PS\nis voting it up.

\n

Blain, Steve can one of you look at this for the next\nmilestone?

{html}", "updateAuthor": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:37.000+0000", "updated": "2011-04-15T02:55:37.000+0000" }, { "id": "125993", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Accidentally committed fix as #1534. See\nthere for details.

\n

KS Test:

\n\n
\n

ABOUT REMOTE SUPPORT: We do not support\nautomatic remote detection of 2x images. You are required to check\ndisplay density (Ti.Platform.displayCaps.density) for a 'high'\nvalue to indicate a retina display. You must then also set the\n'hires' property on any image view which uses one of these images,\notherwise you may see unexpected scaling behavior.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:37.000+0000", "updated": "2011-04-15T02:55:37.000+0000" }, { "id": "125994", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Forgot to mark fixed-in-qa in that last one...

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:38.000+0000", "updated": "2011-04-15T02:55:38.000+0000" }, { "id": "125995", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.6.0 (01/12/11\n09:38 db09d1e) 4.2.1 4GT and 3.1.3 iphone

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:38.000+0000", "updated": "2011-04-15T02:55:38.000+0000" }, { "id": "125996", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

3.1.3 did not load as expected.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:38.000+0000", "updated": "2011-04-15T02:55:38.000+0000" }, { "id": "125997", "author": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The 2x image loaded, but it seems that the image scaling code\nwas not modified to take this into account. 2x images appear\nvisually to be half the size they should be.

\n

Example:

\n

I have a 60x60 Ti.UI.ImageView. On a iPhone 3, my remote image\nloads, and is scaled to fill the 60x60 space.

\n

However, on an iPhone 4, the high-res image seems to have scaled\nto only take up half of the space. I believe the image scaled to\nliterally 60x60px, instead of 60x60 points on the screen (aka\n120x120px).

\n

My code:

\n
\n
\n
\n\n\n
\n
\n
\n    // left image\n    var updateImage = Titanium.UI.createImageView({\n        defaultImage:'images/loading_60.png',\n        image:thisUpdate.updateCauseIcon,\n        top:5,\n        left:10,\n        width:60,\n        height:60\n    });\n    // iPhone 4 display\n    if (Titanium.Platform.displayCaps.dpi == 320) {\n        updateImage.image = thisUpdate.updateCauseIcon2x;\n        updateImage.hires = true;\n    }</code>\n
\n
\n\n\n
\n
\n

First screenshot (timestamp wise) is retina, second is normal.\nTested using today's build \"r7ca73a34\".

{html}", "updateAuthor": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:38.000+0000", "updated": "2011-04-15T02:55:38.000+0000" }, { "id": "125998", "author": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I can confirm that I'm having the same issue as Shannon. 2x\nimages are showing up half the size of the ImageView's width and\nheight that was given.

{html}", "updateAuthor": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:38.000+0000", "updated": "2011-04-15T02:55:38.000+0000" }, { "id": "125999", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

shannon and mike does the bug here describe your issue? #2805

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:39.000+0000", "updated": "2011-04-15T02:55:39.000+0000" }, { "id": "126000", "author": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi Thomas, the problem that we're having is when the 'hires' is\nset to true images are half the size of the ImageView. Just loading\na @2x image with hires set to false works just like it did before\nin 1.5 (at least it does for me)

\n

So to answer your question, No #2805\ndoesn't totally describe our issue.

{html}", "updateAuthor": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:39.000+0000", "updated": "2011-04-15T02:55:39.000+0000" }, { "id": "126001", "author": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I concur... local high-res images seem to work fine in 1.6

{html}", "updateAuthor": { "name": "shannon", "key": "shannon", "displayName": "Shannon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:39.000+0000", "updated": "2011-04-15T02:55:39.000+0000" }, { "id": "126002", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

thanks for the info Mike and Shannon, I've opened #2819 with\nShannon's code and notes.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:39.000+0000", "updated": "2011-04-15T02:55:39.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }