Jump to content

Image transparency artefacts


DakiLLa

Recommended Posts

Posted

Hi.

Well, I don't know it this is right section for that question but I couldn't find anything better. I use dxDrawImage to draw an image on the screen but it drawing it with some artefacts. Screen below:

-broken image link removed at the request of OP-

Noticed that line inside a red border? That's the question, how to get rid of this line.

Anyone? Thx.

  • MTA Team
Posted

If the line is at the edge, then it's because the image does not have power of 2 dimensions.

If the image is 100x200 for example, scale it up to 128x256 in a paint package

Posted
If the line is at the edge, then it's because the image does not have power of 2 dimensions.

If the image is 100x200 for example, scale it up to 128x256 in a paint package

Yea, that helped. Thx a lot. :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...