sixfohGenerates base sixfoh-encoded images for yer websites | |
Download |
sixfoh Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Tyler Ball
- Publisher web site:
- https://github.com/tylerball/
sixfoh Tags
sixfoh Description
sixfoh generates base sixfoh-encoded images for your websites.Installation pip install sixfohUsageGive sixfoh a some images to convert to base64: sixfoh datauri/*.pngIf no files are given, it will look for images in the current directory.Usage with LessPipe your output with the `--less` flag and it will prepend Less variables to import into your CSS. sixfoh --less myimage.png > datauri.lessI usually slice up all my icons in Photoshop and output them into a "data-uri" folder. sixfoh -L data-uri/* > datauri.lessImport it and use it: @import "datauri.less"; #Logo { background-image: @myimage; }You do the same for Sass with the `--scss` flag.Options< dl > < d t>-L< /dt > < dd >Writes images into a group of LessCSS variables, to be included in a stylesheet or written to a .less file to be imported. (alias: --less)< /dd > < dt >-S< /dt > < dd >Writes images into a group of Sass variables, to be included in a stylesheet or written to a .scss file to be imported. (alias: --scss)< /dd > < dt >-f< /dt > < dd >Force output and ignore warnings.< /dd >< /dl >Product's homepage
sixfoh Related Software