Page 1 of 1

Anyone can help me?

Posted: 2018-06-26T06:56:39-07:00
by Gshtedjthrey4567@
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?

Re: Anyone can help me?

Posted: 2018-06-26T08:27:25-07:00
by snibgo
What do you mean by "depth is 8" and "depth is 24"?

What do you mean by "I want to konw how can I control the depth"?