refactor image and data processing, support those at top-level 'processImage'
refactor image and data processing, support those at top-level 'processImage'

Adobe Lightroom is sending UIImages in the extension item,
and Giphy sends NSData

ello/ello-ios,ello/ello-ios,ello/ello-ios,ello/ello-ios