Skip Menu |

This queue is for tickets about the Win32-Clipboard CPAN distribution.

Report information
The Basics
Id: 7080
Status: new
Priority: 0/
Queue: Win32-Clipboard

People
Owner: Nobody in particular
Requestors: h [...] imazu.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.51
Fixed in: (no value)



Subject: Win32::Clipboard::GetBitmap() doesn't work except with 24 bit color images
Hi. I thought Win32::Clipboard would be quite useful to write a program to handle screen shots made by the Print Screen button. And I really appreciate your effort to write the module. However, while I was writing a small program making use of the module, I realized that Win32::Clipboard::GetBitmap() doesn't work well except with 24 bit color images. The BITMAPFILEHEADER structure prepended by the function is not quite right. Also, the CF_DIB data size calculation is not correct. So I've come up with a fix of the bug as attached. Could you please incorporate the fix and make a new release? Regards, Hideyo Imazu

Message body is not shown because it is too large.