Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / Cannot get image U7.1beta5

Author
Message
James H
18
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 12th Nov 2008 14:31 Edited at: 13th Nov 2008 03:08
Whenever I try to use the get image command, the program fails with the error "tried to read a surface which has no read permissions"


Edit: using Vista Premium 64 with SP1, [email protected], 4GB RAM, 8800GT driver version 178.13 - same result with help file example code
Jeff Miller
20
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: New Jersey, USA
Posted: 20th Nov 2008 21:54 Edited at: 20th Nov 2008 22:02
One situation where this can occur is when you have antialiasing on. I'm not sure how it defaults. I've successfully used the get image command in 7.1beta5 by creating bitmap 1, setting that as the current bitmap, and doing all drawing on that before using the get image command.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Nov 2008 17:38
Your driver can be set to override the antialiasing of your application.

@James H,
Can you check your driver/display settings to ensure that it's not forcing antialiasing?
Also, try creating a new bitmap and using GET IMAGE on that to see if it works.

James H
18
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 22nd Nov 2008 17:57 Edited at: 11th Dec 2008 01:48
There was antialias for gamma correction set as on but changing it had no effect. Creating a new bitmap for get image produced no errors.

Edit:Same for beta 10
Jeff Miller
20
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: New Jersey, USA
Posted: 11th Dec 2008 12:03
Same here. I turned off all antialiasing on the NVIDIA card settings menu, but still get the crashes. I also tried positively setting antialiasing off by adding the Set Display Mode command and setting the multisampling to zero, but it still crashes at the first attempt at a screen grab. I have had this problem I believe since 6.9 when the antialiasing argument was introduced into the Set Display Mode command. I'm running Vista.

On an XP machine, with a graphics card that does not support antialiasing, I can do the screen grabs, including all versions up through 7.1 beta 10.
LeeBamber
TGC Lead Developer
25
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 11th Dec 2008 18:23
Should be fixed in newest BETA - out soon

And lo, after much toil, he placed his keyboard on the ground and lo, he saw that it was good. Then his PC crashed, and lo, he saw that is wasn't good enough!
James H
18
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 11th Dec 2008 23:38
Works now, thanks
Jeff Miller
20
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: New Jersey, USA
Posted: 12th Dec 2008 00:21
Quote: "Removed some hack code from DarkGDK merging causing Vista users to get Multisamping X2 no matter what"


Good work! I'm back in business with Vista with 7.1 Beta 11.

Login to post a reply

Server time is: 2025-08-08 22:26:05
Your offset time is: 2025-08-08 22:26:05