Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.77 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.77 KB

Air Native Extension For IOS Core Image Filters

This is an Air native extension for using IOS Core Image Filters on IOS. It has been developed by Azer BULBUL.

This AIR Native Extension exposes IOS Core Image Filters to Adobe AIR.

  • The ANE binary (IOSPhotoFilters.ane) is located in the /AS3/IOSPhotoFilters/release folder. You should add it to your application project's Build Path and make sure to package it with your app (more information here).

  • This ANE included ios core imagage framework

  • You can also find out about the built-in filters on a system by using the Core Image API. See Core Image Programming Guide

USAGE

  var mc:MovieClip = new MovieClip();
  var originalImage:bitmapData = [set the any image bitmapdata referance];
  var displayBitmap:Bitmap = new Bitmap(originalImage.clone());
  mc.addChild(displayBitmap);


  var inputImage:BitmapData = displayBitmap.bitmapData;

  IOSFilters.getInstance().CreateSigContext();
  IOSFilters.getInstance().CoreImageFilterRequest(inputImage,"CISepiaTone",['inputIntensity'],[1.00]);

  displayBitmap.bitmapData = inputImage;

Authors

This ANE has been written by Azer BULBUL and is distributed under the Apache Licence, version 2.0.