Autor Beitrag
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Mi 09.04.03 12:46 
Horido...

Aus performance-gründen muss ich, bei einem älteren spiel, in DelphiX 16Bit DIB bmps laden (oder anderes format), um speicher zu sparen! Das laden findet über ein standart TBitmap statt.

Weiss jemand ob es nachdem laden tatsächlich noch im 16bit format im speicher vorliegt, da bin ich mir nämlich garnicht so sicher. Das Bitmap.pixelFormat = pfCustom, und in der hilfe steht, das pFCustom bedeutet, dass das format nicht unterstützt wird??? anzeigen tut er es zumindest.

Ideen?

PS: Das DIB hab ich auf X1 R5 G5 B5 codiert.

_________________
mfg.
mâximôv
maximus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Mi 09.04.03 18:20 
ALso ich formulier es mal anders: Hat schonmal jemand erfolgreich ein 16-Bit bild in ein TBitmap geladen, was dann noch mit 16-bit im speicher vorlag?

_________________
mfg.
mâximôv
maximus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Do 10.04.03 10:30 
Hat sich erledigt: Hab ein paar pixel mit scanline manipuliert und siehe da die adressierung war nur bei 16Bit koreckt 8)

_________________
mfg.
mâximôv