Thread: jpg texture?
View Single Post
03-21-19, 07:13 AM   #1
wille480
A Wyrmkin Dreamwalker
Join Date: Jan 2017
Posts: 56
jpg texture?

Hello, So i am trying to set a texture frame to a .jpg image file beside my frame. Is there something special i have to do? With my current code it only displays a green box where the image should be at.

Lua Code:
  1. local tec = k:CreateTexture(nil,"OVERLAY")
  2.     tec:SetPoint("RIGHT")
  3.     tec:SetSize(50,50)
  4.     tec:SetTexture("C:\\Program Files (x86)\\World of Warcraft\\_retail_\\Interface\\AddOns\\ownAddon\\icons\\fear.jpg")

this is how it looks: https://gyazo.com/05493ffe4b4c163bd86e5613c2a159df

Last edited by wille480 : 03-21-19 at 07:21 AM.
  Reply With Quote