Jump to content

[HELP] While outline on dxDrawImage


..:D&G:..

Recommended Posts

Posted

So I did this image using dxDrawImage, but it seems to have some while lines as outline. Some other images I drawn using dxDrawImage have some lines. Also, to mention that the images have been cut from another one in photoshop, but they are clean with no outline or lines.

dxDrawImage(s[1]*48/52,0, s[1]*304/4000,s[2]*24/200, "files/images/version.png", 0, 0, 0, tocolor(255, 255, 255, 255),true) 

y5pbB.png

76561198066470453.png

SP37Ecj.jpg?2MTA:Rust Pre-Alpha Build v.0.3:SP37Ecj.jpg?2

https://forum.mtasa.com/viewtopic.php?f=114&t=97848

2Pac: ''Only God can judge me!''

  • Moderators
Posted

try to use png-8, it is limited in settings but renders with better quality. (and is 20%/40% smaller)

Works great with a monochrome images.

Save the images to textures, before rendering will also improve the quality and render speed.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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...