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 / major problem

Author
Message
Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 10th Jul 2004 12:55
ok, I have a problem. Whenever I make something in MS paint, when I save my work, the image gets disstorted in a blury kind of way. this also make my colorkey command impossible because all my images are disstorted.....

any ideas?
Xander
21
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 10th Jul 2004 13:15
When you load an image in Dark Basic Pro you have to put a flag on the end of the load image command so it doesn't load it with a mip map. Like this:

load image "Picture.bmp",imagenum,1

Try that and see if it fixes your problem,
Good Luck

Xander Moser of Bolt Software
Firewall: Your Computer's First Defense - Real Time Strategy game
[href][/href]
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 11th Jul 2004 00:34
It will also distort your image if you are saving it as a .jpg so make sure you are saving it as a .bmp

...well... I hope I helped...

Programming isn’t an addiction, its more of a mental and social dependancy.
SandraD
20
Years of Service
User Offline
Joined: 30th May 2004
Location: Down on the corner, out in the street.
Posted: 11th Jul 2004 05:55
Yeah, that's what I was thinking too. JPG isn't an exact format like BMP is. So you have "approximations" made to individual pixels. If that is NOT the trouble, I'd check resolution scale; like too small, too large, etc. for whatever screen mode you're using.
S.

Any truly great code should be indisguishable from magic.
Plastico
20
Years of Service
User Offline
Joined: 3rd May 2004
Location:
Posted: 11th Jul 2004 15:14
much thanks, JPG sucks
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 11th Jul 2004 20:27
the only reason jpg does that is because its a lossy compression.
it tries to mimic the original with a optimised version so the file size is smaller.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself

Login to post a reply

Server time is: 2024-09-22 16:35:03
Your offset time is: 2024-09-22 16:35:03