• Benjamin Otte's avatar
    blur: Fix pixel sizes · 267d1793
    Benjamin Otte authored
    The code accesses pixels in a chunks of 4 bytes, so we must only support
    formats where the size of a single pixel is 4 bytes.
    Fix RGB24 to be 4 bytes (the alpha channel is ignored) and disallow A8.
    267d1793
gtkcairoblur.c 6.28 KB