Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JPG or GIF decoder?
#1
I am looking for a JPG or GIF decoder that will display the graphic and pallette in QBs format for quick BSAVEing and BLOADing. Any help on locating such a decoder would be nice. Thank you in advance.
ead of KatanaEdge Soft.
Reply
#2
Quote:I am looking for a JPG or GIF decoder that will display the graphic and pallette in QBs format for quick BSAVEing and BLOADing. Any help on locating such a decoder would be nice. Thank you in advance.

jpeg = teh noes!!

(unless you want to monkey around with some true color lib)

gif = teh yesh!

[Image: google.gif]

http://www.qbasic.com/files.mv (several on this page)
Reply
#3
Uh? Those links point to files on the author's own computer (file:// paths). :roll:
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#4
Wiz:
About gifs you have that old code of Rich geldreich using screen 13 or my own code at my site, allowing to select SVGA-SCREEN 13.

For jpegs this is not so easy , jpegs use true color so you have to shrink the color range to a 256 entries palette.

Several sources around:
I think the very first one by Petter Holmberg? was for screen 13, i don't remenber how he managed the colors. You can find it at ABC.

Dmitri Brant did some versions of his viewer, one of them was for screen 13, but it used a trick, it displayed only the b/w channel. Dmitri Brant's page is back on line, and it still has those QB viewers. You can find them also at ABC.

My viewer was only for SVGA but it managed paletted modes by using a very inaccurate dithering. It would be easy to do a SCREEN 13 version, if you ask me it to .You can find the last version at my site.

Last but not least ,Nathan's jpeg module uses Future Lib setpixel function. I don't know if Future lib would let you build a screen 13 program around. It is at his QBsux

None of the programs allows saving the screen, but it's easy to add a routine doing that.
Antoni
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)