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
host
A URI to Thumbor server
secretKey
The encryption key configured in the server
-
Load and resize an image.
Declaration
Swift
public static func load(_ url: String) -> Builder
Parameters
url
A URI to the original image
width
The desired image width
height
The 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