Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - For Admins & Staff [UPDATED - o1-o1-2o12]
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

For Admins & Staff [UPDATED - o1-o1-2o12]

 Post Reply Post Reply
Author
Message
tomay3000 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2010
Location: Algeria
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote tomay3000 Quote  Post ReplyReply Direct Link To This Post Topic: For Admins & Staff [UPDATED - o1-o1-2o12]
    Posted: 19 September 2011 at 10:56am
Take a look at the below two posts:

http://forum.codejock.com/forum_posts.asp?TID=18822&PID=66280&title=cxtpimagemanagerresamplealphalayer-correction#66280

http://forum.codejock.com/forum_posts.asp?TID=18959&PID=66333&title=bug-cxtpgraphicbitmappng#66333

I have fixed the isues & would like to see hotfixes in the next releases:

Attached hotfixes files:
uploads/6515/XTPGraphicBitmapPng_+_XTPImageManager_Hotfixes_-_o1-o1-2o12.zip

Thank you for you understand ;)

===============================================================
[EDIT]:

The attached hotfixes files have been updated due to a small mistake concerning DIBs padding bytes.
This happened because Microsoft MSDN published some information about BITMAP structure and about bmWidthBytes member assuming that The number of bytes in each scan line must be divisible by 2, but actually it should be divisible by 4.
Source: http://msdn.microsoft.com/en-us/library/dd183371(v=vs.85).aspx
The count of padding bytes formula for 24 bpp DIBs that I am suggesting would be: -(bmpWidth * 3) & 3 Thumbs Up

Hint:
Microsoft people should fix their stuff accordingly. Thumbs Down
Product: Codejock ToolkitPro MFC v16.2.0
Platform: Microsoft Windows 8 Pro (64-bit)

Language: Microsoft Visual C++ v6.0 (MFC)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.