colorLookup4Bit

Converts a 4 Bit indexed image into an unindexed type of U (eg. Pixel16Bit, Pixel32Bit). Uses a NibbleArray as a backend.

  1. void colorLookup4Bit(ubyte* src, U* dest, U* palette, size_t length, int offset)
  2. void colorLookup4Bit(T src, U* dest, U* palette, int offset)
    @nogc pure nothrow
    void
    colorLookup4Bit
    (
    T
    U
    )
    (
    T src
    ,
    U* dest
    ,,
    int offset = 0
    )
    if (
    T.mangleof == NibbleArray.mangleof ||
    T.mangleof == NibbleArrayR.mangleof
    )

Meta