Added primary functions to SwiftTextToImage class.