Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Increase Colour Depth

metalmickey
Beginner
359 Views
Hi
Anyone point me to a function that makes itpossible to convert from a 256 colour (8bit?)image to say a 16million (24bit?) image.
Cheers
CHris
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
359 Views
Hi Chris
we do not have IPP function to convert 256 color image to true color using palette. But we have functions to convert Ipp8u images to Ipp16u images, may be it will work for you?
Regards,
Vladimir
0 Kudos
seiji-torigoe
Beginner
359 Views
If you are using the MS-Windows, you can use BitBlt of WinAPI.
BitBltis fast, because image processing of a graphic driver.
Example of argument:
Destination device context is 24 bit color image.
Source device context is 8 bit color image.
Otherwise, you will be able to make the function to write the value of the palette in pixel.
I have made it in the past. But, my code is delphi(pascal).
0 Kudos
Reply