Image manipulator module for Titanium 3.2 (only iOS)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes
TiImageManipulator.xcodeproj
assets
dist
documentation
example
hooks
platform
.gitignore
LICENSE
NetImthinkerTiImagemanipulator_Prefix.pch
README.md
build.py
manifest
module.xcconfig
timodule.xml
titanium.xcconfig

README.md

TiImageManipulator

Image manipulator module for Titanium 3.2 (only iOS)

Usage

See example/app.js

Download the compiled release

Feature (Current release)

  • Resize image
    Ti.Blob.imageAsResized is BROKEN! This module provide alternate resize method!

Sample code

var TiImageManipulator = require('net.imthinker.ti.imagemanipulator');
var resized_blob = TiImageManipulator.resizeImage({
    image: <YOUR IMAGE BLOB>,
    width: 160,
    height: 160,
    keepAspect: true // If you want to keep aspect ratio
});

License

See LICENSE file