diff options
author | simonbachmann <simonbachmann@bluewin.ch> | 2017-03-23 19:12:40 (GMT) |
---|---|---|
committer | simonbachmann <simonbachmann@bluewin.ch> | 2017-03-23 19:12:40 (GMT) |
commit | 82bdc07acf429756e23f02236e6d5864d9c219b1 (patch) | |
tree | c64f106f39315963c9d40a6adaf7327b7c310394 /generic/tkWindow.c | |
parent | 2d2d8cfc9524589a2f5e880c3d089406189c3ad5 (diff) | |
download | tk-82bdc07acf429756e23f02236e6d5864d9c219b1.zip tk-82bdc07acf429756e23f02236e6d5864d9c219b1.tar.gz tk-82bdc07acf429756e23f02236e6d5864d9c219b1.tar.bz2 |
Added -withalpha option to [imageName get].
The list-of-lists-of-pixel-data format now is a registered format as the others.
Thanks to this change, [imageName data] now can return data that includes the alpha channel.
Changed the position of the '-alpha' and '-boolean' options to [imageName transparency set].
Updated doc
Updated test suite
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index ed57280..81d4f0d 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -334,6 +334,7 @@ CreateTopLevelWindow( * Create built-in photo image formats. */ + Tk_CreatePhotoImageFormat(&tkImgFmtDefault); Tk_CreatePhotoImageFormat(&tkImgFmtGIF); Tk_CreatePhotoImageFormat(&tkImgFmtPNG); Tk_CreatePhotoImageFormat(&tkImgFmtPPM); |