IFTTT / FastttCamera

Fasttt and easy camera framework for iOS with customizable filters
http://ifttt.github.io
MIT License
1.86k stars 189 forks source link

photo and it crashed on iPhone6 plus. #22

Open iTA9178 opened 9 years ago

iTA9178 commented 9 years ago

the delegate method return a capturedImage,and it's size 2448 * 2448 on iPhone6 plus device,cause memory waring then crash.Colud you help me or something advice?

mdelmaestro commented 9 years ago

@iTA9178 Hi there! News on this issue? Did you resolve the memory warning / crash?

wayn commented 9 years ago

Remove the fullimage normalize worked. Code on the FastttCapturedImage+Process line63

lauraskelton commented 9 years ago

Hi, thanks for letting us know! This seems to be working fine for us on iPhone 6 Plus, but if the normalize is problematic, you can always set normalizesImageOrientations = NO on your FastttCamera instance to disable this feature.

I'll also go through and see if we can optimize the memory usage of the code a bit more and see if we can improve performance here. Is it in the demo where you're seeing the problem, or in your own app?

wayn commented 9 years ago

27ff6316-aa20-4a1e-8546-d69752029c50

The example project memory of take photo

iTA9178 commented 9 years ago

Here is the code to resolve the memory warning / crash in my project. Hope it will help other people has the same problem.

MrMatthewDavis commented 9 years ago

I'm also having this issue. Using this in my own app and it works on every device except the 6+.

lauraskelton commented 9 years ago

This is a known issue- the 6+ is tricky because the size of the images the camera returns really push the device to its memory limits. I'll try to find some time to look into resolving this and minimizing the memory footprint as much as we can here.

euanSomo commented 8 years ago

Any update on this?