Autor Beitrag
blackbirdXXX

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Sa 29.11.03 22:11 
wenn ich eine Variable as ticon erstelle und ihr ein icon zuweise und es speichere dann hat es nur 16 farben? Kann man das ändern?

Ich habe delphi3 verwendet.

_________________
Klein, schwarz und ärgert Techniker? Jumper!
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 02.12.03 17:05 
Ja, du kannst auch ein 2-farbiges Icon speichern...

_________________
...To err is human, but to really foul things up requires a computer.
blackbirdXXX Threadstarter

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Do 18.12.03 21:39 
Ja. Der Humor am DelphiForum :wink:
Jetzt mal ernsthalft. Wie kriech ich 256Farben oder 24bit hin?

_________________
Klein, schwarz und ärgert Techniker? Jumper!
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Di 30.12.03 23:05 
Hallo,

meines Wissens mit TIcon gar nicht. Müsstest du mit Non-VCL machen, also LoadImage() und DrawIcon(). Schau in der Onlinehilfe/PSDK nach.

_________________
Life is a bad adventure, but the graphic is really good!
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Di 30.12.03 23:59 
Nein, mit TIcon geht das nicht, allerdings bin ich mir auch nicht ganz sicher wie man mit LoadImage und DrawIcon Icons abspeichert.. ;)

hier das hab ich bei Torry gefunden:

www.torry.net/vcl/gr...ics/icons/jvicon.zip

Torry hat folgendes geschrieben:
TjvIcon is a TComponent descendant with public methods: Create Icon from Bitmap, Save Icon with 16 colors, Save Icon with 256 colors, Save Bitmap as 16 color Icon, Save Bitmap as 256 color Icon.
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Mi 31.12.03 16:57 
Hallo,

:oops: achso, wir waren beim speichern... Sorry!

Dann nimm entweder diese Kompo von Torry's, oder gehe zu [url]Wotsit.org[/url], und schau dir an, wie man Icons erzeugt... Binär... Habe ich auch schon gemacht, ich könnte dir ein Demo-Projekt eMailen, ist aber echt nur Alpha-Version! Daher rate ich doch eher zu Torry's...

_________________
Life is a bad adventure, but the graphic is really good!