| Ticket UUID: | 1944037 | |||
| Title: | written icons have a doubled height | |||
| Type: | Bug | Version: | None | |
| Submitter: | martinlemburg | Created on: | 2008-04-16 14:40:47 | |
| Subsystem: | tklib :: ico | Assigned To: | afaupell | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2008-04-22 05:27:18 | |
| Resolution: | None | Closed By: | afaupell | |
| Closed on: | 2008-04-21 22:27:18 | |||
| Description: |
To build the starpack icon file "tclkit.ico" I wanted to add several single icons to a new one (tclkit.ico), but the tclkit wrapper didn't recognized this new tclkit.ico file, because all added icons have the right width, but an invalid height.
To get into details:
1. I have 6 icon files with the needed widths of
48, 32, and 16 pixels
and the needed color depths of
8bpp and 4bpp
2. I load the tklib package ico
3. I add each icon file with ico::writeIcon
4. I test the result with ico::iconMembers
Each added icon has the doubled height of its source icon, so something must be wrong.
The result output of the attached test script is:
Loaded the tklib package ico v1.0.2
building icon:
adding "48_8.ico" - name "0" (48x48) with 8bpp
adding "48_4.ico" - name "0" (48x48) with 4bpp
adding "32_8.ico" - name "0" (32x32) with 8bpp
adding "32_4.ico" - name "0" (32x32) with 4bpp
adding "16_8.ico" - name "0" (16x16) with 8bpp
adding "16_4.ico" - name "0" (16x16) with 4bpp
new icon "tclkit.ico":
name "0" (48x96) with 8bpp
name "1" (48x96) with 4bpp
name "2" (32x64) with 8bpp
name "3" (32x64) with 4bpp
name "4" (16x32) with 8bpp
name "5" (16x32) with 4bpp
| |||
| User Comments: |
afaupell added on 2008-04-22 05:27:18:
Logged In: YES user_id=812825 Originator: NO this was fixed in v1.0.3 from Mar 12. martinlemburg added on 2008-04-16 21:40:47: File Added - 274794: icon_height_test.zip | |||
Attachments:
- icon_height_test.zip [download] added by martinlemburg on 2008-04-16 21:40:47. [details]
