|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qtunes.db.ImageScaler
public class ImageScaler
Utility class to return the image from a Track no larger than the specified size. Will cache previously scaled images
Constructor Summary | |
---|---|
ImageScaler()
|
Method Summary | |
---|---|
java.nio.ByteBuffer |
getImageBuffer(Track track,
int maxwidth,
int maxheight,
java.lang.String format)
Get the ImageBuffer from the specified Track. |
static ImageScaler |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageScaler()
Method Detail |
---|
public static ImageScaler getInstance()
public java.nio.ByteBuffer getImageBuffer(Track track, int maxwidth, int maxheight, java.lang.String format) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |