-verbose consistency

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
motumbo
Posts: 16
Joined: 2011-07-26T12:56:12-07:00
Authentication code: 8675308

-verbose consistency

Post by motumbo »

I noted that the result (format) of 'convert -verbose' seems to vary randomly given exactly the same command line.

sometimes I get something like:
.............cnv.png=>out.jpg[4] PNG 800x800 800x800+0+0 8-bit DirectClass 152kb

and then right after trying the same command I get
.............cnv.png=>out.jpg[4] PNG 800x800 800x800+0+0 8-bit DirectClass 152kb 0.420u 0:02

note the last part (0.420u 0:02). is that an somehow expected behavior or a consistency issue?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: -verbose consistency

Post by anthony »

The last bit are processing times on the computer. I am not certain why one run produces them and another does not. Really it is something can can be determined in other ways if wanted, especially if the output is inconsistent.

What I do know is that it makes IM example output checks a pain when looking for changes.

Magick, can you enlighten?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -verbose consistency

Post by magick »

If the time is small, its not reported. Its considered too inaccurate relative to the precision of the system timer.
motumbo
Posts: 16
Joined: 2011-07-26T12:56:12-07:00
Authentication code: 8675308

Re: -verbose consistency

Post by motumbo »

gotcha! I ended up using -bench

thanks!
Post Reply