in reply to Re^4: Tk not recognising GD image -- further doubts
in thread [Solved] Tk not recognising GD image
$imtk = $mw->Photo(-data => $imgd->jpeg(), -format => 'jpeg'); } else { $imtk = $mw->Photo(-file => $file, -format => 'jpeg');
The command is different, using the file directly via the file option rather than data. Larger files have to be resized to fit. I was thinking of using a temporary file as a workaround.
Regards,
John Davies
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Tk not recognising GD image -- further doubts
by Discipulus (Canon) on May 09, 2022 at 09:19 UTC |