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.

Newcomers DBPro Corner / loading image its huge!

Author
Message
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 27th Jan 2006 02:19 Edited at: 27th Jan 2006 02:20
hey everyone. i am trying to get a save and load function into my paint program.
but whenever i load the image that was saved. it appears HUGE and it doesent fit on my screen.
does anyone know how to make a loaded image fit the screen perfectly?
here is my code:



Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 27th Jan 2006 02:37
I'm not totally sure if this syntax is available in Classic but you can load the image as a bitmap and copy the bitmap to the main screen (bitmap 0) and specify the size.

Quote: "COPY BITMAP From Bitmap,Left,Top,Right,Bottom,To Bitmap,Left,Top,Right,Bottom"





Attachments

Login to view attachments
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 27th Jan 2006 02:45
Cool! do you know anyway to make it better quality (sorry for asking)
but your way of doing PWNS! thank you so much grog

Nul error
19
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 27th Jan 2006 02:46
change load image "output.bmp",1 to load image "output.bmp",1 ,1
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 27th Jan 2006 02:48
hmmm. the image is to long for the screen still =(

Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 27th Jan 2006 02:54
Cool. thanks everyone! i got it to work. any tips on getting the image quality ^up^ would be much appriciated

Gyrich
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: Here, obviously.
Posted: 27th Jan 2006 10:52
to increase the image quality you can:

1.) increase the resolution of your entire game (not recommended)

2.) open the image in an image editing program (photoshop, paintshop pro, etc.) and increase the resolution of the actual image and therefore, the quality. You both of the programs mentioned have tools (filters, etc.) that if you know how to use them, can make the image look better as well.

hope that helps, later

DBPro User
PC: WinXP, AthlonXP 2100+ 1.7ghz, 80gb HD, Nvidia GeForce FX 5200 (128mb onboard RAM), 512mb DDR400 system RAM. Thank you for your help.

Login to post a reply

Server time is: 2024-11-27 05:44:40
Your offset time is: 2024-11-27 05:44:40