Sign in to follow this  
Followers 0
lookfar

GUICtrlCreatePic supported formats

4 posts in this topic

I'm currently working on the GUICtrlCreatePic function for the FormDesigner and

I could not find a complete reference of the type of image formats supported by the command:

Are *.png;*.tga;*.jpg;*.jpeg;*.bmp;*.ico;*.emf;*.wmf;*.gif all supported ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I think only *.jpg;*.jpeg;*.bmp;*.gif and maybe *.ico are supported, I know *.png is not for a fact. If it is an animated gif then only one frame is shown.

Edited by Burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

I think only *.jpg;*.jpeg;*.bmp;*.gif and maybe *.ico are supported, I know *.png is not for a fact. If it is an animated gif then only one frame is shown.

<{POST_SNAPBACK}>

Ok, thanks.

regarding the FormDesigner as mentioned:

How about loading a *.png (or any other image not supported) and have the ability at the click of a button to convert the image to a AutoIt supported format and place it on the form, would that be usefull?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

It might be... For me the only problems with not having current format's supported is that I can't get the image quality I want. As for your idea above if AutoIt doesn't support it then I simply convert the image to a bitmap or a format that AutoIt does support. Using HTML code /w cwebpage.dll you are able to embed images in a webpage contained in an AutoIt GUI, using this you are able to view images that AutoIt doesn't support, I done this once and was able to use view a *.png, maybe ask DaleHohm or kjactive about it as they know more then me on the subject :).

Edited by Burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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