image: allow exactly KERNEL_SIZE sized kernels