[MOD-2333] Make basic image filters like brightness, contrast, sepia, etc. as a part image factory module for iOS and Android

GitHub Issuen/a
TypeNew Feature
Resolution Date2017-04-26T14:46:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
Labelsandroid, filters, image, ios, module
ReporterZarir Bhesania
AssigneeJohn V Pataki


Can we have basic image filters like brightness, contrast, sepia, etc. integrated into the existing image factory module for iOS and Android? This would really be helpful to a lot of developers as I have seen from the google search results that a lot of people had looked out for something similar but there was no concrete module available. There are a couple of modules on marketplace but unfortunately they are only iOS based. We can have one module for all the functionality related to images.


  1. Sharif AbuDarda 2017-04-25 Thanks for the request. Our engineering team will consider it.
  2. Hans Knöchel 2017-04-26 There is an iOS module to support the GPUImage library on iOS [here](https://github.com/hansemannn/titanium-image-filters), feel free to do the Android equivalent as well! It will probably stay an own library, since ti.imagefactory is currently more focussed on image manipulation (cropping, sizing) rather than filtering.
  3. Zarir Bhesania 2017-04-26 @Hans Knöchel Thanks for the iOS module. Can you please explain how to change brightness by sending values (0.0-1.0) to the module?
  4. Hans Knöchel 2017-04-26 You can use the GPUImageBrightnessFilter filter, but filter values are not supported in the module so far. Feel free to change the module to do so. *EDIT*: I just added that functionality as well. You can now use createFilter to create a new filter and supply the desired properties like natively. Please just read the native docs carefully, it includes everything you might need.

JSON Source