Texture:getPixelWidth
Gets the width in pixels of the Texture.

DPI scale factor, rather than pixels. Use getWidth for calculations related to drawing the texture (calculating an origin offset, for example), and getPixelWidth only when dealing specifically with pixels, for example when using Canvas:newImageData.
pixelwidth = Texture:getPixelWidth()
pixelwidth number The width of the Texture, in pixels.