[Implemented] Add imageoutput() support to Drawingbuffer()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 345
Joined: Sat Dec 25, 2004 2:37 pm

[Implemented] Add imageoutput() support to Drawingbuffer()

Post by thyphoon »

All in the subject :P

today to know address about image i must do

Code: Select all

Protected bmp.BITMAP,*buffer,size.l
  GetObject_(ImageID(Image), SizeOf(BITMAP), @bmp.BITMAP)
  *buffer = bmp\bmBits
  Debug "buffer:"+Str(buffer)
  size.l=bmp\bmWidthBytes*bmp\bmHeight
but it's difficult for cross-platform application !
ImageOutput() support to DrawingBuffer will be better

How to know the image address on MacOsX or Linux ?


Thanks for All ;)
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Try the 4.40 beta1 :wink:
quidquid Latine dictum sit altum videtur
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 345
Joined: Sat Dec 25, 2004 2:37 pm

Post by thyphoon »

freak wrote:Try the 4.40 beta1 :wink:
lollllllllll thanks !!! :P
Post Reply