[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 00962] Re: Problems embedding apps in presentations



On 14 Jun 2002, Grunde [ISO-8859-1] L?voll wrote:

Hi Grunde,

> for my configuration this dosn't work! It seems that most external
> X-apps starts in the upper left corner without geometry option to the
> app (which not all apps take). Does anyone know why this is so? Is there
> something wrong with my configuration since x-apps don't end up on the
> next line? What could I do?

I use two ways to display animations (and control the position exactly):

mpegs in this fashion:
%system "mpeg_play -quiet -dither color -controls none -position +200+500 -loop thisisthemovie.mpg"

The "geometry" option is called "position" for mpeg_play, but works the
same for the placement.

And other animations using imageMagick:

%system "display -geometry 400x400+500+360 small_sph_400x400.first.gif"
%system "animate -geometry 400x400+500+360 small_sph_400x400.raw.miff"

The first line puts the first frame of the animation, so you see something
while animate is loading the movie.

Hope that  is useful.

Hans

> > > Since plaympeg don't take any position or geometry option is
> > > there any way to force it's position from MagickPoint?
> >
> > I don't know how to control the position exactly.
> >
> > For me the animation always appears at the position of "the next line". So
> > "%center/left/right" controls the position horizontally and I insert black
> > lines to control the position vertically.
> >
> > I usually have the animation center with text above and below. "%cont" does
> > not allow me to put 2 animations side by side as I would for 2 images - But I
> > notice that "%mark/again" can be used to place a second animation or text next
> > to the first:
> >
> > %mark, left
> > %xsystem "plaympeg -l lssanim_zoom.mpg"
> > %again, right
> > %xsystem "plaympeg -l lssanim_zoom.mpg"
> >
> > Clem
> >
> > --
> > **********************************************************************
> > Clem Pryke - Senior Research Associate
> > University of Chicago,
> > Room 226, LASR, 933 East 56th Street, Chicago, Illinois 60637, USA
> > Tel: 773 702-7853  Fax: 773 834-1891  email: pryke@focus.uchicago.edu
> > **********************************************************************
> >
> >
> >
>
>

-----------------------------------------
Hans Fangohr, fangohr@soton.ac.uk

High Performance Computing Group,
Dept. Electronics and Computer Science
Building 59, Level 3, Room 3237,
University of Southampton, Southampton,
SO17 1BJ, United Kingdom
http://www.ecs.soton.ac.uk/~hf99r
-----------------------------------------