Text this: An improved image processing algorithm for visual characteristics in graphic design