Qbasicnews.com
April 03, 2020, 07:13:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: JPG or GIF decoder?  (Read 1387 times)
theo20185
New Member

Posts: 4


« on: April 19, 2004, 01:39:10 AM »

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.
Logged

ead of KatanaEdge Soft.
wizardlife
Na_th_an
*****
Posts: 1456


WWW
« Reply #1 on: April 19, 2004, 09:40:56 AM »

Quote from: "theo20185"
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!



http://www.qbasic.com/files.mv (several on this page)
Logged

Zack
*/-\*
*****
Posts: 3974



WWW
« Reply #2 on: April 19, 2004, 07:11:52 PM »

Uh? Those links point to files on the author's own computer (file:// paths). :roll:
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« Reply #3 on: April 22, 2004, 04:34:56 PM »

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.
Logged

Antoni
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!