marcz908 has asked for the wisdom of the Perl Monks concerning the following question:
$mw->Photo("image1", -data => $imgdata{'image1'}, -height = 200); $mw->Label(-image => "image1")->pack();
Is there a way to do this in Tk, or do I have to scale the image myself with Image Magick or GD? I thought that being able to scale the image would save alot of time as opposed to creating several versions of the image in different sizes.
Thank you!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can you scale an image to size with Tk's Photo method?
by gri6507 (Deacon) on Jun 08, 2004 at 21:11 UTC | |
by PodMaster (Abbot) on Jun 09, 2004 at 05:59 UTC | |
by eserte (Deacon) on Jun 09, 2004 at 08:49 UTC | |
by gri6507 (Deacon) on Jun 09, 2004 at 14:11 UTC | |
by eserte (Deacon) on Jun 09, 2004 at 14:28 UTC | |
by gri6507 (Deacon) on Jun 10, 2004 at 12:44 UTC |