An important part of the design of
Portable Presenter is the requirement for
screen-size independency; fonts and also images are scaled, dependent on
the actual screen-size.
PPresenter will automatically use Image::Magick when it is installed. There is no performance reason to decide differently.
You can defined Image::Magick images in two ways:
use PPresenter; use Image::Magick; my $image = Image::Magick->new; $image->Read('image.tiff'); $image->Scale('25%x50%'); ... my $show = PPresenter->new; $show->image($image, -name => 'image');On the moment you add the image to the show, the Magick structure is taken. You should not try to change the object after this.
Example 1: Own symbols for unordered listsUsually, the dots used to precede a list-item in an unordered list (for instance used by the markup formatter), is defined by the decoration option
use PPresenter; use Image::Magick; my $dots = Image::Magick->new; $dots->Read('redball.gif', 'blueball.pct'); my $show = PPresenter->new; my @p = $show->image(@$dots); $show->change( decoration => 'ALL' , -nestImages => [ undef, @p ] )One Image::Magick can contain a list of images.
Portable Presenter is written and maintained by Mark Overmeer. Copyright (C) 2000-2002, Free Software Foundation FSF.