|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdraw.sources.formats.Image
draw.sources.formats.Bmp
public class Bmp
Image BMP.
Le fichier se décomposent en 17 parties.
3 couches suffisent à définir ces parties.
Types utilisées :
| Field Summary | |
|---|---|
static int |
bfOffBits
Adresse. |
static int |
bfReserved1
Réservé par Microsoft. |
static int |
bfReserved2
Réservé par Microsoft. |
private int |
bfSize
Taille du fichier. |
static java.lang.String |
bfType
Nom du format. |
static int |
biBitCount
Nombre de bits par pixel. |
static int |
biClrImportant
Nombre de couleurs importantes. |
static int |
biClrUsed
Nombre de couleurs dans l'image. |
static int |
biCompression
Compression. |
private int |
biHeight
Hauteur de l'image. |
private java.awt.Color[][] |
biPixels
Pixels de l'image en RGB. |
static int |
biPlanes
Nombre de plans. |
static int |
biSize
Taille de la couche. |
private int |
biSizeImage
Taille du fichier si compression. |
private int |
biWidth
Largeur de l'image. |
static int |
biXpelsPerMeter
Résolution horizontale. |
static int |
biYpelsPerMeter
Résolution verticale. |
| Constructor Summary | |
|---|---|
Bmp()
Crée une image BMP. |
|
Bmp(Cadre cadre)
Crée une image BMP. |
|
| Method Summary | |
|---|---|
Draw |
convert()
Convertit l'image en une image DRAW. |
int |
getHeight()
Retourne biHeight. |
java.lang.String |
getName()
Retourne bfType. |
int |
getWidth()
Retourne biWidth. |
void |
read(java.lang.String fichier)
Lit un fichier BMP. |
void |
write(java.lang.String fichier)
Ecrit un fichier BMP. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String bfType
private int bfSize
public static final int bfReserved1
public static final int bfReserved2
public static final int bfOffBits
public static final int biSize
private int biWidth
private int biHeight
public static final int biPlanes
public static final int biBitCount
public static final int biCompression
private int biSizeImage
public static final int biXpelsPerMeter
public static final int biYpelsPerMeter
public static final int biClrUsed
public static final int biClrImportant
private java.awt.Color[][] biPixels
| Constructor Detail |
|---|
public Bmp(Cadre cadre)
cadre - Cadre.public Bmp()
| Method Detail |
|---|
public java.lang.String getName()
getName in class Imagepublic int getWidth()
getWidth in class Imagepublic int getHeight()
getHeight in class Imagepublic void read(java.lang.String fichier)
read in class Imagefichier - Nom du fichier.public void write(java.lang.String fichier)
write in class Imagefichier - Nom du fichier.public Draw convert()
convert in class Image
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||