Reduce image size using caps filter