Code:
local addon = CreateFrame("Frame", "Base2", UIParent)
addon:SetHeight(128)
addon:SetWidth(128)
addon:SetUserPlaced(true)
addon:SetPoint("Center", 100, 0)
local tex = addon:CreateTexture(nil, "ARTWORK")
tex:SetTexture(file)
tex:SetAllPoints(addon)
tex:SetRotation(math.rad(90))
Rotated it 90 degrees but skews the image slightly, any idea why?
The height and width are the same are they not?
So I assume this shouldn't happen... : /