I've created a Color Lookup Table (CLUT) that stores the data
in a second image (so you've got one input image for the image to
be filtered, and one that stores the CLUT... which basically acts
as a work-around for importing an external array).
The only problem is: Since the CLUT is 256 pixels wide, the
output image is always AT LEAST 256 pixels wide (if the primary
input image is wider, than this is no problem... otherwise, it's a
So... How can you define how large the output image is to