It is currently Sat Dec 05, 2020 3:54 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [Done] GrabDrawingImage Bug - tested x64 Sierra PB561
PostPosted: Mon Oct 16, 2017 8:24 am 
Offline
Addict
Addict

Joined: Sat Mar 02, 2013 9:17 am
Posts: 930
GrabDrawingImage Bug - tested x64 Sierra PB561

A function on my BF was broken on Mac, i have search the reason
Its very, very strange, with different effects on different sizes
Code:
; OpenWindow(1, 0, 0, 800, 600, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ; Works
 OpenWindow(1, 0, 0, 800, 700, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ; Fails

CreateImage(1, 300, 300, 24, $FF)

StartDrawing(ImageOutput(1))
new_image=GrabDrawingImage(#PB_Any, 0, 0, 200, 200) ; Fails on 800*700
; new_image=GrabDrawingImage(#PB_Any, 0, 0, 300, 300) ; Works - But, same sized fails on my BF
StopDrawing()

ImageGadget(1, 100, 100, 0, 0, ImageID(1))
ImageGadget(2, 450, 400, 0, 0, ImageID(new_image))

Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow

_________________
http://www.nachtoptik.de


Top
 Profile  
Reply with quote  
 Post subject: Re: GrabDrawingImage Bug - tested x64 Sierra PB561
PostPosted: Sun Feb 23, 2020 11:12 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14180
Location: France
Fixed.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye