AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

TList Einträge fehlen

Ein Thema von tumo · begonnen am 20. Aug 2019 · letzter Beitrag vom 21. Aug 2019
Antwort Antwort
Seite 2 von 2     12
Benutzerbild von p80286
p80286

Registriert seit: 28. Apr 2008
Ort: Stolberg (Rhl)
6.659 Beiträge
 
FreePascal / Lazarus
 
#11

AW: TList Einträge fehlen

  Alt 21. Aug 2019, 13:33
Ich kenne mich mit dem Grafik-Kram nicht so aus, aber da beide nicht synonym sind wird es schon einen unterschied machen. Schau mal in die OH. War da nicht etwas mit virtueller Bitmap???

Gruß
K-H
Programme gehorchen nicht Deinen Absichten sondern Deinen Anweisungen
R.E.D retired error detector
  Mit Zitat antworten Zitat
tumo

Registriert seit: 28. Apr 2014
46 Beiträge
 
Delphi 10.3 Rio
 
#12

AW: TList Einträge fehlen

  Alt 21. Aug 2019, 14:04
oh,
Zitat:
Use Bitmap to reference the picture object when it contains a bitmap. If Bitmap is referenced when the picture contains a Metafile or Icon graphic, the graphic won't be converted. Instead, the original contents of the picture are discarded and Bitmap returns a new, blank bitmap.
Offenbar zählt eine JPEG als Metafile. Das erklärt es dann doch ein wenig.
  Mit Zitat antworten Zitat
peterbelow

Registriert seit: 12. Jan 2019
Ort: Hessen
670 Beiträge
 
Delphi 11 Alexandria
 
#13

AW: TList Einträge fehlen

  Alt 21. Aug 2019, 16:03
oh,
Zitat:
Use Bitmap to reference the picture object when it contains a bitmap. If Bitmap is referenced when the picture contains a Metafile or Icon graphic, the graphic won't be converted. Instead, the original contents of the picture are discarded and Bitmap returns a new, blank bitmap.
Offenbar zählt eine JPEG als Metafile. Das erklärt es dann doch ein wenig.
Das Zitat ist etwas out of date. TPicture.Bitmap gibt nur dann auch das in TPicture geladene Objekt zurück, wenn das ein TBitmap ist, ansonsten wirft es den Inhalt weg und erzeugt eine neue, leere TBitmap. TPicture.Metafile und .Icon machen das analog. Nur die Graphic-Property gibt immer den geladenen Inhalt zurück, wenn es einen gibt (sonst nil).

Das ist wohl noch Delphi 1 Erbe, damals konnte Windows (3.x) halt nur drei Grafikformate...
Peter Below
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:54 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz