Save image as 16bit image with lookuptable

Posted on 2005-03-22
Medium Priority
Last Modified: 2013-11-17

i've a question about how to save an image as 16bit depth with a lookup table. I have already an option to save as 8bit bitmap with lookup table but with that option I can only use 256 colors. by that time it was enough but now i have to support more colors. what is the best solution for this problem. I want a lookuptable to use ease a color spectrum. The first idea i had was to use pf16bit instead of pf8bit colordepth and increase the looktable to 1024 elements but this didn't work. so do you have an idea to increase number of colors with a color spectrum.
Question by:mad1159
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 16

Accepted Solution

George Tokas earned 500 total points
ID: 13610791
Hello there....
Here we are again discussing about Bitmaps and DIBs....
pf8bit, pf15bit, pf16bit and pf32bit is used to STORE and LOAD the DIB(content of the bitmap) to a media... ANYWAY windows treat images as DIBs that means true color 32bit per pixel 24bit color and 8 bit alpha(maybe).
That means whatever format you use the actual display from windows will be made as 32bit...

So... In My Humble Oppinion....
If you provide some more info about what components you are using I will provide you some ways to do what you want...
In general all those ways will have to deal with 32bit images...
Also dealing with 32bit images are easier to deal using mask or other techniques to made the effect you like...
Again all those are PERSONAL oppinion after some years dealing with images and DirectX...


Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question