Added image processing methods