Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!batcomputer!cornell!rochester!pt.cs.cmu.edu!andrew.cmu.edu!ks26+ From: ks26+@andrew.cmu.edu (Kenneth Sykes) Newsgroups: comp.graphics Subject: 8bit -> 5bit / pixel reduction Message-ID: Date: 17 Apr 89 16:01:14 GMT Organization: Mellon College of Science, Carnegie Mellon, Pittsburgh, PA Lines: 17 This may be a stupid question but... When converting 8bit/pixel color to 5bit/pixel color, are any side effects introduced if the top 5 bits are used (c >> 3)? How about converting the other way, say 3bit/pixel -> 5bit/pixel? Are there more efficient ways of doing this? A related problem: Is there a better way to correctly increase the intensity of a pixel than hsv = RGB2HSV(rgb) v += intensity difference rgb' = HSV2RGB(hsv) Any help would be appreciated. Mail should be directed to ks26+@andrew.cmu.edu Thanks, Ken Sykes