The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
November 11, 2024, 10:24:27 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Image Formats
« previous next »
Pages: [1] Print
Author Topic: Image Formats  (Read 1514 times)
Rib Rdb
Frungy champion
**
Offline Offline

Gender: Male
Posts: 85



View Profile WWW
Image Formats
« on: November 03, 2003, 06:23:03 am »

Can anyone explain, or point me to an explanation of, the difference between DirectClass and PseudoClass png's, and why 46 of the images in the content directory are PseudoClass?
Logged
Nic.
Guest


Email
Re: Image Formats
« Reply #1 on: November 03, 2003, 08:16:47 am »

Google told me this:

Quote
DirectClass images are continuous-tone images stored as RGB (red, green, blue), RGBA (red, green, blue, alpha), or CMYK (cyan, yellow, magenta, black) intensity values as defined by the colorspace [attribute].      

PseudoClass images are colormapped RGB images. The colormap         is stored as a series of red, green, and blue pixel values, each value being a byte in size. If the image depth is 16, each colormap entry consumes two bytes with the most significant byte being first. The number of colormap entries is defined by the colors [attribute].

I know that in a few places it is important for the game images to use a specific colourmap, which would explain the PseudoClass PNGs, but frankly I'm suprised that there aren't more of them.
Logged
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Image Formats
« Reply #2 on: November 03, 2003, 12:15:38 pm »

All the 8-bit images tend to get palette-swapped all the live-long day, just because of the nature of the renderer.  I'd guess that the distinction was just what our various paint programs decided to do.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

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