Anyone can help me?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Gshtedjthrey4567@
Posts: 2
Joined: 2018-06-26T06:43:06-07:00
Authentication code: 1152

Anyone can help me?

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Anyone can help me?

Post 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"?
snibgo's IM pages: im.snibgo.com
Post Reply