You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently debugging a strange problem with my app and Ti 9.1.0 (nightly build).
Some of my images (taking from the gallery or taking it with the camera) in portrait mode are rotated to landscape.
Device: Pixel 4, Android 10
Ti SDK: 9.1.0 (nightly)
Image should have exif: top right and is in portrait mode.
It is working with 9.0.3.GA. Already built a new glide version (they've updated the exif library) + module but still having the same issue. If I use the normal imageview it has the correct orientation but of course no aspect_fill.
var window = Ti.UI.createWindow({
title: "Image Test"
});
var AvImageview = require("av.imageview");
var imageView =AvImageview.createImageView({
width: Ti.UI.FILL,
height: 200,
top: 0,
contentMode: AvImageview.CONTENT_MODE_ASPECT_FILL,
});
window.add(imageView);
var dl = Ti.UI.createButton({
title: "open image",
bottom: 10,
});
dl.addEventListener("click", function(e) {
Ti.Media.openPhotoGallery({
success: function(e) {
var w = e.media.width;
var h = e.media.height;
var r = h / w;
w = 1024;
h = r * w;
var imageBlob = e.media.imageAsResized(w, h);
imageView.image = imageBlob;
}
});
});
window.add(dl);
window.open();
(allow permissions to gallery manually)
The text was updated successfully, but these errors were encountered:
Currently debugging a strange problem with my app and Ti 9.1.0 (nightly build).
Some of my images (taking from the gallery or taking it with the camera) in portrait mode are rotated to landscape.
Device: Pixel 4, Android 10
Ti SDK: 9.1.0 (nightly)
Image should have exif: top right and is in portrait mode.
It is working with 9.0.3.GA. Already built a new glide version (they've updated the exif library) + module but still having the same issue. If I use the normal imageview it has the correct orientation but of course no aspect_fill.
(allow permissions to gallery manually)
The text was updated successfully, but these errors were encountered: