Detailed question: http://stackoverflow.com/questions/42588340/texture-quality-world-of-warcraft-vanilla.
Is there anyway to have a perfect texture in-game that is exactly like the original PNG image?
Not only close enough but actually match every single pixel without a little bit of quality loss.
local Frame = CreateFrame("Frame")
Frame:SetPoint("CENTER", 0, 0)
Frame:SetWidth(82)
Frame:SetHeight(82)
local Texture = Frame:CreateTexture()
Texture:SetAllPoints()
-- 82 / 128 = 0.640625
Texture:SetTexture("Interface\\AddOns\\MyAddOn\\image.tga") -- .blp .tga
Texture:SetTexCoord(0, 0.640625, 0, 0.640625)
PNG image.
TGA in-game screenshot (it looks that way, no quality loss from my screenshot method).