[Lazarus-es] Error al compilar powerpdf

José Antonio Cuello Principal josea en artextrading.com
Mie Oct 8 15:18:27 CEST 2008


He intentado instalar el componente sugerido para exportar a pdf pero al 
compilarlo me da el siguiente error:
'Error: Incompatible types: got "LongInt" expected "TByteArray"' en la 
unit PdfImages.pas(267,35)

        for y := 0 to aintfimage.Height - 1 do
        begin
          new(pb);
          for x := 0 to aintfimage.Width-1 do
          begin
            aColor := aIntfImage.Colors[x,y];
            pb[ 0 ] := acolor.red shr 
8;                                                   ---> en este grupo 
de lineas
            pb[ 1 ] := acolor.green shr 8;
            pb[ 2 ] := acolor.blue shr 8;
            Stream.write(pb[ 0 ], 3);
          end;
          dispose(pb); 



More information about the Lazarus-es mailing list