hi, im having trouble try to represent and image but do a calculation before that. so i read an image, save into an array of file, and write it to other image, which is an array of file. no problem.
the problem is i want to merge two image and merging the value of each pixel. so basically pixel1 + pixel2 / 2.0; the problem is each of these pixels is char. how can I convert it to float and then convert it back to char again? thanks in advance ================================= http://www.svnstrk.blogspot.com =================================
