updated image resize and filters in chap 6