Quantcast jpg texture? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Graphics Help » jpg texture?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off