drk Posted March 25, 2012 Share Posted March 25, 2012 When I create a image in photoshop ( HD, 1080p ) it shows perfectly in Windows / Sites but when I put in the server the quality decreases so much! idk why it happens, my friends create images and I put them in the server and it appears with same quality. I need help with this or I have to put this shitty pc in the trash -.- Link to comment
-ffs-Sniper Posted March 26, 2012 Share Posted March 26, 2012 Are you using GUI or DirectX images? Link to comment
drk Posted March 26, 2012 Author Share Posted March 26, 2012 I tried GUI Image / DirectX Image and I get the same. Link to comment
Jaysds1 Posted March 26, 2012 Share Posted March 26, 2012 Try setting the picture file to .png file or convert it to a .png file Link to comment
drk Posted March 26, 2012 Author Share Posted March 26, 2012 It's png file already. I tried all file types and graphics configuration of image. Link to comment
Aibo Posted March 28, 2012 Share Posted March 28, 2012 where are the screenshots of the problem? Link to comment
drk Posted March 28, 2012 Author Share Posted March 28, 2012 Tell me why you need screenshots of the shitty quality of image. In what will the images help? Link to comment
Aibo Posted March 28, 2012 Share Posted March 28, 2012 so i could understand the what the fuck do you mean by "shit quality". quality can degrade in various ways, like jpeg artifacts due to compression, lowered bit depth, fucked up alpha channel, broken color profiles, etc. Link to comment
drk Posted March 28, 2012 Author Share Posted March 28, 2012 So, wait a moment. I need take a photo. Link to comment
drk Posted March 28, 2012 Author Share Posted March 28, 2012 Here: http://img192.imageshack.us/img192/8923/semttulonnr.png I can't show with other images, with others, quality decreases much more. Link to comment
Aibo Posted March 28, 2012 Share Posted March 28, 2012 1. use power of 2 image sizes like 4, 8,128, 256, any number that is 2^x 2. dont stretch your image, use the same size as it is in photoshop. Link to comment
drk Posted March 28, 2012 Author Share Posted March 28, 2012 1. use power of 2 image sizes like 4, 8,128, 256, any number that is 2^x2. dont stretch your image, use the same size as it is in photoshop. Ok. I will try. Link to comment
drk Posted March 28, 2012 Author Share Posted March 28, 2012 Awesome. I tried with a image with a text and it worked perfectly. 100% good quality Tnx Link to comment
drk Posted March 30, 2012 Author Share Posted March 30, 2012 (edited) But with images, continues the same shit Edited March 30, 2012 by Guest Link to comment
Aibo Posted March 30, 2012 Share Posted March 30, 2012 while 512 is, 386 is not a power of 2. im not an expert in how GPU-related stuff works, but i'll try to explain as i can. there is a "power of 2" rule for texture sizes (hint: google it). since every picture you load into MTA (using DX or GUI functions) is created and stored as a texture, it occupies some space in video memory. and that space uses that "power of 2" sizing. (there's also somethign about mipmapping, but i wouldnt even dare to explain) so, lets say you load a 400 x 386 image: it will occupy a 512x512 "block", since it's the next closest "power of 2" size. and it will be scaled up to fit that block. so now we got 400x386 texture scaled to 512x512. and you'll never get the pixel-perfect original image from that. when you'll draw it with 400x386 size it will be scaled down to that size (again) but the quality was already lost when it was upscaled. and it is blurry and transparency on the edges get fucked up and all that. so to get your images look like they should, you should always create them with "power of 2" sizes. they dont have to be the same for width and height, but both dimensions should be 2^x. like 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, etc Link to comment
drk Posted March 30, 2012 Author Share Posted March 30, 2012 But my friends create images without this "power of 2" rule and the images appears with a good quality Maybe the problem is my pc Need buy a new one Link to comment
Aibo Posted March 30, 2012 Share Posted March 30, 2012 But my friends create images without this "power of 2" rule and the images appears with a good quality pictures or it didnt happen Link to comment
drk Posted March 30, 2012 Author Share Posted March 30, 2012 But my friends create images without this "power of 2" rule and the images appears with a good quality pictures or it didnt happen What? Link to comment
Aibo Posted March 30, 2012 Share Posted March 30, 2012 where's the proof of those images that look perfect with any size? Link to comment
drk Posted March 30, 2012 Author Share Posted March 30, 2012 Ah, I don't understand I don't have any image here and I can't start my server but my friend created a image 500 x 600, png type and it worked perfectly. Link to comment
Aibo Posted March 30, 2012 Share Posted March 30, 2012 well if its all blurry stuff with no alpha, they you wouldnt really notice. anyway i've said all i could, if you dont want to listen — whatever. bye. 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