I want to do a composite but only when images are ready...

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
winniethetwo

I want to do a composite but only when images are ready...

Post by winniethetwo »

Hello there,

the problem is:

1) I render some images with another software and I don't know when this render ends
2) after that I would like to composite those images with imagemagik

is there any way to "tell" imagemagik to wait for the images to be done and then make the composite?

thanks!

Nicola
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: I want to do a composite but only when images are ready...

Post by anthony »

No.

However you could write a shell script to watch an image and when it it nolonger updating for a some period of time, start IM on the image.

The Linux system also have software an tools which coule posibly be used to watch a programs IO connection to some file and notify you when the program closes the write stream.

In other words non-IM and specifically other system tools will be needed to determine when the renderer is finished, if there is no way the renderer itself can report this (like creating a 'finished' file).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply