Re: Textures

New Message Reply Date view Thread view Subject view Author view

Eric Wang (eric++at++media.beijing.sgi.com)
Wed, 3 Feb 1999 09:32:40 +0000


Hi Roni,

Here are some ways to tell a image file format. First you can open an unix shell, use the command: imginfo yourfilename to identify the image file infomation likes the following:

On Feb 2, 10:34pm, Roni Kass wrote:> imginfo BTVN.13
Image file: BTVN.13
File format: TIFF
Dimensions (w,h,z,c): 645, 486, 1, 3
Page Size (w,h,z,c): 645, 4, 1, 3
Data type: unsigned char
Dimension order: interleaved
Color model: RGB
Coordinate space: upper-left
Statistical Min/Max: 0 - 255
Display Min/Max: 0 - 255
Data Compression: Lempel-Ziv & Welch

Else you can identify the imagefile format in the indigo magic window, first click the image with the left mouse, then press the right mouse to pop out an menu, at the bottom there will be 'image file info' open it then you can see the image file information.

Cheers,

Eric Wang
SGI Beijing Office

> Subject: Textures
> Some textures questions:
>
>
> 1) Is there a way to find for an SGI file (Before loading it as texture)
> if it
> is RGB or RGBA
>
> 2) When I load a SGI file, without setting the internal format first,
> wil it
> know to set the internal format for rgb files to RGB and for rgba files
> to RGBA_8 ?
>
>
> Thanks
>
> Roni Kass
>
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Roni Kass


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Feb 02 1999 - 17:47:11 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.