Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#11

Re: Teil-Records aus Stream lesen

  Alt 28. Jul 2007, 16:08
Ok ja hab jetzt Char Arrays benutzt aber ich hätte da noch eine kleine Frage am Rande:

Zitat von GIF 10. Byte:
BitNr: 2 - 4
Beispiel: <111>
Erklärung: Bit/Pixel minus 1 (hier: 8 Bit/Pixel)
Dieses Byte sieht bei mir jetzt bei einem Bild so aus:

1 000 0 100

1: Globale Farbtabelle = true
000: 255 Bit/Pixel ?
0 : Farbtabelle nicht sortiert
100: 96 Byte große Tabelle

Das müsste dieses Byte nach meiner Dateispezifikation aussagen. Aber 0 bzw 255 Bits/Pixel.. Wie soll ich das verstehn? Also 8 Bit/Pixel versteh ich ja noch.. da wird in je einem Byte der Index der Farbe aus der Farbtabelle stehn. aber was ist das?

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat