added methods to ImageHelpers