Programming language: Swift
License: Mozilla Public License 2.0
Tags: Images    

Kanvas alternatives and similar libraries

Based on the "Images" category.
Alternatively, view kanvas-ios alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Kanvas or a related project?

Add another 'Images' Library




Kanvas is an open-source iOS library for adding effects, drawings, text, stickers, and making GIFs from existing media or the camera.

It is used in the Tumblr iOS app as a camera, media editor, GIF maker, and media posting tool.


Add this to your Podfile:

pod 'Kanvas', :git => 'https://github.com/tumblr/kanvas-ios.git'

And run:

pod install


Kanvas is mainly two parts: the Camera, and the Editor. Both are just view controllers that you present, and have settings and delegates that help you customize their behavior.

To show the camera:

let settings = CameraSettings()
let camera = CameraController(settings: settings)
present(camera, animated: true)

And to edit existing media, like a video:

let videoURL = URL(string: "path/to/video.mov")
let settings = CameraSettings()
let editor = EditorViewController.createEditor(for: videoURL, settings: settings)
present(editor, animated: true)

Each view controller accepts a CameraSettings object, which provides fine-grained settings and feature togges. Each view controller also has a delegate property for providing your own handlers to creating media, performing editing operations, logging, or really anything else Kanvas can do.

Documentation is lacking at the moment, but contributions are welcome!

Example App

KanvasExample is an example app showing how to use Kanvas. Try it out!

  1. Run cd KanvasExample; bundle exec pod install
  2. Open KanvasExample/KanvasExample.xcworkspace in Xcode
  3. Run the app on a device.

*Note that all licence references and agreements mentioned in the Kanvas README section above are relevant to that project's source code only.