English
Forum

byte-Arrays with Profan manipulating...

 
Hi,

I had not absolutely to, but because of the large demand make I it still. here The Description, how to make a ByteArray (created with InitExtFX()) manually manipulating can. one ought to but exactly know, what power, because one versehentliches write in incorrect Speicherbereiche substantial damage cause can.
therefore take I these Info not The guide with on, who but thereafter seek, can here in this Forum fündig go...

InitExtFX() commit you a Zeiger. it shows on a structure (BITMAPINFOHEADER), these structure watts though of ProSpeed for a Long-Int extended.
here The Offsets:

0 LONG biSize
4 LONG biWidth, wide the Bildes
8 LONG biHeight, Höhe the Bildes
12 WORD biPlanes, always 1
14 WORD biBitCount, with ProSpeed byte-Arrays always 24 (bit)
16 LONG biCompression, always BI_RGB
20 LONG biSizeImage, Size the byte-Arrays in Bytes
24 LONG biXPelsPerMeter
28 LONG biYPelsPerMeter
32 LONG biClrUsed
36 LONG biClrImportant
40 LONG Zeiger on the memory the byte-Arrays

On The values the structure can of Profan (ex 7) from with Long and @Long zugegriffen go.
on the interessantesten is naturally the Long-Int on Offset 40.
after your the ByteArray manipulating have, can your it with CopyArray() on the screen bring.

Greeting, Frank Abbing
 
04/20/04  
 



Nachtrag:

I had forget, this yet To allude:

an Bitmap becomes in a byte-aray of left under to right supra abgespeichert, dummerweise 8-((.
per Pixel go 3 byte needed, one Blauwert, one Grünwert and a Rotwert. just as is incidentally too one one Bitmapfile aufgebaut.

Frank
 
04/20/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.412 Views

Untitledvor 0 min.
Thomas Zielinski02/24/22
Paul Glatz03/15/13

Themeninformationen

this Topic has 1 subscriber:

unbekannt (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie