freshheads / fh.imagefactory

Freshheads ImageFactory module for Titanium, which currently provides access to Androids ExifInterface for image files. Also provides a memory conservative utility method to rotate an image based on Exif information and resize it, maintaining aspect ratio, in one pass.
MIT License
42 stars 15 forks source link

Module not working with latest Ti SDK i.e 5.2.0 #4

Closed speedyankur closed 6 years ago

speedyankur commented 8 years ago

Please recompile and upload new release working with Ti SDk 5.2.0 and Android 6.0

m1ga commented 8 years ago

does it work when you use the new permissions on anroid 6? E.g. got to your app-info and check the storage permission or use this module: https://github.com/gimdongwoo/Ti-Android-RequestStoragePermission and put the fh.imagefactory module in the true condition. Perhaps you could use that as a workaround for now

freedevcom commented 8 years ago

I have the same problem: I can't compile my project with titanium sdks 5.2.0 and android 6.0 using fh.imagefactory: here it is the open issue on jira https://jira.appcelerator.org/browse/AC-3512. I can't understand why the module https://github.com/gimdongwoo/Ti-Android-RequestStoragePermission is involved, since we are still in building phase.

annakozy2011 commented 8 years ago

I am just a random developer here, but SDK 5.2.0 has a bug on android 6.0, it cant store any file without external storage permission (not even those on internal storage). Please compile with 5.0.2 or some release candidate for 5.3.x

Lenndev commented 7 years ago

Using this plugin with Ti SDK 5.5.1 on android 6.0, storage permissions are set, but the rotation isn't working... any solutions yet?

m1ga commented 7 years ago

@Lenndev any error message? The rotation only works if there are correct EXIF information. Inside your console log you should see something like Detected orientation:

natefollmer commented 7 years ago

Mine still works fine in all 5.X.XGA's with Android 6. I suspect you aren't getting EXIF data as @m1ga said. I was trying to rotate thumbnails originally and those do not have EXIF data on Android, so i had to rebuild a thumbnail and use the original EXIF data from the original image to rotate.

m1ga commented 6 years ago

closing this since we are at SDK 7 already