ImagizerSwift 0.1.4

ImagizerSwift 0.1.4

TestsTested
LangLanguage SwiftSwift
License Custom
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Nicholas Pettas.



  • By
  • Nicholas Pettas

ImagizerSwift

The official Swift client for the ImagizerEngine

Usage

// Import the ImagizerSwift framework
import ImagizerSwift

// Initialize the Imagizer Client
let imagizerClient = ImagizerClient(host: "example.com")

// Build a URL with params
// http://example.com/image.jpg?width=400&height=400&crop=fit
imagizerClient.buildUrl("image.jpg", params: [
  "width": 400, 
  "height": 500,
  "crop": "fit"
])