Jump to content

jpg instead of png


Grievous

Recommended Posts

I tried using jpg instead of png for a gui image.

When I try the gui doesn't load. Do I need to do something different for jpgs?

picture = guiCreateStaticImage( 0.8, 0.55, 0.15, 0.4, "skins/Skinid109.jpg", true, gamemm )
guiSetVisible( picture, true)

This is in my meta.xml

<file src="skins/Skinid109.jpg" />

It works fine as long as I use png files.

Do jpg's not work in gui? I've seen them used elsewhere.

Any help would be greatly apperciated. :D

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...