Ok, so this is without doubt not a bug in my code, but a bug in the SDK?
This attempt seems to work better:
Why does that work and not the simple example of mine? Do you still think it’s a SDK error?
Ok, so this is without doubt not a bug in my code, but a bug in the SDK?
This attempt seems to work better:
Why does that work and not the simple example of mine? Do you still think it’s a SDK error?
The JPEG being sized differently than the object you’re trying to save is clearly “weird”. The fact that the results are inconsistent between devices is also very odd. I don’t see anything you are doing that is not what you’re supposed to be doing. At least by filing a bug report, we can get Engineering to look into it. Perhaps we are reading the docs wrong, the docs might be missing something, or it could be a bug some where along the way. At this point, I think we’ve exhausted what we can do without a bug report.
Please post the URL of this thread in the bug report and when you get the email back from the bug tracker, post the case ID here as well. In the mean time I’ll try running the test on my iPhone and see if there are other odd behaviors there.
Rob
Hi,
The case ID is 39865.
Thanks!
Hi all,
any news on this bug?
I’m experiencing the same problem with CoronaSDK 2015.2637
The camera is unusable on Android and iOS.
Seem that corona apply about a 200% zoom on the captured picture
The original Photo from camera and the captured images are both 1536 × 2048 pixel
I have attached 2 pics taked by my iPad 2 with iOS 8.3 running Corona Camera Demo, to show you the problem.
Thanks in advance for any feedbacks.
Ale
Yes, I would also like to know what is happening in this department.
A] Has ANYONE made an app with Corona that captures images with the camera and store them with a sensible (the native image resolution on a modern phone is far too high) size?
B] Is this at all POSSIBLE with Corona (without fetching single pixels, write a rescaler and then put the pixels back somehow)?
I would really like someone in the know to answer question B.
If it is not possible I can stop trying and you would have saved me a lot of time. At the same time it would make the SDK kind of unimpressive.
You should be able to scale the image to fit the screen, put it in a group and then save that group. You can’t do anything bigger than the screen except for the full sized image.
Rob
Hi Rob,
I don’t need anything bigger than the screen. I need to scale to a max width/height of, say, 500. That part is ok.
But can you confirm that you can do you do this this successfully, with images taken from the camera with several different devices?
If that is the case: How?