{ "id": "63948", "key": "TIMOB-3316", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-19T19:04:52.000+0000", "created": "2011-04-15T03:41:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "photo", "upload" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-19T19:04:52.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}
There doesn't seem to be a way to compress an image or lower its\nquality before posting it to a remote server. The images taken by\nthe iphone 4 are incredibly big and need to be compressed. In Obj-C\nI would just do the following:
\nUIImageJPEGRepresentation(photo, 0.3);
\nWe need something similar for titanium. This is a big\nshowstopper for anyone trying to have upload image capabilities in\ntheir app. Very surprised no one else has escalated this issue...or\nis their a workaround available?
Looks like you have modify the Titanium source code to do\nthis...which really isn't an acceptable solution. See this\npost:
\n\nhttp://developer.appcelerator.com/question/56181/image-compression