Skip to content

civicboom/iconmapper

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
      __                                                               
     |__| ____  ____   ____   _____ _____  ______ ______   ___________ 
     |  |/ ___\/  _ \ /    \ /     \\__  \ \____ \\____ \_/ __ \_  __ \
     |  \  \__(  <_> )   |  \  Y Y  \/ __ \|  |_> >  |_> >  ___/|  | \/
     |__|\___  >____/|___|  /__|_|  (____  /   __/|   __/ \___  >__|   
             \/           \/      \/     \/|__|   |__|        \/       


A small python script to turn a folder full of images into a single .png with
accompanying .css to aid with display.


Quickstart:
  1. iconmapper -c icons.css -p icons.png \
     icons/globe_16.png icons/globe_32.png icons/cake_16.png
  2. upload icons.png and icons.css to your server
  3. <link rel="stylesheet" type="text/css" href="icons.css" />
  4. <span class="icon16 globe"><span>World View</span></span>


Original idea:
  Oran Looney
  http://oranlooney.com/make-css-icons-python-image-library/

Rewrite by:
  Shish on behalf of Civicboom <shish@civicboom.com>


This work is licensed under the Creative Commons Attribution 3.0 United 
States License. To view a copy of this license, visit 
http://creativecommons.org/licenses/by/3.0/us/ or send a letter to Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

About

Script to turn a folder full of images into a single PNG, with CSS file to display them

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages