delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/01/03:18:12

From: doing DOT this DOT seems DOT to DOT remove AT most DOT spam DOT true DOT address DOT is DOT in DOT reply_to DOT field (Bevyn Douglas Quiding)
Newsgroups: comp.os.msdos.djgpp,rec.games.programmer,comp.graphics.algorithms
Subject: Re: Palette Conversion
Date: Fri, 29 Aug 1997 02:07:56 +1200
Organization: University of Auckland, Computer Science Dept.
Lines: 29
Message-ID: <doing.this.seems.to.remove-2908970207560001@gl6.cs.auckland.ac.nz>
References: <33c070c8 DOT 0 AT duster DOT adelaide DOT on DOT net> <5ps14f$srr AT barf DOT euro DOT net> <34058700 DOT 7BFE AT mcn DOT net>
Reply-To: bqui001 AT cs DOT auckland DOT ac DOT nz
NNTP-Posting-Host: gate.cs.auckland.ac.nz
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <34058700 DOT 7BFE AT mcn DOT net>, massmedia AT mcn DOT net wrote:

=>Benny wrote:
=>> 
=>> Richard Sim wrote:
=>> >
=>> I'm having a little problem - I've made a palette for my game but I need to
=>> convert the palette to a palette type that Paint Shop Pro or Photoshop
can load.
=>
=>> So -- has anyone got a conversion utility for these palettes or could
=>> anyone help, thanks.
=>
=>I just dealt with the same problem...  I'm using Photoshop 4 and 768
=>byte palette files. I figured out that photoshop uses 8 bit values for
=>it's colors and the vga uses 5 bit values.  Just load the bytes,
=>multiply them by 8 (or shift them by 3 bits... byte<<3) and then write
=>them out with a photoshop palette extension.

vga uses 6-bits of each primary (shift left by 2).

Bevyn.

-- 
disclaimer 

not only did i not post this i have never seen any of these letters before in my life.

these opinions represent no one least of all myself.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019