Sign in to follow this  
Followers 0
sstanfie

.PNGs and forms

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

 

Share this post


Link to post
Share on other sites

Good to know. Thank you.

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

Share this post


Link to post
Share on other sites

PNG should be supported. Did you try a PNG with no transparency?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0