Tk Library Source Code

Check-in [d227043609]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [3470437fff]: wrong padding of the AND mask rows in ico. Each row of the mask is padded to a multiple of 32 bits, but ico padded it with (width % 32) bits, both when writing and when reading, so icons with widths like 8, 20 or 40 had a wrong transparency. Fixed in ico 1.x and ico 0.x. Add ico.test.
Downloads: See separate download page
Timelines: family | ancestors | ico-andmask-padding
Files: files | file ages | folders
SHA3-256: d227043609d9bd2ee6759037e3ebb052e528706b358f31f86d0a9920509a3521
User & Date: serhiy.storchaka 2026-11-15 23:33:03.358
Context
2026-11-15
23:33
Fix [3470437fff]: wrong padding of the AND mask rows in ico. Each row of the mask is padded to a multiple of 32 bits, but ico padded it with (width % 32) bits, both when writing and when reading, so icons with widths like 8, 20 or 40 had a wrong transparency. Fixed in ico 1.x and ico 0.x. Add ico.test. leaf check-in: d227043609 user: serhiy.storchaka tags: ico-andmask-padding
2026-10-04
11:09
Fix [4cecf79bc5]: Openstreetmap tiles must be fetched using https. leaf check-in: 731a23f35e user: sbron tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Changes to modules/ico/ico.tcl.
Added modules/ico/ico.test.
Changes to modules/ico/ico0.tcl.