Fórum imagem -gt; txt e vice-versa #133654
07/02/2003
0
abraços
Uiratan Cavalcante
Curtir tópico
+ 0Posts
07/02/2003
Anonymous
procedure TForm1.TesteClick.... var wStream : TStringStream; bmp : TBitmap; begin wStream := TStringStream.Create(´´); bmp := TBitmap.Create(Self); bmp.LoadFromFile(´c:\teste.bmp´); bmp.SaveToStream(wStream); wStream.position := 0; showmessage(wStream.DataString); Image1.Picture.Bitmap.LoadFromStream(wStream); wStream.free; bmp.free; end;
É algo do gênero, espero ter ajudado.
Abraços
Marcello Bacos Moreno
mbminformatica@yahoo.com.br
Gostei + 0
07/02/2003
Anonymous
Gostei + 0
07/02/2003
Anonymous
Exatamente aqui :
bmp := TBitmap.Create(Self);
O erro é esse :
Too many actual parameters
Eu não consegui resolvelo se alguem souber o motivo por favor me ajude.
Obrigado desde já .
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)