|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.openptk.util.Media
public class Media
Media manipulation methods.
| Constructor Summary | |
|---|---|
Media()
|
|
| Method Summary | |
|---|---|
static byte[] |
scaleCropImage(byte[] bytesIn,
int width,
int height,
java.lang.String type)
Scale and Crop the image (byte[]) to the specified size (width and height). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Media()
| Method Detail |
|---|
public static byte[] scaleCropImage(byte[] bytesIn,
int width,
int height,
java.lang.String type)
throws java.lang.Exception
bytesIn - byte[] the original imagewidth - int size of the returned image widthheight - int size of the returned image heighttype - String the original image type
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||