Ver Mensaje Individual
  #6 (permalink)  
Antiguo 21/08/2019, 02:00
Avatar de Fuzzylog
Fuzzylog
 
Fecha de Ingreso: agosto-2008
Ubicación: En internet
Mensajes: 2.511
Antigüedad: 15 años, 8 meses
Puntos: 188
Respuesta: pasar de java.awt.Image a bytes[]

Entonces haz esto para castear ( Basado en la api http://www.docjar.com/docs/api/sun/a...lkitImage.html )

// Imports
import sun.awt.image.ImageRepresentation;

// Codigo
ImageRepresentation imageRep = img.getImageRep();
BufferedImage bimage = imageRep.getBufferedImage();
__________________
if (fuzzy && smooth) {
fuzzylog = "c00l";
return true;
}