sufficientMemoryAvailable

Given a photo size, return whether there is (currently) enough memory available.

Return

whether there is enough memory for the image processing to succeed

Parameters

photoSize

the size of photos that will be used for image processing

boolean sufficientMemoryAvailable(Size photoSize)
boolean sufficientMemoryAvailable(Runtime runtime, Size photoSize)