rickrutgers has asked for the wisdom of the Perl Monks concerning the following question:
Tk Canvas WinPhoto Colors are changed in jpg.
Goal is to get an jpg file of an image in a PerlTk Canvas.
I've tried this with:
For example: Blue looks red / Red looks purple.
Script is performed from an Fedora commandline.
Is there a solution for this problem?
Rick Rutgers (The Netherlands)
I've tried this with:
The jpg file is perfect, but the colors are changed.use Tk::WinPhoto; my $image = $mw->Photo(-format => 'Window', -data => oct($mw->id)); $image->write($path_name, -format => 'JPG');
For example: Blue looks red / Red looks purple.
Script is performed from an Fedora commandline.
Is there a solution for this problem?
Rick Rutgers (The Netherlands)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk Canvas WinPhoto Colors are changed in jpg
by zentara (Archbishop) on Sep 24, 2012 at 10:57 UTC |
Back to
Seekers of Perl Wisdom