[Digikam-devel] [Bug 276096] PGF images not shown if zoom is set to 100%

Marcel Wiesweg marcel.wiesweg at gmx.de
Tue Jul 12 19:42:07 BST 2011


https://bugs.kde.org/show_bug.cgi?id=276096





--- Comment #21 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-12 18:42:06 ---
Code excerpt:

            memset(data, sizeof(data), 0xFF);

            pgf.Read(level, CallbackForLibPGF, this);
            pgf.GetBitmap(m_sixteenBit ? width*8 : width*4,
                          (UINT8*)data,
                          m_sixteenBit ? 64 : 32,
                          NULL,
                          CallbackForLibPGF, this);

Hmmm...could it be that sizeof(data) is 4?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list