Colorize question
Posted: 2008-12-01T13:51:56-07:00
I am having troubles getting colorize to work properly. It appears as though it is only working for the first row of the image. The rest of the image is changed to a dark gray color. Here is my code:
What am I doing wrong?
Code: Select all
Image disImage;
disImage.read("test.jpg");
disImage.colorize(50, 50, 50, Color(146, 242, 255));
disImage.write("test_mod.jpg"):