{ "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.
Also in helpdesk ticket http://developer.appcelerator.com/helpdesk/view/35771
Really need this.
\nMany users in QA requesting this, hope you can make a fix in the\nnext coming nightly builds?
Just adding my vote to bump the priority of this.
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
\nI suspect this is going to skyrocket with the new retina iPod\nTouches just released.
\nThanks, Richard.
Another bump. I don't need auto-detection or auto-switching... I\njust need the option to set scale of UIImageView.
We are getting a lot of interest from customers on this. Also PS\nis voting it up.
\nBlain, Steve can one of you look at this for the next\nmilestone?
Accidentally committed fix as #1534. See\nthere for details.
\nKS Test:
\nABOUT 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.
Forgot to mark fixed-in-qa in that last one...
[INFO] Titanium SDK version: 1.6.0 (01/12/11\n09:38 db09d1e) 4.2.1 4GT and 3.1.3 iphone
3.1.3 did not load as expected.
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.
\nExample:
\nI have a 60x60 Ti.UI.ImageView. On a iPhone 3, my remote image\nloads, and is scaled to fill the 60x60 space.
\nHowever, 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).
\nMy code:
\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\".
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.
shannon and mike does the bug here describe your issue? #2805
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)
\nSo to answer your question, No #2805\ndoesn't totally describe our issue.
I concur... local high-res images seem to work fine in 1.6
thanks for the info Mike and Shannon, I've opened #2819 with\nShannon's code and notes.