Anyone can help me?
Posted: 2018-06-26T06:56:39-07:00
I have an picture with the fomat "jpg" which depth is 8. So I write the following code:
string file_name = "d:\\test.jpg";
image.read(file_name);
image.write("d:\\test0.jpg");
I find the image "test0.jpg" which depth is 24. I want to konw how can I control the depth. Anyone can help me?
string file_name = "d:\\test.jpg";
image.read(file_name);
image.write("d:\\test0.jpg");
I find the image "test0.jpg" which depth is 24. I want to konw how can I control the depth. Anyone can help me?