Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize offset memory for PyImagingPhotoPut.
When using image mode "1" or "L" block.offset[3] is never initialized. In some use cases the block is passed to Tk_PhotoPutBlock (https://github.com/tcltk/tk/blob/master/generic/tkImgPhoto.c#L2752) and block.offset[3] is stored in alphaoffset which is later referenced.
- Loading branch information