/** @file dk3pixre.h Pixel resampling. This module can be used to increase/decrease the number of bits per pixel in pixel values. Use dk3pixre_set() first to specify the original number of bits per component and the number of bits per component wanted. This function sets internal data structures in the dk3_pixel_resample_t structure (number of bits to shift, bitmasks for and and or operations) so we do not need to calculate these values in each conversion. Now you can use dk3pixre_convert() to convert pixel values. */