sstanfie Posted September 19, 2006 Share Posted September 19, 2006 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. Link to comment Share on other sites More sharing options...
GaryFrost Posted September 19, 2006 Share Posted September 19, 2006 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. Link to comment Share on other sites More sharing options...
sstanfie Posted September 20, 2006 Author Share Posted September 20, 2006 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. Link to comment Share on other sites More sharing options...
Richard Robertson Posted September 20, 2006 Share Posted September 20, 2006 PNG should be supported. Did you try a PNG with no transparency? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now