Autor Beitrag
shr00m
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 18

WIN 95, XP Home, Vista HP; Ubuntu 7.10; openSUSE 10.3
D3 Prof., D6 P, D2005 P, C++, VB6
BeitragVerfasst: Mi 06.06.07 13:10 
Liebe Community!

Meine Frage betrifft die Speicherung. Und zwar folgendes Problem: Ich hab ein Panel, und auf dieses zeichne ich mit canvas, danach soll es gespeichert werden. Wie stelle ich das an? Wie man "normal" speichert weiss ich inzwischen, doch wie ein Panel als .bmp!?

Dieser Ablauf der Zeichnung/Speicherung soll mehrmals vonstatten gehen. Kann man die Reihe von Bitmaps später auch als .gif abspeichern, um so mit eine bewegte Grafik entstehen zu lassen?

Danke schonmal im voraus :roll:
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mi 06.06.07 14:12 
Per Suche in der Entwickler-Ecke BITBLT auf das Canvas eines TBitmaps kopieren und dieses dann abspeichern.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Robinator
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 275

WinXP
BDS 2006
BeitragVerfasst: Mi 06.06.07 14:40 
Delphi unterstützt nativ keine .gif dateien, dafür müsstest du ne externe komponente bzw. unit einbinden ;)
für einzelne Bilder kannst du ohne weiteres die von meinem vorredner vorgeschlagene Methode verwenden.

grüsse

_________________
erare humanum est
Jungsta
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22

Win Xp
Delphi 7 Pers.
BeitragVerfasst: Mi 06.06.07 15:34 
Du könntest anstelle von einem gif alles in einen FileStream speichern!

_________________
Erst denken,
dann handeln!!!
Robinator
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 275

WinXP
BDS 2006
BeitragVerfasst: Mi 06.06.07 16:34 
Und was sollte das bitte bringen?

_________________
erare humanum est