Montage-ing incomplete PNGs

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
mtodorov3_69

Montage-ing incomplete PNGs

Post by mtodorov3_69 »

Hi

I have a specific need.
Due to rendering by several independent processes on several cores I get a number of PNGs, each representing a part of the complete picture. They are square areas in M x N matrix.

The problem was simple with single core, as it was sufficient to redirect rendering output to stdout and the image would appear simultaneously as rendered in browser client.

Problem with diving rendering area in M x N matrix is in the preview image composition.

In general, none of the .PNGs are complete, and I will get errors with montage, won't I?

How to put incomplete PNGs in resulting montaged image, leaving the fragments of each segment in M x N matrix that is not yet completed in default color.

Is there a way to ignore EOF in incomplete .PNG, and montage on-the-fly, just like Mozilla does with single image which is interactively rendered, but not yet complete?

I hope I manage to express what is the objective.
The M x N fragments rendering job needs to be checkpointed and intermediate results drawn on screen.

Grateful for any idea.
Marvin
Post Reply