Reduce HaldCLUT png from 12 to 8 level

This is excellent, almost exactly what i was looking for. However is it possible in G’MIC to take an png haldclut in as an input and output it as a cube. Either as a straight through or a shrinking it as it goes.