in reply to Re: can you scale an image to size with Tk's Photo method?
in thread can you scale an image to size with Tk's Photo method?

If, however, you want to scale it on the fly, I believe you will have to go with Image Magick or GD
As all who read pod know, i'm glad to say, thats not so => Tk::Photo, Resizing images && Tk

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re^2: can you scale an image to size with Tk's Photo method?

Replies are listed 'Best First'.
Re^3: can you scale an image to size with Tk's Photo method?
by eserte (Deacon) on Jun 09, 2004 at 08:49 UTC
    Unfortunately the general answer is no. Rescaling is only possible in integral steps using the -zoom and -subsample options. For arbitrary resizing one has to use external tools.
Re^3: can you scale an image to size with Tk's Photo method?
by gri6507 (Deacon) on Jun 09, 2004 at 14:11 UTC
    Did the Copy() method exist in Tk 800.022? That's what I'm stuck dealing with.
      Yes, if you mean copy(). But why not using Tk800.025?
        because our software has to be backwards compatible with our existing customer base, and, alas, the oldest version of Tk that they use is 800.022