Article View: alt.graphics.pixutils
Article #630Re: File Formats for Texture
From: Michael R Castle
Date: Tue, 05 Jan 1993 18:36
Date: Tue, 05 Jan 1993 18:36
37 lines
1740 bytes
1740 bytes
In article <29898@castle.ed.ac.uk> asm@festival.ed.ac.uk (M Smyth) writes:
>what i want is a file format thats 24bit colour and
>dead simple(not tiff)! it could be a bog standard one or one
>with which i can go:
>
>nice, standard ----> your personal --> my weird, proprietry
>file format file format texture format
>
>anyone got any suggestions/help?
dead simple? Try ppm format (from the ppmplus distribution)
P6
640 480
256
binarydatahere
P6 magic header followed by one whitespace
width followed by one whitespace
height followed by one whitespace
colordepth followed by one whitespace
raw binary data
Plus, lotsa library support in the pbmplus package.
A smaller format could be the RLE format from the UTAH Raster Toolkit.
Bit more complex, but again, a lot of library support so you shouldn't
have to write anything yourself.
mrc
--
Mike Castle .-=NEXUS=-. Life is like a clock: You can work constantly
mcastle@cs.umr.edu and be right all the time, or not work at all
S087891@UMRVMA.UMR.EDU and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
Technical Details
Message-ID:
<1993Jan5.183629.19710@umr.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.cc.umr.edu!mcastleReferences:
<29898@castle.ed.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: alt.graphics.pixutils Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.cc.umr.edu!mcastle From: mcastle@cs.umr.edu (Michael R Castle) Subject: Re: File Formats for Texture References: <29898@castle.ed.ac.uk> Date: Tue, 5 Jan 1993 18:36:29 GMT Nntp-Posting-Host: next2.cs.umr.edu Organization: University of Missouri - Rolla, Rolla, MO Keywords: Texture, Formats Sender: cnews@umr.edu (UMR Usenet News Post) Message-ID: <1993Jan5.183629.19710@umr.edu> Lines: 37