Download smartsprites Free Java Code
Description
CSS Sprites Generator Done Right. SmartSprites maintains CSS sprites in your designs, fully automatically. No tedious copying and pasting to your CSS when adding or changing sprited images.
Icons
Source Files
The download file smartsprites-master.zip has the following entries.
.gitattributes/*from w ww . j ava 2 s.co m*/
.gitignore
.settings/org.eclipse.core.resources.prefs
.settings/org.eclipse.jdt.core.prefs
.settings/org.eclipse.m2e.core.prefs
README.rdoc
doc/website/css/default-sprite.css
doc/website/css/default.css
doc/website/download.html
doc/website/img/arrow_undo.png
doc/website/img/bg.png
doc/website/img/bgitem.gif
doc/website/img/bgmenu.png
doc/website/img/dark_pixel.jpg
doc/website/img/donate-10.png
doc/website/img/donate-25.png
doc/website/img/donate-50.png
doc/website/img/donate-other.png
doc/website/img/es.png
doc/website/img/fr.png
doc/website/img/how-smartsprites-works.jpg
doc/website/img/li.gif
doc/website/img/quote.gif
doc/website/img/vert-ie6.png
doc/website/img/vert.png
doc/website/index.html
pom.xml
smartsprites.LICENSE
src/main/ant/build.xml
src/main/ant/smartsprites.properties
src/main/assembly/bin.xml
src/main/assembly/release.xml
src/main/bin/smartsprites.cmd
src/main/bin/smartsprites.sh
src/main/java/amd/Quantize.java
src/main/java/org/carrot2/labs/smartsprites/SmartSprites.java
src/main/java/org/carrot2/labs/smartsprites/SmartSpritesParameters.java
src/main/java/org/carrot2/labs/smartsprites/SpriteBuilder.java
src/main/java/org/carrot2/labs/smartsprites/SpriteDirectiveOccurrence.java
src/main/java/org/carrot2/labs/smartsprites/SpriteDirectiveOccurrenceCollector.java
src/main/java/org/carrot2/labs/smartsprites/SpriteImage.java
src/main/java/org/carrot2/labs/smartsprites/SpriteImageBuilder.java
src/main/java/org/carrot2/labs/smartsprites/SpriteImageDirective.java
src/main/java/org/carrot2/labs/smartsprites/SpriteImageOccurrence.java
src/main/java/org/carrot2/labs/smartsprites/SpriteImageRenderer.java
src/main/java/org/carrot2/labs/smartsprites/SpriteLayoutProperties.java
src/main/java/org/carrot2/labs/smartsprites/SpriteReferenceDirective.java
src/main/java/org/carrot2/labs/smartsprites/SpriteReferenceOccurrence.java
src/main/java/org/carrot2/labs/smartsprites/SpriteReferenceReplacement.java
src/main/java/org/carrot2/labs/smartsprites/ant/SmartSpritesTask.java
src/main/java/org/carrot2/labs/smartsprites/css/CssProperty.java
src/main/java/org/carrot2/labs/smartsprites/css/CssSyntaxUtils.java
src/main/java/org/carrot2/labs/smartsprites/message/LevelCounterMessageSink.java
src/main/java/org/carrot2/labs/smartsprites/message/MemoryMessageSink.java
src/main/java/org/carrot2/labs/smartsprites/message/Message.java
src/main/java/org/carrot2/labs/smartsprites/message/MessageLog.java
src/main/java/org/carrot2/labs/smartsprites/message/MessageSink.java
src/main/java/org/carrot2/labs/smartsprites/message/PrintStreamMessageSink.java
src/main/java/org/carrot2/labs/smartsprites/resource/FileSystemResourceHandler.java
src/main/java/org/carrot2/labs/smartsprites/resource/ResourceHandler.java
src/main/java/org/carrot2/util/BufferedImageUtils.java
src/main/java/org/carrot2/util/CollectionUtils.java
src/main/java/org/carrot2/util/ColorQuantizer.java
src/main/java/org/carrot2/util/EnumUtils.java
src/main/java/org/carrot2/util/FileUtils.java
src/main/java/org/carrot2/util/PathUtils.java
src/main/javadoc/amd/package.html
src/main/javadoc/org/carrot2/labs/smartsprites/ant/package.html
src/main/javadoc/org/carrot2/labs/smartsprites/css/package.html
src/main/javadoc/org/carrot2/labs/smartsprites/message/package.html
src/main/javadoc/org/carrot2/labs/smartsprites/package.html
src/main/javadoc/org/carrot2/labs/smartsprites/resource/package.html
src/main/javadoc/org/carrot2/util/package.html
src/main/javadoc/overview.html
src/main/javadoc/resources/logo.png
src/main/javadoc/stylesheet.css
src/main/resources/smartsprites.xml
src/test/java/org/carrot2/labs/smartsprites/SmartSpritesParametersTest.java
src/test/java/org/carrot2/labs/smartsprites/SpriteBuilderTest.java
src/test/java/org/carrot2/labs/smartsprites/SpriteDirectiveOccurrenceCollectorTest.java
src/test/java/org/carrot2/labs/smartsprites/SpriteImageDirectiveTest.java
src/test/java/org/carrot2/labs/smartsprites/SpriteImageTest.java
src/test/java/org/carrot2/labs/smartsprites/SpriteReferenceDirectiveTest.java
src/test/java/org/carrot2/labs/smartsprites/TestWithMemoryMessageSink.java
src/test/java/org/carrot2/labs/smartsprites/css/CssSyntaxUtilsTest.java
src/test/java/org/carrot2/labs/test/Assertions.java
src/test/java/org/carrot2/labs/test/BufferedImageAssertion.java
src/test/java/org/carrot2/labs/test/CssPropertyAssertion.java
src/test/java/org/carrot2/labs/test/CssPropertyListAssertion.java
src/test/java/org/carrot2/labs/test/MessageAssertion.java
src/test/java/org/carrot2/labs/test/MessageListAssertion.java
src/test/java/org/carrot2/util/BufferedImageTestBase.java
src/test/java/org/carrot2/util/BufferedImageUtilsTest.java
src/test/java/org/carrot2/util/ColorQuantizerTest.java
src/test/java/org/carrot2/util/FileUtilsTest.java
src/test/resources/images/bit-alpha.png
src/test/resources/images/exact-colors.png
src/test/resources/images/full-alpha.png
src/test/resources/images/many-colors.png
src/test/resources/images/no-alpha.png
src/test/resources/images/one-color.png
test/absolute-image-url/absolute-path/img/web.gif
test/absolute-image-url/css/style-expected.css
test/absolute-image-url/css/style.css
test/css-in-subfolders/css/library/common-expected.css
test/css-in-subfolders/css/library/common.css
test/css-in-subfolders/css/style-expected.css
test/css-in-subfolders/css/style.css
test/css-in-subfolders/img/pubmed.gif
test/css-in-subfolders/img/web.gif
test/css-output-dir/css/sprite/style-expected.css
test/css-output-dir/css/sprite/style.css
test/css-output-dir/img/pubmed.gif
test/css-output-dir/img/web.gif
test/example-from-the-website/css/style.css
test/example-from-the-website/img/logo.png
test/example-from-the-website/img/top-frame.gif
test/example-from-the-website/img/web.gif
test/indexed-color-ie6/css/style-expected.css
test/indexed-color-ie6/css/style.css
test/indexed-color-ie6/img/bit-alpha.gif
test/indexed-color-ie6/img/bit-alpha.png
test/indexed-color-ie6/img/full-alpha.png
test/indexed-color-ie6/img/many-colors-bit-alpha.png
test/indexed-color-ie6/img/many-colors.png
test/indexed-color/css/style-expected.css
test/indexed-color/css/style.css
test/indexed-color/img/bit-alpha.gif
test/indexed-color/img/bit-alpha.png
test/indexed-color/img/full-alpha.png
test/indexed-color/img/many-colors.png
test/individual-css-files-with-output-dir/css-other/style.css
test/individual-css-files-with-output-dir/css/custom/style-expected.css
test/individual-css-files-with-output-dir/css/custom/style.css
test/individual-css-files-with-output-dir/css/style-expected.css
test/individual-css-files-with-output-dir/css/style.css
test/individual-css-files-with-output-dir/img/web.gif
test/individual-css-files-without-output-dir/css-other/style-expected.css
test/individual-css-files-without-output-dir/css-other/style.css
test/individual-css-files-without-output-dir/css/custom/style-expected.css
test/individual-css-files-without-output-dir/css/custom/style.css
test/individual-css-files-without-output-dir/css/style-expected.css
test/individual-css-files-without-output-dir/css/style.css
test/individual-css-files-without-output-dir/img/web.gif
test/large-repeat/css/style-expected.css
test/large-repeat/css/style.css
test/large-repeat/img/pubmed.gif
test/large-repeat/img/web.gif
test/layout-properties-from-sprite-image-directive/css/style-expected.css
test/layout-properties-from-sprite-image-directive/css/style.css
test/layout-properties-from-sprite-image-directive/img/logo.png
test/layout-properties-from-sprite-image-directive/img/pubmed.gif
test/layout-properties-from-sprite-image-directive/img/web.gif
test/matte-color/css/style-expected.css
test/matte-color/css/style.css
test/matte-color/img/bit-alpha.png
test/matte-color/img/full-alpha.png
test/matte-color/img/many-colors.png
test/missing-images/css/style-expected.css
test/missing-images/css/style.css
test/missing-images/img/top-frame.gif
test/missing-images/img/web.gif
test/multiple-css-files/css/style-expected.css
test/multiple-css-files/css/style.css
test/multiple-css-files/css/style2-expected.css
test/multiple-css-files/css/style2.css
test/multiple-css-files/img/logo.png
test/multiple-css-files/img/pubmed.gif
test/multiple-css-files/img/web.gif
test/no-sprite-declarations/css/style.css
test/no-sprite-references/css/style-expected.css
test/no-sprite-references/css/style.css
test/non-default-output-dir/css/style-expected.css
test/non-default-output-dir/css/style.css
test/non-default-output-dir/img/pubmed.gif
test/non-default-output-dir/img/web.gif
test/overriding-css-properties/css/style-expected.css
test/overriding-css-properties/css/style.css
test/overriding-css-properties/img/logo.png
test/overriding-css-properties/img/pubmed.gif
test/overriding-css-properties/img/web.gif
test/real-world-example/css/common-ie6.css
test/real-world-example/css/common-ie7.css
test/real-world-example/css/common.css
test/real-world-example/img/border-bottom.gif
test/real-world-example/img/border-top.gif
test/real-world-example/img/bulb.gif
test/real-world-example/img/c2-background.gif
test/real-world-example/img/c2-logo-small.png
test/real-world-example/img/c2-logo-startup.gif
test/real-world-example/img/glow-big-b.gif
test/real-world-example/img/glow-big-bl.gif
test/real-world-example/img/glow-big-br.gif
test/real-world-example/img/glow-big-l.gif
test/real-world-example/img/glow-big-r.gif
test/real-world-example/img/glow-big-t.gif
test/real-world-example/img/glow-big-tl.gif
test/real-world-example/img/glow-big-tr.gif
test/real-world-example/img/glow-small-b.gif
test/real-world-example/img/glow-small-bl.gif
test/real-world-example/img/glow-small-br.gif
test/real-world-example/img/glow-small-l.gif
test/real-world-example/img/glow-small-r.gif
test/real-world-example/img/glow-small-t.gif
test/real-world-example/img/glow-small-tl.gif
test/real-world-example/img/glow-small-tr.gif
test/real-world-example/img/google.gif
test/real-world-example/img/information.png
test/real-world-example/img/jobs.gif
test/real-world-example/img/msn.gif
test/real-world-example/img/pubmed.gif
test/real-world-example/img/tab-active-body.gif
test/real-world-example/img/tab-active-lead-in.gif
test/real-world-example/img/tab-active-lead-out.gif
test/real-world-example/img/tab-active-passive-link.gif
test/real-world-example/img/tab-passive-active-link.gif
test/real-world-example/img/tab-passive-body.gif
test/real-world-example/img/tab-passive-lead-in.gif
test/real-world-example/img/tab-passive-lead-out.gif
test/real-world-example/img/tab-passive-passive-link.gif
test/real-world-example/img/web.gif
test/real-world-example/img/yahoo.gif
test/real-world-example/js/carrot2.layout.js
test/real-world-example/js/carrot2.tabs.js
test/real-world-example/js/carrot2.util.js
test/real-world-example/js/jquery-1.2.3.min.js
test/real-world-example/js/jquery.dimensions.min.js
test/real-world-example/js/ui.mouse.js
test/real-world-example/js/ui.sortable.ext.js
test/real-world-example/js/ui.sortable.js
test/real-world-example/tabs-sprite.html
test/real-world-example/tabs.html
test/repeated-image-references/css/style-expected.css
test/repeated-image-references/css/style.css
test/repeated-image-references/img/web-margin.png
test/repeated-image-references/img/web.png
test/scaled-sprite-fractional/css/style-expected.css
test/scaled-sprite-fractional/css/style.css
test/scaled-sprite-fractional/img/web.gif
test/scaled-sprite/css/style-expected.css
test/scaled-sprite/css/style.css
test/scaled-sprite/img/web.gif
test/simple-horizontal-sprite-important/css/style-expected.css
test/simple-horizontal-sprite-important/css/style.css
test/simple-horizontal-sprite-important/img/full-alpha.png
test/simple-horizontal-sprite-important/img/logo.png
test/simple-horizontal-sprite-important/img/pubmed.gif
test/simple-horizontal-sprite-important/img/web.gif
test/simple-horizontal-sprite/css/style-expected.css
test/simple-horizontal-sprite/css/style.css
test/simple-horizontal-sprite/img/logo.png
test/simple-horizontal-sprite/img/pubmed.gif
test/simple-horizontal-sprite/img/web.gif
test/sprite-centering/css/style-expected.css
test/sprite-centering/css/style.css
test/sprite-centering/img/logo.png
test/sprite-image-uid-md5-ie6/css/style-expected.css
test/sprite-image-uid-md5-ie6/css/style.css
test/sprite-image-uid-md5-ie6/img/full-alpha.png
test/sprite-image-uid-md5/css/style-expected.css
test/sprite-image-uid-md5/css/style.css
test/sprite-image-uid-md5/img/logo.png
test/sprite-image-uid-md5/img/pubmed.gif
test/sprite-image-uid-md5/img/web.gif
test/sprite-margins/css/style-expected.css
test/sprite-margins/css/style.css
test/sprite-margins/img/logo.png
test/target-sprite-image-dir-not-exists/css/style-expected.css
test/target-sprite-image-dir-not-exists/css/style.css
test/target-sprite-image-dir-not-exists/img/web.gif
test/unsupported-image-format/css/style-expected.css
test/unsupported-image-format/css/style.css
test/unsupported-image-format/img/web.iff
test/unsupported-sprite-properties/css/style-expected.css
test/unsupported-sprite-properties/css/style.css
test/unsupported-sprite-properties/img/logo.png
test/unsupported-sprite-properties/img/pubmed.gif
test/unsupported-sprite-properties/img/web.gif
test/variable-substitution-in-sprite-image-path/css/style-expected.css
test/variable-substitution-in-sprite-image-path/css/style.css
test/variable-substitution-in-sprite-image-path/img/logo.png
test/variable-substitution-in-sprite-image-path/img/pubmed.gif
test/variable-substitution-in-sprite-image-path/img/web.gif
Download
Click the following link to download smartsprites-master.zip.
smartsprites-master.zip