An easy way to get orientation as well from the exif data would be great , or fix that orientaion bug within ios, whatever is fastest
[import]uid: 17969 topic_id: 21784 reply_id: 104161[/import]
An easy way to get orientation as well from the exif data would be great , or fix that orientaion bug within ios, whatever is fastest
[import]uid: 17969 topic_id: 21784 reply_id: 104162[/import]
Any news regarding the orientaion bug of full resolution images from camera? [import]uid: 17969 topic_id: 21784 reply_id: 107799[/import]
Itās still on the to-do list and it is flagged āimportantā, but unfortunately there are other bugs flagged with a higher priority that are in the way. Iām sorry to say this bug will likely not get fixed by the upcoming release. Just being honest with you. But I will bug our iOS developers about this again. [import]uid: 32256 topic_id: 21784 reply_id: 107944[/import]
@Joshua: I understand, thanks for the update. Crossing fingers then that there will be an update soon but will get everything else ready at least. Have a couple of apps in the pipeline that is waiting for this functionality
[import]uid: 17969 topic_id: 21784 reply_id: 108035[/import]
Hi,
It looks when I am saving image by 3rd argument of media.show(). The process is very slow and
onComplete() eventhandler is fired before image was saved. There is solution for it ?
Cheers,
Zsolt [import]uid: 126421 topic_id: 21784 reply_id: 112379[/import]
Zsolt,
The slow write to file is a known issue. We have a bug report written up, #13782, to write the selected image to file asynchronously instead of doing a blocking write when returning to the Corona app. The only work-around is to not save to file and show the selected image as a display object instead, but then you donāt get the full-resolution of the selected photo. [import]uid: 32256 topic_id: 21784 reply_id: 112396[/import]
Dear Joshua,
Thank you for your answer. But when I show selected image as a display object and Im trying to save by display.save() I can get a deformed picture with a black stripe. Any help please ?
Thank you. [import]uid: 126421 topic_id: 21784 reply_id: 112448[/import]
Zsolt,
Are you using an old daily build? The deformed image issue was a bug that we introduced in daily build 759, but the newest daily build fixes it.
If you are using the newest daily build, then can you post a screenshot of what the image looks like? That way I can better understand what may be going wrong. [import]uid: 32256 topic_id: 21784 reply_id: 112563[/import]
Any news regarding the bugs with reading the rotation/EXIF info from the full resolution photo? Iād really like to get mye app out but I dont want to release an app with sub par functionality so that leaves me waiting for this bug to be fixed. 
Slow write to file would also come under that. Hope some focus is to be given to the camera related bugs soon. [import]uid: 17969 topic_id: 21784 reply_id: 112624[/import]
borgb,
The iOS EXIF issue is on our backlog at the moment. Itās lower priority compared to the other iOS issues that we have to deal with. Partly because most Corona developers are not using this feature. Probably not want you wanted to hear, but Iām just being honest with you.
My advise is donāt wait for us to fix it. Work-around it by not saving it to file and displaying it as a display object instead.
You can now find our bug list and which bugs we plan on addressing next via the below link. The bug that you are referring is #13183.
http://www.coronalabs.com/resources/bugs/ [import]uid: 32256 topic_id: 21784 reply_id: 112681[/import]
That would not be an acceptable workaround for me, it would make the use of my app less then what people are used to and expect. Saving it as a display object would in most cases give a to low quality photo to be used for anything but displaying on the phone.
I can understand other priorities but this should also be an easy thing to fix. I cant quite understand why the bug is there in the first place. And maybe the reason people are not using it is because the camera functionality is poor with corona? I got lots of ideas for apps using camera and a quick look at the appstore shows a huge market for this. To bad if corona dosent want to take part in that, it could be the perfect engine for it. [import]uid: 17969 topic_id: 21784 reply_id: 112688[/import]
The bug is there because Corona for iOS is not reading the fileās EXIF settings and then rotating the image if an orientation setting was found. iOS does not do this for free. We have to code this ourselves. Itās not hard. It just takes time. We just happened to have already coded this on Android.
Perhaps another way you can work-around this is to have our API save to file and then read the fileās EXIF data yourself via Luaās standard file IO functions. Who knows, maybe there is already a Lua library out there that will read EXIF data for you. [import]uid: 32256 topic_id: 21784 reply_id: 112690[/import]
@Joshua Quick
Yeah, I have converted another lua library that was for editing user comments with CHDK called tagMe. Had to do abit of adjustments to it but think I got it working pretty good now at least. Cant seem to read all the ID tags ut at least I find the orientation one and for now that will have to do. Still have alot of testing to do and I need to check with different devices so its not a problem. And with different types of files imported to the device photoalbum as well as directly from camera so there is not a problem there. I would rather see all this fixed direclty in corona but will do some exstensive testing and if nothing fails, whatever works.
Still the thing with abit of a long wait with saving files and the option to save the full res file to photoalbum but those things I can wait for at least.
[import]uid: 17969 topic_id: 21784 reply_id: 112938[/import]
borgb,
Are you writing these EXIF settings yourself? If so is it possible for you to share your solution. I also have an app that heavily relies on the camera.
Corona labs, it would be great if we could control the resolution / quality of the image saved when using the media.show functionality.
Thanks [import]uid: 44416 topic_id: 21784 reply_id: 120255[/import]
burak.o.can:
Iām not writing any settings, Iām just reading the orientation of the image in the exif info and then rotating the image to display it properly on the screen. Have to do this since corona dosent rotate the high res image from the camera correctly under iOS. I found an exif modul on the net written in LUA and made it work with corona. Mine is pretty messy and I got no idea if there is much use to it except to fix my problemā¦
But the original file can be found here:
http://forum.chdk-treff.de/viewtopic.php?t=1555
[import]uid: 17969 topic_id: 21784 reply_id: 120462[/import]
borgb,
Are you writing these EXIF settings yourself? If so is it possible for you to share your solution. I also have an app that heavily relies on the camera.
Corona labs, it would be great if we could control the resolution / quality of the image saved when using the media.show functionality.
Thanks [import]uid: 44416 topic_id: 21784 reply_id: 120255[/import]
burak.o.can:
Iām not writing any settings, Iām just reading the orientation of the image in the exif info and then rotating the image to display it properly on the screen. Have to do this since corona dosent rotate the high res image from the camera correctly under iOS. I found an exif modul on the net written in LUA and made it work with corona. Mine is pretty messy and I got no idea if there is much use to it except to fix my problemā¦
But the original file can be found here:
http://forum.chdk-treff.de/viewtopic.php?t=1555
[import]uid: 17969 topic_id: 21784 reply_id: 120462[/import]
@Joshua Quick : I have an app where I need to print a form. Screengrabs come out too blurry. I really need to be able to save a form at a set resolution, (high), so itās consistent across all devices. Any chance there is a solution or at least something on itās way? Thanks. [import]uid: 67683 topic_id: 21784 reply_id: 129035[/import]
@Joshua Quick : I have an app where I need to print a form. Screengrabs come out too blurry. I really need to be able to save a form at a set resolution, (high), so itās consistent across all devices. Any chance there is a solution or at least something on itās way? Thanks. [import]uid: 67683 topic_id: 21784 reply_id: 129035[/import]