HI All, I have some remote computers - at times I issue commands to take screen shots. I use xwd -silent -root or import -silent -window root to do so. It seems at times the screen capture is the actual current content. It might be a previous displayed item etc... Anyone ran across this or thoughts ? Jerry
So I found a "-debug all" option... Its talking about "cache" for a screen shot. Not sure why a screen shot would ever be cached - Not sure if this is what I'm running into some how??? /usr/bin/import -debug all -silent -window root screen.png 2019-07-10T09:13:36-05:00 0:00.000 0.010u 6.7.8 Configure import[17048]: utility.c/ExpandFilenames/939/Configure Command line: /usr/bin/import {-debug} {all} {-silent} {-window} {root} {screen.png} 2019-07-10T09:13:36-05:00 0:00.090 0.090u 6.7.8 Resource import[17048]: resource.c/AcquireMagickResource/262/Resource Area: 16.59MB/16.59MB/3.6975GB 2019-07-10T09:13:36-05:00 0:00.090 0.090u 6.7.8 Resource import[17048]: resource.c/AcquireMagickResource/262/Resource Memory: 16.59MB/15.82MiB/1.7218GiB 2019-07-10T09:13:36-05:00 0:00.090 0.090u 6.7.8 Cache import[17048]: cache.c/OpenPixelCache/4052/Cache open [0] (heap memory, 1920x1080 15.82MiB) 2019-07-10T09:13:36-05:00 0:00.370 0.330u 6.7.8 Resource import[17048]: resource.c/AcquireMagickResource/262/Resource Area: 16.59MB/16.59MB/3.6975GB 2019-07-10T09:13:36-05:00 0:00.370 0.330u 6.7.8 Resource import[17048]: resource.c/AcquireMagickResource/262/Resource Memory: 16.59MB/31.64MiB/1.7218GiB 2019-07-10T09:13:36-05:00 0:00.370 0.330u 6.7.8 Cache import[17048]: cache.c/OpenPixelCache/4052/Cache open [0] (heap memory, 1920x1080 15.82MiB) 2019-07-10T09:13:37-05:00 0:00.630 0.600u 6.7.8 Cache import[17048]: cache.c/DestroyPixelCache/1448/Cache destroy [0] 2019-07-10T09:14:33-05:00 0:56.440 0.620u 6.7.8 Resource import[17048]: resource.c/RelinquishMagickResource/811/Resource Memory: 16.59MB/15.82MiB/1.7218GiB 2019-07-10T09:14:33-05:00 0:56.540 0.670u 6.7.8 Resource import[17048]: resource.c/AcquireMagickResource/262/Resource Area: 16.59MB/16.59MB/3.6975GB 2019-07-10T09:14:33-05:00 0:56.540 0.670u 6.7.8 Resource import[17048]: resource.c/AcquireMagickResource/262/Resource Memory: 16.59MB/31.64MiB/1.7218GiB 2019-07-10T09:14:33-05:00 0:56.540 0.670u 6.7.8 Cache import[17048]: cache.c/OpenPixelCache/4052/Cache open [0] (heap memory, 1920x1080 15.82MiB)
On Wed, Jul 10, 2019 at 10:17:07AM -0400, Jerry Geis wrote:> > So I found a "-debug all" option... Its talking about "cache" for a screen > shot. > Not sure why a screen shot would ever be cached - Not sure if this is what > I'm running into some how???The 'Configure, ' Resource', 'Cache' column in the output of '-debug all' are the 'domain' of the log events. ImageMagick has a lot of complicated internal moving parts, and one of them is for caching data structures between parts. Those lines that mention Cache are just the log events corresponding to the Cache domain. Its not really something you should concern yourself with unless you're debugging ImageMagick. -- Jonathan Billings <billings at negate.org>