Highlighted

iOS Camera bug with orientation :(

Advocate ,
Apr 18, 2014

Copy link to clipboard

Copied

Does somebody know this bug?

I use this simple code:

import flash.media.Video;

import flash.media.Camera;

import flash.display.StageOrientation;

var video : Video = new Video(640,480);

addChild(video);

var camera : Camera = Camera.getCamera();

camera.setMode(640,480,12);

video.attachCamera(camera);

And receive this issue. Image rotated. Looks like Adobe Air UIView use wrong orientation!?

This bug was sawn in Air 13 Release and latest beta from April, 15th. Don't know any other Air version that have this issue so you need to test yourself.

Tested in iOS 6.1.3 iPhone4 and iPad4 iOS 7.1 - the same.

Options on this image:

- Portrait

- FullScreen

- no autoOrientation

- CPU render method

- iPhone

bug.jpg

Referencing to this thread http://forums.adobe.com/message/6153866#6153866

No, you can't rotate because if you use "Draw" to bitmapData - you will receive content with wrong orientation and rotating it - not cheap cpu operation.

TOPICS
Performance issues

Views

353

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

iOS Camera bug with orientation :(

Advocate ,
Apr 18, 2014

Copy link to clipboard

Copied

Does somebody know this bug?

I use this simple code:

import flash.media.Video;

import flash.media.Camera;

import flash.display.StageOrientation;

var video : Video = new Video(640,480);

addChild(video);

var camera : Camera = Camera.getCamera();

camera.setMode(640,480,12);

video.attachCamera(camera);

And receive this issue. Image rotated. Looks like Adobe Air UIView use wrong orientation!?

This bug was sawn in Air 13 Release and latest beta from April, 15th. Don't know any other Air version that have this issue so you need to test yourself.

Tested in iOS 6.1.3 iPhone4 and iPad4 iOS 7.1 - the same.

Options on this image:

- Portrait

- FullScreen

- no autoOrientation

- CPU render method

- iPhone

bug.jpg

Referencing to this thread http://forums.adobe.com/message/6153866#6153866

No, you can't rotate because if you use "Draw" to bitmapData - you will receive content with wrong orientation and rotating it - not cheap cpu operation.

TOPICS
Performance issues

Views

354

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 18, 2014 0

Have something to add?

Join the conversation