Help for this page

Select Code to Download


  1. or download this
    IMAGE FORMATS
        The photo image code is structured to allow handlers for additiona
    +l
    ...
        them with a call to Tk_CreatePhotoImageFormat. The standard Tk
        distribution comes with handlers for XBM, XPM, BMP, JPEG, PNG and
        PPM/PGM formats, which are automatically registered on initializat
    +ion.
    
  2. or download this
        Usually this will find the correct handler, but if it doesn't,
        the user may give a format name with the -format option to
        specify which handler to use.
    
  3. or download this
    my $img = $mw->Photo(-data => $data);