I'm following up on some
distributed testing errors on a CPAN module I'm working on, and I've isolated the following errors to these corresponding
Composite method calls:
Code: Select all
# Argument "Multiply" isn't numeric in subroutine entry at [...] line 89.
$output_file->Composite('image' => $plot_file, 'compose' => 'Multiply', 'x' => $x, 'y' => $y );
# Argument "Blend" isn't numeric in subroutine entry at [...] line 112.
$input_file->Composite('image' => $output_file, 'compose' => 'Blend', 'blend' => $parent->get_opacity() . '%');
Apparently, this (probably very old) version of PerlMagick is expecting the
compose key to have an integer value rather than a string...Are there constants for Multiply and Blend somewhere in the PerlMagick codebase that I should be providing in those method calls? If so, where?