image compression processor for Paperclip