com.liferay.portal.image
Class SpriteProcessorImpl
java.lang.Object
com.liferay.portal.image.SpriteProcessorImpl
- All Implemented Interfaces:
- SpriteProcessor
public class SpriteProcessorImpl
- extends Object
- implements SpriteProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpriteProcessorImpl
public SpriteProcessorImpl()
generate
public Properties generate(List<File> images,
String spriteFileName,
String spritePropertiesFileName,
String spritePropertiesRootPath,
int maxHeight,
int maxWidth,
int maxSize)
throws IOException
- Specified by:
generate
in interface SpriteProcessor
- Throws:
IOException
convert
protected RenderedImage convert(RenderedImage renderedImage)
throws Exception
- Throws:
Exception
createRenderedImage
protected RenderedImage createRenderedImage(RenderedImage renderedImage,
int height,
int width,
DataBuffer dataBuffer)
printImage
protected void printImage(RenderedImage renderedImage)