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?
Anyone can help me?
-
- Posts: 2
- Joined: 2018-06-26T06:43:06-07:00
- Authentication code: 1152
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Anyone can help me?
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"?
What do you mean by "I want to konw how can I control the depth"?
snibgo's IM pages: im.snibgo.com