| Ticket UUID: | d9c8ccb042bb33f6f86bca4224795e6eabc6269d | |||
| Title: | Tk_PhotoPutBlock slow with alpha values of "0" | |||
| Type: | Bug | Version: | 8.6 | |
| Submitter: | toxic_recker | Created on: | 2022-03-28 07:15:01 | |
| Subsystem: | 05. Canvas Items | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2022-04-22 10:32:05 | |
| Resolution: | Duplicate | Closed By: | jan.nijtmans | |
| Closed on: | 2022-04-22 10:32:05 | |||
| Description: |
Hello, i have problems loading .png Images with alphachannel (RGBA). ImageTk.PhotoImage Even the smallest images need several seconds to open, if alphachannel contains many blocks with "0". If, for example, i exchange the "0" with "1", the image loads fast. But this is no solution,only a workaround, with bad quality in some cases. I went to the guys at PILLOW before, they say it is no problem with PhotoImage, but a problem with Tk_PhotoPutBlock. Working code and example image you can find here. https://github.com/python-pillow/Pillow/issues/6022 | |||
| User Comments: |
jan.nijtmans added on 2022-04-22 10:32:05:
Dup of [919066]. chrstphrchvz added on 2022-03-28 19:39:03: This issue has been observed on Windows, X11, and macOS Aqua. oehhar added on 2022-03-28 18:33:02: Yes, perhaps again an issue for Magic Simon... AFAIK, it is X11 only. Take care, Harald chrstphrchvz added on 2022-03-28 13:55:35: Already discussed in [b9827ece14] and [919066]. Given how this issue has been around for decades, I wouldn’t expect it to be fixed anytime soon (I am not a Tcl/Tk member, so this is not an authoritative response). | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki