logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SReview::Template::Synfig - module to process a Synfig template into a PNG file

Configuration

       This module checks the following configuration values:

   workdir
       The location for temporary files that the module needs.

perl v5.40.0                                       2025-02-17                     SReview::Template::Synfig(3pm)

Description

       "SReview::Template::Synfig" uses SReview::Template to process an input file into a templated Synfig file,
       and then runs synfig over it to convert the templated Synfig file to a PNG file at the given location.

       The input file can either be a file on the local file system, or it can be an HTTP or HTTPS URL (in which
       case the template at that location will first be downloaded, transparently).

Name

       SReview::Template::Synfig - module to process a Synfig template into a PNG file

Synopsis

         use SReview::Template::Synfig qw/process_template/;
         use SReview::Talk;
         use SReview::Config::Common;

         my $talk = SReview::Talk->new(talkid => ...);
         my $config = SReview::Config::Common::setup();

         process_template($input_svg_template, $output_png_filename, $talk, $config);

         # now a PNG file is written to $output_png_filename

See Also