Skip to content

ashfurrow/stampicon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stampicon

Applies a text label to PNG icons. Stampicon will automatically size the text to fit inside the ribbon, but exceedingly long text on small icons may become unreadable.

Before After

Usage

stampicon inputfile.png --output outputfile.png --text "text to overlay"

option meaning
--text the text to overlay, required
--output the file to write, required
--font font family, e.g, defaults to "Helvetica"
--textcolor the text hex color in hex #FFFFFF, defaults to white
--badgecolor the hex color of the ribbon behind the text, defaults to red

Thanks

This utility employs SwiftCGRectExtensions by @nschum and UIColor-Hex-Swift by @yeahdongcn

About

Command line tool to imprint a text banner over a PNG icon, written in Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%