added tint method for images