Bumbo
public class Bumbo
Bumbo
A swifty client for Thumbor
-
Trim removes surrounding space in images
See moreDeclaration
Swift
public enum TrimCorner : String -
Image format
See moreDeclaration
Swift
public enum Format : String -
Vertical alignment controls height trimming.
See moreDeclaration
Swift
public enum VerticalAlign : String -
Horizontal alignment controls width trimming.
See moreDeclaration
Swift
public enum HorizontalAlign : String -
Setup Thumbor server with host and secret key.
Declaration
Swift
public static func configure(host: String, secretKey: String?)Parameters
hostA URI to Thumbor server
secretKeyThe encryption key configured in the server
-
Load and resize an image.
Declaration
Swift
public static func load(_ url: String) -> BuilderParameters
urlA URI to the original image
widthThe desired image width
heightThe desired image height
Return Value
A builder which filters and settings can be applied to
-
A builder used to apply settings and filters.
See moreDeclaration
Swift
class Builder -
Available filters for processing
Check Thumbor’s documentation for further explanation of each filter.
See moreDeclaration
Swift
enum Filter
View on GitHub
Install in Dash
Bumbo Class Reference