DEFCON1 Posted December 29, 2009 Share Posted December 29, 2009 Hi again, So I have one small anonying problem. Look this image, made in paint.net : Now a big zoom of the top-right corner, in paint.net (click, image too big..): http://cdn.solidfiles.net/i/gGJA.png The same corner, but taken from ingame (blue background is the sky) (click, image too big..): http://cdn.solidfiles.net/i/sp1E.png See the problem? The external semi transparent color is ok and fit pixels -kind of- correclty..but the internal (what we see from the botton left corner) does not fit pixels correctly... which is annoying for what i want to do. Here is a picture of my actual problem: You can clearly see what I mean (I hope , because it's not easy to explain as I'm not english!). That blue line all around the internal images (the 3 digits and the kmh/mph) should NOT be there! It should fit perfectly.. I have tried many differents image file formats, including .dds, nothing change . I have also tried reducing the size of the concerned image by 2 pixels, but then it fit but lose some transparency because the 'internal images' overwrite it a bit.. Is there anything I can do to fix this problem and make it perfectly like I want? I could cut that image in 4 parts (so no 'internal transparent rectangle'..) to see what happen..but this will ruin my skinning system of my script Link to comment
50p Posted December 29, 2009 Share Posted December 29, 2009 I have absolutely no idea what your problem is. Transparent images have border lines which you may or may not want, if your image is stretched or its size is not 1:1 when you create it with script (e.g. 100x50 -> 200x100 -> 300x150, etc.). Link to comment
DEFCON1 Posted December 29, 2009 Author Share Posted December 29, 2009 It is actually displayed in game at 50% of the size of the image, but I have tried 100% too, as well as 500%, just to be sure that I'm not crazy.. The weird thing is, images used to display digits and kmh/mph, they are 4 differents images of the same size, and they fit perfectly at any % of size, and they have the same transparency! I will try cut it in 4 parts (each side) and see if it solve but as said, this will ruin my easy-to-skin system Thanks anyway 50p Link to comment
madis Posted December 29, 2009 Share Posted December 29, 2009 You mean the edge bluriness, right? Which function did you use to get it in-game btw, the directx or GUI? Link to comment
1B0Y Posted December 31, 2009 Share Posted December 31, 2009 I have absolutely no idea what your problem is.Transparent images have border lines which you may or may not want, if your image is stretched or its size is not 1:1 when you create it with script (e.g. 100x50 -> 200x100 -> 300x150, etc.). i go with 50p WTH you talking about dude? it just looks perfectly fine! Link to comment
DEFCON1 Posted December 31, 2009 Author Share Posted December 31, 2009 Yes madis, the edge bluriness of inside rectangle, and I have tried both gui and dx functions and same result. I thinked it was caused by my graphic card, as I'm from laptop, but then I've tried on my gaming pc and still the same problem, so maybe it is MTA functions which reduce image quality? But I fixed it by removing the transparency and painted the color on the images themself, now it looks like that (I've changed the background image a bit..) You see there is no more that blue line, JBoy Link to comment
madis Posted January 2, 2010 Share Posted January 2, 2010 Oh, that blue line. Didn't notice it before. Link to comment
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