Jump to content

Recommended Posts

Posted

Hello. Although I've been using AutoIt for a few years, I've never used GUI forms... all script based. I want to display an .png on a form. I guess I'd use GUICtrlCreatePic?

When I try to use my .png (which was an .ico that I converted to .png), the picture does not appear. But, if I use a totally different graphic which is a .jpg or .gif it displays fine.

Can I not use .png in forms? Or is it because the .png has transparency?

Thank you in advance for your help.

Posted

Hello. Although I've been using AutoIt for a few years, I've never used GUI forms... all script based. I want to display an .png on a form. I guess I'd use GUICtrlCreatePic?

When I try to use my .png (which was an .ico that I converted to .png), the picture does not appear. But, if I use a totally different graphic which is a .jpg or .gif it displays fine.

Can I not use .png in forms? Or is it because the .png has transparency?

Thank you in advance for your help.

Far as I know Portable Network Graphics won't work, jpg, bmp, ico not sure what other formats are supported.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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
×
×
  • Create New...