Improve the preprocessor to clip transparent images to the
non-transparent boundaries.