[Solved] Some basic questions about quantum levels (Q8 + Q16)

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
Zork
Posts: 5
Joined: 2016-09-20T21:01:44-07:00
Authentication code: 1151

[Solved] Some basic questions about quantum levels (Q8 + Q16)

Post by Zork » 2016-09-20T21:21:00-07:00

Hi
I'm new to ImageMagick, and have a few questions about quantum levels (Q8 + Q16).
I'll be using PerlMagick and Windows 7 Home Premium.

Q1. Should I install Q8 or Q16?
(I know that Q16 is recommended on the download page)

Q2. What are the pros and cons of Q8 and Q16?
(Apart from the 8-/16-bits-per-pixel per channel)

Q3. Can Q16 manipulate 8 bits-per-pixel images?

Q4. When using Q16 to manipulate 8 bits-per-pixel images, will it be faster or slower than using Q8?

Q5. When using Q16 to manipulate 8 bits-per-pixel images, will it be using more precision in the intermediate processing steps and produce more accurate results than using Q8?

Q6. Can I install both Q8 and Q16?

Q7. When using PerlMagick, will it be easy to tell it whether to use Q8 or Q16?

Thanks very much for any help

(I could not find an FAQ, and I tried searching the forums but did not find anything helpful.)
Last edited by Zork on 2016-09-23T22:56:56-07:00, edited 1 time in total.

snibgo
Posts: 11913
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Some basic questions about quantum levels (Q8 + Q16)

Post by snibgo » 2016-09-20T22:33:09-07:00

Q1. Should I install Q8 or Q16?
(I know that Q16 is recommended on the download page)
It depends on what you are doing.
Q2. What are the pros and cons of Q8 and Q16?
(Apart from the 8-/16-bits-per-pixel per channel)
Well, that's the only difference. This makes Q8 slightly faster, and it consumes less memory. Q8 can write only Q8 results. Q16 can write Q8 or Q16 results. If you do photographic processing, and use intermediate files between stages, or do a number of IM processes on your images, I suggest Q16.
Q3. Can Q16 manipulate 8 bits-per-pixel images?
Yes.
Q4. When using Q16 to manipulate 8 bits-per-pixel images, will it be faster or slower than using Q8?
Q16 is slightly slower (on my tests).
Q5. When using Q16 to manipulate 8 bits-per-pixel images, will it be using more precision in the intermediate processing steps and produce more accurate results than using Q8?
Yes. Intermediate results, whether written to disk or in memory between IM commands like "-blur" and "-unsharp" and "-gamma", are in the Q-number. Q16 has more precision than Q8.
Q6. Can I install both Q8 and Q16?
Yes. I'm on Windows 8.1. I have seven varieties of v6 available (Q8, Q16, Q32 and Q62, with and without HDRI), and one of v7. I don't put any on my path, but they are in different directories.
Q7. When using PerlMagick, will it be easy to tell it whether to use Q8 or Q16?
I don't know. If you can specify the path to your commands, then yes, it is easy.
snibgo's IM pages: im.snibgo.com

Zork
Posts: 5
Joined: 2016-09-20T21:01:44-07:00
Authentication code: 1151

Re: Some basic questions about quantum levels (Q8 + Q16)

Post by Zork » 2016-09-22T01:32:41-07:00

Hi snibgo. Thanks very much for your helpful reply. :D
snibgo wrote:
Q6. Can I install both Q8 and Q16?
Yes. I'm on Windows 8.1. I have seven varieties of v6 available (Q8, Q16, Q32 and Q62, with and without HDRI), and one of v7. I don't put any on my path, but they are in different directories.
Why are you using mainly v6 instead of v7?

snibgo
Posts: 11913
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Some basic questions about quantum levels (Q8 + Q16)

Post by snibgo » 2016-09-22T06:59:46-07:00

Because I haven't yet tested all my scripts and web pages under v7. Until I have done that, v6 is the devil I know and v7 is the devil I don't know.

(But I have converted all my C software to work under either v6 or v7.)
snibgo's IM pages: im.snibgo.com

Zork
Posts: 5
Joined: 2016-09-20T21:01:44-07:00
Authentication code: 1151

Re: Some basic questions about quantum levels (Q8 + Q16)

Post by Zork » 2016-09-23T22:55:20-07:00

Thanks

Post Reply