Autor Beitrag
NetZwerg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 28.03.04 10:54 
Hallo,

ich möchte mein Bild transparent machen, aber nicht unbedingt das Anti-Aliasing entfernen. Kann ich es irgendwie bewirken, dass das Bild transparent wird, ohne dass ich es entferne? Ich benutze Delphi 3. Vielleicht gibt es eine art alpha-maske oder so?

cYa, THX!
Dave :twisted:

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: So 28.03.04 17:11 
Bei delphi 3 gibt es doch auch schon transparent?!

ausblenden Delphi-Quelltext
1:
image.transparent := true					


Dann muss das bild aber ein .bmp sein! Desweiteren kannst du dir auch die Rx-Komponente runterladen, mit der kannst du einstellen das eine Farbe transparent behandelt wird. Dann klappt es auch mit .jpg bildern.

gruß
Karlson
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 28.03.04 17:48 
dann abe ich aber nur eine transparente farbe. mein rand is allerdings mit hellen grautönen und so. und die werden nicht transparent!! Thx

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 28.03.04 17:48 
und wie kann ich überhaupt eine jpg datei verwenden?

unbekannte bildateierweiterung(.jpg)

!!?!?

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Gandalfus
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 129



BeitragVerfasst: So 28.03.04 18:12 
uses jpeg;

_________________
Wennn man feststellt, dass es drei Moeglichkeiten gibt, die einen Vorgang schiefgehen lassen koennen und man diese ausschaltet, entstehen automatisch drei neue Moeglichkeiten.
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: So 28.03.04 18:22 
NetZwerg hat folgendes geschrieben:
dann abe ich aber nur eine transparente farbe. mein rand is allerdings mit hellen grautönen und so. und die werden nicht transparent!! Thx



Zitat:
Desweiteren kannst du dir auch die Rx-Komponente runterladen, mit der kannst du einstellen das eine Farbe transparent behandelt wird. Dann klappt es auch mit .jpg bildern.


So müsste es klappen.
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Mo 29.03.04 08:12 
und wo kriege ich die rx-komponenete? :mrgreen:

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Mo 29.03.04 09:30 
okay, hab se. Aber wie installiere ich die jetzt und wie mache ich den hintergrund von meinem jpg transparent??? :(

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Mo 29.03.04 17:19 
Uff, also es gibt mehrere Komponenteninstallationsmöglichkeiten! Als erstes solltest du aber schauen ob die Komponente auch für Delphi 3 kompatibel ist! Das steht sicher dort wo du sie runtergeladen hast, oder in einer readme datei! Danach schaust du ob irgendwo die Installation beschrieben ist. Wenn nicht gehst du in Delphi, dann im Dateimenü auf Komponente installieren, dort gibst du dann die .dpk datei an die etwa so lautet: rx03.dpk. Dann auf installieren.
Sorry wenn das jetzt etwas ungenau ist, aber ich habe Delphi momentan nicht auf dem Rechner, deswegen kann ich nicht nachschauen wie die einzelnen Menüpunkte heißen!

Naja wenn du die Komponente installiert hast, bekommst du eine neue Registerkarte mit dem titel Rx-Stuff. Dort müsste es irgendwo eine imagekomponente geben, bei der du dann alles weitere einstellen kannst. Allerdings solltest du dich auf ausgefranste Ränder einstellen! Jpg-Bilder sind im Detail ziemlich ungenau. Deswegen kannst du auch anstatt .jpg .gif images nehmen, bei denen sollte es besser klappen.

Gruß
Karlson
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Mo 29.03.04 20:22 
tja, soweit so gut...

hier mal was aus der readme.txt:
Zitat:
4. Delphi 3.x:

Uninstall previous installed version of RX Library from Delphi 3 IDE.
Remove previously compiled RX packages RXCTL.DPL, RXDB.DPL, RXTOOLS.DPL,
DCLRXCTL.DPL, DCLRXDB.DPL and DCLRXTLS.DPL from your hard disk.

Use "File\Open..." menu item of Delphi IDE to open consistently RX
run-time packages RXCTL.DPK (MUST be first), RXDB.DPK and RXTOOLS.DPK.
In "Package..." window click "Compile" button to compile RX Library
run-time packages. Put compiled DPL files into directory that is
accessible through the search PATH (i.e. DOS "PATH" environment
variable; for example, in the Windows\System directory). After
compiling RX run-time packages you must install RX design-time
packages into the IDE.

Use "File\Open..." menu item to open consistently RX design-time
packages DCLRXCTL.DPK (MUST be first), DCLRXDB.DPK and DCLRXTLS.DPK.
In "Package..." window click "Install" button to register RX Library
components on the "RX Controls", "RX DBAware" and "RX Tools" pages
accordingly.

NOTE: do not save package sources in the Delphi IDE.


Tja, ich hab erstmal versucht die teile inzubinden, wie Karlson das gesagt hat. Da gehen aber keine dpk-Dateien (nur pas und nochwas...) Dann hab ich verucht nach der readme vorzugehen. Wenn ich allerdings "installieren" drücke, kommt die Fehlermeldung:

Package "C:\Programme\...\RXCTL.dpl kann nicht installiert werden, da es kein Entwurfzeit-package ist.

???

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mo 29.03.04 20:36 
Im Readme steht ja auch, dass Du bei der RXCTL nur auf "Compile" klicken sollst. Von "Install" steht da nichts. Das kommt erst bei den DCL...-Packages im zweiten Teil der Installation.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Di 30.03.04 10:21 
och gott, ja! Mein fehler... :oops: ich versuch's nochmal... :D

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Di 30.03.04 10:35 
gut, hat geklappt!! Das bild is langenich mehr so stufig an der seite, also es gibt keine weißen pixel mehr, und ich kann's jet auch als gif machen!! :D THX!!!! :D :D :D

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Di 30.03.04 13:19 
Ja das war dann eine andere Installation. Ich sagte ja du sollst zuerst die Readme nach Installationshinweisen durchsuchen. Sorry fürs verwirren ;)