diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2018-12-11 10:21:08 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2018-12-11 10:21:08 (GMT) |
commit | d39fc962b516427bb903ce22ee8ea44a08ba2f22 (patch) | |
tree | 149beb739cfc23288db1aa7fe2f4181eacf15dfe /generic/tkImgPhoto.h | |
parent | 4eefa7b3a6b659a083c0697a4ded7779823b495c (diff) | |
download | tk-d39fc962b516427bb903ce22ee8ea44a08ba2f22.zip tk-d39fc962b516427bb903ce22ee8ea44a08ba2f22.tar.gz tk-d39fc962b516427bb903ce22ee8ea44a08ba2f22.tar.bz2 |
TIP529 image metadata: create -metadata option
Diffstat (limited to 'generic/tkImgPhoto.h')
-rw-r--r-- | generic/tkImgPhoto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkImgPhoto.h b/generic/tkImgPhoto.h index a84ebb3..8538bfe 100644 --- a/generic/tkImgPhoto.h +++ b/generic/tkImgPhoto.h @@ -165,6 +165,8 @@ struct PhotoMaster { Tcl_Obj *dataString; /* Object to use as contents of image. */ Tcl_Obj *format; /* User-specified format of data in image file * or string value. */ + Tcl_Obj *metadata; /* User-specified metadata dict or read from + * image file */ unsigned char *pix32; /* Local storage for 32-bit image. */ int ditherX, ditherY; /* Location of first incorrectly dithered * pixel in image. */ |