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 / Little dots on an image when I paste it

Author
Message
clone
22
Years of Service
User Offline
Joined: 24th Jul 2003
Location:
Posted: 24th Jul 2003 16:00
When I paste an image in DBpro there are dots across it and it's kind of fuzzy.

I'm using DBpro4.1

I have an HP Pavilion 6636, 500Mhz, Windows 98, Integrated Intel 810 graphics, 196MB RAM.
The Big Babou
23
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 24th Jul 2003 16:16
switch to 32 bit mode (set display mode x,y,32)
its a bug in patch 4
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Jul 2003 16:39
In addition, make sure that the load image/get image has a ,1 at the end to stop anti-aliasing.


Its better than a poke in the eye...
clone
22
Years of Service
User Offline
Joined: 24th Jul 2003
Location:
Posted: 25th Jul 2003 15:49 Edited at: 25th Jul 2003 15:59
I already tried it with and without transparency though.

I can't go above 24 bit mode on this pc and for some reason dbpro won't let me use it.

It has an error: Runtime Error 1514 - 24 bit depth not supported. Select either 16 or 32 bit mode.

Do you know if the problem I'm having with pasted images will be fixed in the next patch?

I don't check these forums much, so I havn't heard anything about it. Heh, for a while I havn't even had a user name on here. I made this one so I could post again.

Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 25th Jul 2003 17:46
What I suggest is exagerating the image contrast, like make it brighter, so that the very lowest colour your image uses is r16,g16,b16 or something like that - then replace this colour with black. It's caused by the colour loss between 24-bit and 16-bit, making very dark but not black colours appear as transparent. I often replace pure black with something bright to check for defects, then when I'm happy and the darkest colour is r16,g16,b16 - I replace the bright transparency colour with pure black.

I suggest looking into .PNG's and opacity masks, like for 32-bit images, the extra 8 bits is for the opacity colour, the brighter the opacity colour, the stronger the transparency. It's quite tricky, because I don't have a propper .PNG suitable art package (like PhotoShop, PSP is no good). You would'nt believe how much better opacity masks make your transparent images look when pasted over backgrounds or better yet, used on rotated plain objects like trees or grass patches.

Patch 5 does have some new Alpha mask commands that do the same thing, but a lot easier (I'm having to use memblocks to encode the opacity mask onto the bitmaps - only works in 32-bit mode). Hopefully P5 will be publically released really soon.


Van-B

My cats breath smells of cat food.

Login to post a reply

Server time is: 2026-07-23 02:37:48
Your offset time is: 2026-07-23 02:37:48