File "generic/tkImgPhoto.c", function "ImgPhotoCmd":
"imageName put" command does not work correctly,
when used in conjunction with "-format" and "-to" option.
Line 966:
0, 0, imageWidth, imageHeight, options.toX, options.toY)
should be changed to:
options.toX, options.toY, imageWidth, imageHeight, 0, 0)
Noticed this bug in tk8.3.2 as well as tk8.4a2.
Seems to be introduced with the Img patch in 8.3.
Logged In: YES
user_id=72656
Looking at the code, this is a pretty clear case of 'oops'
on that part. Of course, you need extra image handlers to
trigger it, because the core ones don't support the -format
in that case. Fixed in 8.4a3.