[BUG] SaveImage() Saves bogus BMP header (LINUX)

Linux specific forum
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

[BUG] SaveImage() Saves bogus BMP header (LINUX)

Post by Inner »

Only tested linux. :roll:

Code: Select all

img.l = GetClipboardImage(#PB_Any)
SaveImage(img,"getclipboardimage_bugtest.bmp") ;<--- HANGS HERE
Saving an incomplete BMP image file.

- Changed Topic title to reflect confirmed bug.
Last edited by Inner on Thu Jul 01, 2010 1:05 pm, edited 2 times in total.
GBeebe
Enthusiast
Enthusiast
Posts: 263
Joined: Sat Oct 09, 2004 6:52 pm
Location: Franklin, PA - USA
Contact:

Re: [BUGCHECK] SaveImage() Saves bogus BMP header (LINUX)

Post by GBeebe »

I can confirm this.

Code: Select all

img.l = GetClipboardImage(#PB_Any)
If img.l
    SaveImage(img,"getclipboardimage_bugtest.bmp") ;<--- HANGS HERE
EndIf
Still hangs.
moogle
Enthusiast
Enthusiast
Posts: 372
Joined: Tue Feb 14, 2006 9:27 pm
Location: London, UK

Re: [BUGCHECK] SaveImage() Saves bogus BMP header (LINUX)

Post by moogle »

Fails here too and crashes (Vista x64)
Image
Post Reply