Skip to contentSkip to conversation

colour pallete utilities

DISCUSSION Christopher Harvey 1 participant 2 messages Mar 19, 2013

lore
Share & tools
lore
#0 lore raw

Does the Linux kernel have functions to convert images to palleted images? I want to display a 4bit palleted cursor, not too sure how to handle that in DRM. Some ideas I have:

* change DRM to handle palleted cursors
* convert 32bit images in drivers
* write library functions do convert
* require the conversion to be done in userspace

thanks,
Chris

#1 lore raw
Quoted 11 lines · Christopher Harvey

Does the Linux kernel have functions to convert images to palleted images? I want to display a 4bit palleted cursor, not too sure how to handle that in DRM. Some ideas I have:

* change DRM to handle palleted cursors
* convert 32bit images in drivers
* write library functions do convert
* require the conversion to be done in userspace

thanks,
Chris

s/pallete/palette/

:S