Re: Viewing multiple .png files simultaneously



philbo30 <masferfc@xxxxxxxxx> wrote:
Here's what I need to do:

Except, I think you described more how to do it, not so
much what you need to do. :-)

I have an application that generates 4 graphs in .png format; I need
to call "something" from my application to more-or-less simultaneously
display those graphs in 4 individual X-windows as soon as the data
processing is done. All .png graphs are in the local directory where
the app runs.

Do you actually need 4 individual windows, or is that
just one way to display 4 individual graphs at once?
Which is it you want to do?

Xnview is close to what I need, but it only seems to allow one .png to
display at once. I need the 4 .pngs to fill a screen at the same time
to provide the user a comprehensive view of their most recent task.
Any ideas?

Okay, if what you actually need is 4 PNG images
displayed at once, taking up as much of the fill screen
as possible, there are at least two basic ways to do it.

First, you can invoke 4 different instances of just
about any image display program you choose, and get what
you want. As noted by another poster, you'll likely
have to deal with (accepting or getting rid of) borders,
window manager eye candy, possible geometry variations
and positioning problems, and maybe others I'm not
thinking of.

Second, you can use something like the /convert/ program
from ImageMagick to make a single image that contains the
other 4, and then just display that one image with
whatever software you choose.

You can go even farther though, and more or less use a
combination of the above. The display software could
for example be a web browser. Instead of the /convert/
program a shell script can massage and place the 4
images into the right directory for display locally or
remotely via the web browser. (I used to do exactly
that with about a dozen graphs that were generated
originally as a PNG image.)

--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@xxxxxxxxxx
.



Relevant Pages

  • Re: Tools for GUI/graphics
    ... graphs as .JPG files and display them in a ... generating graphs from data, ... Chart Director is a product I have a little experience with which has Python ... it has a very liberal demo policy: demo versions display a small ...
    (comp.lang.python)
  • Re: Viewing multiple .png files simultaneously
    ... I have an application that generates 4 graphs in .png format; ... display those graphs in 4 individual X-windows as soon as the data ... Can't you start 4 instances of Xnview? ...
    (comp.os.linux.development.apps)
  • Changing Graph Data Series
    ... I have about 12 graphs each with 4 data sets that I have to change the ... data set range on each month to display the next months data as it is ... from key input cells? ... through Dec 31) and have the graph update the data series for the ...
    (microsoft.public.excel)
  • Re: Viewing multiple .png files simultaneously
    ... display those graphs in 4 individual X-windows as soon as the data ... from ImageMagick to make a single image that contains the ... `- GPG Public Key: 0x25BFB848 Please GPG sign your mail. ...
    (comp.os.linux.development.apps)
  • Using OWC.Chart control in asp
    ... display line graphs in my application. ... even older versions (Excell 97) won't display the graph. ... chConstants.chDataLiteral, aiSeries1 ...
    (microsoft.public.office.developer.web.components)