Autor Beitrag
Handycommander
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Do 14.07.05 12:51 
hi,

ich habe ein png bild, das ich nur irgendwie als png haben kann, weil wenn ich es auf bmp umwandle, es nicht mehr so gut aussieht.
wie kann ich dieses png bild nun als button benutzen? ich mein, es gibt ja die speedbuttons, da kann man des bild einfügen, aber eben nur bmp. gibt es eine komponente bei der man auch png einfügen kann oder sowas in der gleichen?

danke

tobias
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Do 14.07.05 13:39 
pngdelphi.sourceforge.net
Damit kannst du TImage um png erweitern. :wink:
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Do 14.07.05 13:50 
und wie kann ich das dann in einen button machen?
ich brauch es ja nicht als image allein, sondern in einem button!
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Do 14.07.05 15:06 
Da Windows standardmäßig nur mit Bitmaps und Icons arbeitet, wird es keine Standardkomponente dafür geben. Mir würde momentan jedoch auch nur die Konvertierung in eine Bitmap einfallen. Warum sieht es denn nicht gut aus? Eigentlich sollte man keinen Unterschied (bis auf den Alphakanal) merken :?

Gruß,
maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 14.07.05 17:22 
user profile iconmaxk hat folgendes geschrieben:
Eigentlich sollte man keinen Unterschied (bis auf den Alphakanal) merken :?


das sollte doch reichen als unterschied :roll:

Gruß,
Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Do 14.07.05 18:15 
gibts denn einen converter, der aus png icons macht, die noch genauso aussehen wie das original?
DarkLord05
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 449

WinXP Pro SP2
Opera; Delphi 3 Pro; Delphi 2005, Turbo Delphi, dev-c++, Eclipse, MS Visual Studio .NET 2003, MS Visual C++
BeitragVerfasst: Do 14.07.05 18:25 
Schon mal mit Adobe Photoshop probiert?
Habe damit bis jetzt alles irgendiwe umwndeln können ohne sichtbaren (außer bei starker vergößerung *g*) Verlust der Qualität.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 14.07.05 21:36 
user profile iconHandycommander hat folgendes geschrieben:
gibts denn einen converter, der aus png icons macht, die noch genauso aussehen wie das original?


mh.. ein gescheiter IconMaker sollte das können... free-icon-editor.com/ z.B.

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)