cvs.gedasymbols.org/archives/browse.cgi | search |
From: | Chris Miller <massmedia AT mcn DOT net> |
Newsgroups: | comp.os.msdos.djgpp,rec.games.programmer,comp.graphics.algorithms |
Subject: | Re: Palette Conversion |
Date: | Fri, 29 Aug 1997 02:39:31 -1000 |
Organization: | Critical Mass Media |
Lines: | 15 |
Message-ID: | <3406C303.42B5@mcn.net> |
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: | massmedia AT mcn DOT net |
NNTP-Posting-Host: | gfpm01-042.mcn.net |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Chris Miller wrote: > 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. Actually what i meant was 6 bit color for the VGA. Sooo... That means multiply and divide by 4 - not 8. I woke up this morning and thought OH CRAP. I just posted a big goof. Anyway. Hope that helps. Chris Miller.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |