Jump to content

[PIC] Bad pic quality IG


Soldier666

Recommended Posts

Hello again, sorry If I am bothering ya'all with such an stupid questions but as you answered real quick and helped me, I ask myself, why not to ask more. ( To learn faster and to save my time )

So, in my script I've some images that to show in game, they are in .png and quite small. ( around 30x30 px )

The thing is, IG they are totally bad quality but when I look at them not in game, they're just perfect..

Also when I change resolution IG from 1080 to 720, they are high quality. Is there a posibility to make them HQ in highest resolution?

Thanks

Link to comment

All textures and images you use must have a size that is a power of two. 4x4, 8x8, 64x64, 1024x1024 or combinations like 128x1024, 64x256 et cetera. Only then will images appear sharp. In your case, I would make the image 32x32. You don't need to enlarge the image itself, just put the original image with its original size in a new image that is 32x32 and use dxDrawImageSection to only draw the 30x30 part of the image.

Link to comment
All textures and images you use must have a size that is a power of two. 4x4, 8x8, 64x64, 1024x1024 or combinations like 128x1024, 64x256 et cetera. Only then will images appear sharp. In your case, I would make the image 32x32. You don't need to enlarge the image itself, just put the original image with its original size in a new image that is 32x32 and use dxDrawImageSection to only draw the 30x30 part of the image.

Ah, what would I do without u all.

THANK YOU, WORKED.

Link to comment

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