Bonjour,
Dans un main j'ai mis le code suivant :
le problème que j'ai : ByteProcessor: not 8-bit image
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 String _filename = "baboon.jpg"; PlanarImage pi = JAI.create("fileload", _filename); System.out.println(pi.getColorModel()); BufferedImage bi = pi.getAsBufferedImage(); ByteProcessor bp = new ByteProcessor(bi);
si qqn a une réponse : merci !
Partager