process pictures