delorie.com/archives/browse.cgi | search |
From: | leathm AT solwarra DOT gbrmpa DOT gov DOT au (Leath Muller) |
Message-Id: | <199708290205.MAA18922@solwarra.gbrmpa.gov.au> |
Subject: | Re: Palette Conversion |
To: | massmedia AT mcn DOT net |
Date: | Fri, 29 Aug 1997 12:05:38 +1000 (EST) |
Cc: | djgpp AT delorie DOT com |
In-Reply-To: | <34058700.7BFE@mcn.net> from "Chris Miller" at Aug 28, 97 04:11:12 am |
> 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. Don't you mean divide the Photoshop colours by 8? (byte >> 3) Leathal.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |