sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
The code compiles but always errors out that it cannot get the image height or width. The location to the image are correct and the permissions on my web site are correct. It just won't load any images.
All other code works fine. I can output shapes and all that good stuff, but not images.
Does anyone have a working example of this?
#!/usr/bin/perl -w use strict; use CGI::Carp qw(fatalsToBrowser); use CGI qw/:standard/; print header, start_html(); use SWF::Builder; my $movie = SWF::Builder->new ( FrameRate => 15, FrameSize => [15, 15, 400, 400], BackgroundColor => 'ffffff' ); my $jpeg = $movie->new_jpeg('100.jpg'); $jpeg->place; $movie->save('winter.swf');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: JPG TO SWF
by marto (Cardinal) on Mar 07, 2006 at 09:35 UTC | |
|
Re: JPG TO SWF
by zentara (Cardinal) on Mar 07, 2006 at 12:06 UTC | |
by sulfericacid (Deacon) on Mar 07, 2006 at 16:13 UTC | |
by zentara (Cardinal) on Mar 07, 2006 at 17:14 UTC | |
|
Re: JPG TO SWF
by moklevat (Priest) on Mar 07, 2006 at 17:58 UTC | |
by sulfericacid (Deacon) on Mar 07, 2006 at 18:31 UTC | |
by sulfericacid (Deacon) on Mar 07, 2006 at 21:47 UTC | |
by foobie (Initiate) on Mar 08, 2006 at 09:32 UTC |