- added
exclude
option to ignore select images in source directory (courtesy of @AlexanderRD)
- added
sanitizer
option to give more control over converting non-standard filenames to css selectors (hattip to @MentalPower) - rename
directory_separator
option to simplerseparator
- switch to minitest
- replace deprecated require 'RMagick' with require 'rmagick' (courtesy of @warrenguy)
- added
:glob
option to override default globbing behavior (courtsey of @jdlich)
- replace deprecated Magick::MaxRGB with Magick::QuantumRange (courtesy of @kenmicles)
- add option to override default directory separator (courtesy of @cotampanie)
- correct escaping for filenames passed to pngcrush (courtesy of @phallstrom - Cheers!)
- suppress pngcrush output with -q (courtesy of @phallstrom - Cheers!)
- Added raw ImageMagick driver can be used without RMagick gem (courtesy of @willglynn - Cheers!)
- Exposed
padding
andmargin
support to the cli interface (courtesy of @miguelgonz - Cheers!)
- bugfix: added back
:selector
when providing attributes for custom style generators (it was accidentally removed in v1.5.2)
- replaced
:csspath
option with:cssurl
issue #21 - ordered css rules by pseudoclass importance issue #20
- added support for .ico files when using rmagick issue #18
- added a new
:return => :images
option for callers that want access to the detailedimages
hash instead of the generated css content
- @halida added a new
margin
option to (optionally) separate images in generated spritesheet to avoid 'bleeding' when browser scales the sprite (e.g. when user increases text size) - added
padding
support forpacked
layout - added
margin
support forpacked
layout - added support for using source image filename as automatic css selector issue #12
- added support for
:hover
(and other pseudo-class) selectors issue #14
- added support for
:nocomments => true
to suppress comments in generated output stylesheet - added support for images in subfolders - fixes github issue #11
- added support for
:style => :scss
to generate .scss file (even though content will be almost exactly same as .css style) - deprecated
:output
option and replaced it with 2 new explicit:output_image
and:output_style
options - updated RELEASE NOTES to include setup for use with Rails 3.1 asset pipeline
- (not available)
- source image file extensions now treated in case INsensitive manner (e.g. we detect both .PNG, .png and .Png)
- added
:nocss => true
option to suppress generation of output css file (caller should userun!
return value instead - it contains the generated css content as a string)
- added new
:layout => :packed
option to use bin-packing algorithm for generating rectangular sprite sheet - added pngcrush support
- original version