🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.sources.d
Article #984

pixels -> GIF

#984
From: Warren Vonroeschlaub
Date: Fri, 13 Nov 1992 22:31
24 lines
1441 bytes
  Hey, does anyone have source code (preferably C, but really anything is okay)
for creating a GIF, JPG, etc out of the individual pixels?  I need to turn this
into something xv can read, and preferably something that has rle.

  Someone sent me a way to do this in PBM, but the final file is about 3x larger
that the _huge_ data I am working with in the first place.

  The reason I need to do this by pixels is because the data is large, and I can
only load in two or three video lines at a time.  All the code I have available
assumes that you want to save the image on the screen, but my display isn't even
capable of showing the resolution and color spread I want at the same time, so
I'm stuck.

  Any ideas?  (By the way, I can scan the data several times if need be, I just
can't have it all in memory at once)

 |  __L__
-|-  ___  Warren Kurt vonRoeschlaub
 |  | o | kv07@iastate.edu
 |/ `---' Iowa State University
/|   ___  Math Department
 |  |___| 400 Carver Hall
 |  |___| Ames, IA  50011
 J  _____
Technical Details
Message-ID: <1992Nov13.163108@IASTATE.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!news.iastate.edu!IASTATE.EDU!kv07

Show Full Headers
Complete Article Headers
Newsgroups: alt.sources.d
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!news.iastate.edu!IASTATE.EDU!kv07
From: kv07@IASTATE.EDU (Warren Vonroeschlaub)
Subject: pixels -> GIF
Message-ID: <1992Nov13.163108@IASTATE.EDU>
Sender: news@news.iastate.edu (USENET News System)
Reply-To: kv07@IASTATE.EDU (Warren Vonroeschlaub)
Organization: Ministry of Silly Walks
Date: Fri, 13 Nov 1992 22:31:08 GMT
Lines: 24