adding a program that converts image values