Re: seeking for help on MNG creation

Sven Neumann <[email protected]> 17 Mar 2004 20:37:00 +0100
Newsgroups gmane.comp.graphics.mng.general
Message-ID <[email protected]>
Hi,

"Gerard Juyn" <gjuyn-qWit8jRvyhVmR6Xm/[email protected]> writes:

> The main problem is the remainder of the file. Here's a snapshot of
> a MNGeye dump:

Ah, that seems to be the kind of information I was expecting to get
from mngtree. This should get me further. Thanks for your reply.

> As you can see he CLIP values do not match with the X/Y values of
> the cloned image. Apart from the somewhat dubious use of CLON in
> this way (I'd suggest using MOVE/SHOW; preferably inside a LOOP/ENDL
> whenever possible), you'll need to align those parameters. The
> images are actually being displayed but since they fall outside of
> the clipping parms (also note the probable swap of the right- and
> top-clipping!), nothing will change on the screen.

OK, I messed up parameters in the call to mng_putchunk_clip(). Seems I
expected it to take (x1, y1, x2, y2) in his order. I have now fixed
this but unfortunately I am still looking at an MNG that shows the
background image only. I've update the online version, in case anyone
wants to investigate further.

I am not overly happy with the use of CLON but I am not sure if
MOVE/SHOW can do what I want to achieve. I need to show different
parts (that's why I use CLIP) of an image several times. Basically in
this example, there's one overlay image with seven regions. For each
window of the building (144 windows), I need to choose one region of
this overlay image and place it on the screen. All 144 copies need to
be visible at the same time. Can this be done using MOVE/SHOW?


Sven

--
Send the message body "help" to [email protected]