Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 queries: gif loader, and WRITEing data files
#1
1)
I have found plenty of great 320x200 gif loaders but not one that loads 640x480.anybody know of any?
2) does naybody know how i can WRITE numbers (seperated by commas) in an opened file?

the code will look like this

DIM col(32000)
FOR y = 1 to 100 : FOR x = 1 to 320
let N = ((y-1)*320)+x
let col(n) = POINT(x,y)
NEXT : NEXT

open "file.txt" for output as#1
for y = 1 to 100
for x = 1 to 320
n = (y-1)*320)+x
YADDA YADDA
SOME CODE NEEDED TO WRITE CONTINOUS NUMBERS SEPERATED BY COMMAS
next
next

any ideas?
if somebody cuts of your hand you still have two sharp bones to stick in thier eyes"
Reply
#2
If with 640*480 you mean SCREEN 12, such a loader would have very stange results, as SCREEN12 has only 16 colors an GIF's have 256. A modified palette and/or dithering would be needed. It's very unlikely it exists.

If you meant VESA 640*480 *256 colors, it exists, I did one
http://www.geocities.com/antonigual/qbso...igif99.zip
(Right-click on the link and Save As..It's geocities)

And to write numbers separed by commas, check the keyword WRITE in QB help.
Antoni
Reply
#3
Rich Gieldreich's GIF loader works in all QB resollutions. I've succesfully loaded 640x480x16 colours GIF in SCREEN 12 taking less than a while. Look at ABC site for it Smile
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#4
GIf's actually could have less then 256 colors. Its just that 256 is the maximum color that it can have. Yeah RG's Gif Loader are very kewl!!!

Don't forget Antoni's amazing Animated GIF loader. ;*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)