i want to open and read a jpeg file
just for data proccessing
i want to get the pixles in 24 bit color
is there a way to display them with pset
also is the close # nessesary
thanks
**********the code ***************
10 CLS
11 d = 0
20 OPEN "c:\5.jpg" FOR BINARY AS #1
50 DO WHILE NOT EOF(1)
60 d = d + 1
70 GET #1, d, nm$
80 PRINT nm$
90 PRINT d
LOOP
GOTO 50
Need help jpeg files open read ect.
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
A word of advise
Please don't place files on your root C drive! Qbasic may overwrite Windows files without warning! Use a folder for QB and it's files.
Ted
Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0