Decoupe d'image en java
mariet
Messages postés
3
Date d'inscription
Statut
Membre
Dernière intervention
-
choubaka Messages postés 39442 Date d'inscription Statut Modérateur Dernière intervention -
choubaka Messages postés 39442 Date d'inscription Statut Modérateur Dernière intervention -
Bonjour a tous,
je charge une image qui fait 1600pixel sur 1600. A partir de cette image je voufrais récupérer une portion d'image a partir d'un point qui serait en 400*400 puis l'enregistrer sur mon disque
je charge une image qui fait 1600pixel sur 1600. A partir de cette image je voufrais récupérer une portion d'image a partir d'un point qui serait en 400*400 puis l'enregistrer sur mon disque
A voir également:
- Decoupe d'image en java
- Waptrick java football - Télécharger - Jeux vidéo
- Jeux java itel - Télécharger - Jeux vidéo
- Eclipse java - Télécharger - Langages
- Java apk - Télécharger - Langages
- Waptrick java voiture - Télécharger - Jeux vidéo
5 réponses
salut
as tu exploré le package javax.imageio ??
http://java.sun.com/j2se/1.4.1/docs/api/
Choubadamour:
Le doudou à format c:
as tu exploré le package javax.imageio ??
http://java.sun.com/j2se/1.4.1/docs/api/
Choubadamour:
Le doudou à format c:
Il doit vouloir parler de :
CropImageFilter
public CropImageFilter(int x,
int y,
int w,
int h)Constructs a CropImageFilter that extracts the absolute rectangular region of pixels from its source Image as specified by the x, y, w, and h parameters.
Parameters:
x - the x location of the top of the rectangle to be extracted
y - the y location of the top of the rectangle to be extracted
w - the width of the rectangle to be extracted
h - the height of the rectangle to be extracted
la culture c comme la confiture - on en a + on l'etale
CropImageFilter
public CropImageFilter(int x,
int y,
int w,
int h)Constructs a CropImageFilter that extracts the absolute rectangular region of pixels from its source Image as specified by the x, y, w, and h parameters.
Parameters:
x - the x location of the top of the rectangle to be extracted
y - the y location of the top of the rectangle to be extracted
w - the width of the rectangle to be extracted
h - the height of the rectangle to be extracted
la culture c comme la confiture - on en a + on l'etale
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question