Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16205] Android: ImageView containing large image 3264x2448 fail to upload

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-01-21T00:29:39.000+0000
Affected Version/sRelease 3.2.0, Release 3.2.1
Fix Version/sRelease 3.3.0
ComponentsAndroid
LabelsimageView, qe-3.2.1, qe-closed-3.3.0, qe-testadded, regression
ReporterPragya Rastogi
AssigneeIngo Muschenetz
Created2014-01-16T10:35:16.000+0000
Updated2017-03-24T00:03:10.000+0000

Description

Image having large size of approx 3264x2448 fail to upload. Works fine in SDK: 3.1.3.GA. hence it is a regression Steps To Reproduce: 1. Create app using code below 2. Use Image of size 3264x2448 Actual: Warning appears [WARN] : OpenGLRenderer: Bitmap too large to be uploaded into a texture (3264x2448, max=2048x2048) [WARN] : OpenGLRenderer: Bitmap too large to be uploaded into a texture (3264x2448, max=2048x2048) Expected: Image should be uploaded.

var win1 = Titanium.UI.createWindow({
    backgroundColor:'white',
    title:'AUTOROTATE - TRUE'
	});
	var image1 = Ti.UI.createImageView({
	    autorotate: true,
	    image: 's2.jpg'
	});
	  
	win1.add(image1);
	win1.open();

Attachments

FileDateSize
s2.jpg2014-01-16T10:35:16.000+00002323112

Comments

  1. Allen Yeung 2014-01-21

    I have tried this on both version of Nexus 7 and I was unable to reproduce the issue. I tried on both the latest master branch, and 3.2.0.GA. I never got that error in logcat, and the image loads fine everytime. Nexus 7 V1 (Android 4.1) Nexus 7 V2 (Android 4.3)
  2. Olga Romero 2014-04-25

    Tested and could not reproduce the issue with: Appcelerator Studio, build: 3.3.0.201404221437 Titanium SDK, build 3.3.0.v20140424130915 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-dev node-appc@0.2.2 npm@1.3.2 titanium@3.3.0-dev titanium-code-processor@1.1.1-beta1 titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422) Device: Nexus4 Android version 4.4

JSON Source