
por ahí encontré este código:
delphi
TJPEGImage(Image1.Picture.Graphic).GrayScale := True;
Pero no funciona en lazarus salé error...
Saludos.
Escrito 12 noviembre 2014 - 05:22
TJPEGImage(Image1.Picture.Graphic).GrayScale := True;
Escrito 12 noviembre 2014 - 06:25
Escrito 13 noviembre 2014 - 01:08
Escrito 13 noviembre 2014 - 01:38
Escrito 13 noviembre 2014 - 02:20
Escrito 13 noviembre 2014 - 02:40
var ImagenOriginal: TBGRABitmap; ImagenGris: TBRGACustomBitmap; begin imagenOriginal := TBGRABitmap.Create('Foto.jpg'); ImagenGris := ImageOriginal.FilterGrayscale; ImagenGris.Draw(0,0, true);