Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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
1 Comment
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

580 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