Image processing tools (legacy version)
