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.

DarkBASIC Professional Discussion / Aliasing when using "paste image" or "sprite"

Author
Message
XANAX 2B
23
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 20th Jun 2003 15:14
Hello everyone !
I'm XANAX2B from corsica.
I'm making a software with dbpro wich is not a game, and when I paste my images or when I use sprites as buttons, there is an aliasing wich is not in the image. I need dbpro to respect perfectly my pictures. What can I do ? Must I program a Dll to draw my pictures by myself or there is a command to respect the quality of the picture ? My picture is in 800x600x24, my screen resolution is set to 1024x768x32, and in dbpro, I set my screen to fullscreenx1024x768x32 without stretching my picture...
Please help me, thanks
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Jun 2003 15:30 Edited at: 20th Jun 2003 15:30
You don't read these forums much do you ? This question has been asked (and answered) loads of times now.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Jun 2003 15:30
change the load image command and stick a ,1 on end.

e.g. load image "picture.bmp",1,1

This keeps the image pixel perfect.

Gronda, Gronda
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Jun 2003 15:33
MrTAToad: Too right!

He is a new user though and there is no official search engine and the help for the load image command is unhelpful to say the least, so I think it is only fair to cut him a bit of slack.

Gronda, Gronda
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Jun 2003 15:57
FAQ anyone?

Hopefully, the new forums will allow this type of searching to take place.
XANAX 2B
23
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 20th Jun 2003 16:05
Thanks a lot, I'll try that immediatly !
[b])
XANAX2B

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Jun 2003 16:36
All right - I'll let him/her/it off this once.

Does P5 update the help files by any chance ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2026-07-11 14:56:06
Your offset time is: 2026-07-11 14:56:06