🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #358

BMP

#358
From: Alex
Date: Sat, 14 Oct 2006 14:06
33 lines
1731 bytes
Sulla immagine

http://tek1974.altervista.org/immagine1.bmp

eseguo il codice:

====================================================================
Dim aaa as long
Dim bbb as long

    Open "immagine1.bmp" For Binary As #1
    
        Get #1, 55, aaa
        Stop
        Get #1, 55 + 3072, bbb
        Stop

====================================================================

ed ottengo aaa<>bbb, ovvero: aaa= 16711680 , bbb= 1224671232 ;

I primi 54 'numeri' sono la head del file bmp, poi dal 55esimo in poi
ho i valori, 3 a 3, dei pixel, tanto e' vero che la dimensione del
file bmp risulta:
54 + 1024 * 768 * 3 = 2359350 bytes

immagino che i 3 valori che compongono un singolo pixel siano la
combinazione di RGB = red green blu o qualcosa del genere;

con il programma Paint di windows ho colorato il pixel in basso a
sinistra e i tre pixel sopra; quindi interrogando con il get dovrei
ottenere aaa=bbb. Vorrei sapere come mai non e' cosi'.
Grazie.
Technical Details
Message-ID: <4530e3f9.10198234@news.libero.it>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news2.volia.net!feeder.news.tin.it!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,77286555c0021424,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news2.volia.net!feeder.news.tin.it!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: alex-mail@libero.it (Alex)
Newsgroups: free.it.visual-basic
Subject: BMP
Message-ID: <4530e3f9.10198234@news.libero.it>
X-Newsreader: Forte Free Agent 1.1/32.230
Lines: 35
Date: Sat, 14 Oct 2006 14:06:55 GMT
NNTP-Posting-Host: 151.38.77.149
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1160834815 151.38.77.149 (Sat, 14 Oct 2006 16:06:55 MET DST)
NNTP-Posting-Date: Sat, 14 Oct 2006 16:06:55 MET DST
Organization: [Infostrada]