..:D&G:.. Posted March 22, 2016 Posted March 22, 2016 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) MTA:Rust Pre-Alpha Build v.0.3: https://forum.mtasa.com/viewtopic.php?f=114&t=97848 2Pac: ''Only God can judge me!''
Moderators IIYAMA Posted March 22, 2016 Moderators Posted March 22, 2016 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 Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
..:D&G:.. Posted March 22, 2016 Author Posted March 22, 2016 Thanks a lot MTA:Rust Pre-Alpha Build v.0.3: https://forum.mtasa.com/viewtopic.php?f=114&t=97848 2Pac: ''Only God can judge me!''
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now