wolf83 Posted February 17, 2005 Posted February 17, 2005 First of all i'm happy to see the official GUI version. Very good job I need some help on picture file and Autoit. SplashImageOn function and the GUIctrlCreatePic don't keep the original size of a picture. How to determine original width and height of a picture ? I need this because, i want o do a little picture viewer. thanks Wolf
jpm Posted February 17, 2005 Posted February 17, 2005 First of all i'm happy to see the official GUI version. Very good job I need some help on picture file and Autoit.SplashImageOn function and the GUIctrlCreatePic don't keep the originalsize of a picture. How to determine original width and height of a picture ? I need this because, i want o do a little picture viewer. thanksWolf<{POST_SNAPBACK}>Yes you can keep the original with GUIctrlCreatePic , just look at what the doc say (w=0,h=0)
SlimShady Posted February 17, 2005 Posted February 17, 2005 What jpm said worked for me. The only thing that makes me sad: You can't create a GUI with the size of the image. Because we don't know the size of the image in advance, this won't work. Idea: GetImageSize($sImageFile)
Helge Posted February 17, 2005 Posted February 17, 2005 What jpm said worked for me.The only thing that makes me sad:You can't create a GUI with the size of the image.Because we don't know the size of the image in advance, this won't work.Idea:GetImageSize($sImageFile)<{POST_SNAPBACK}>That's already available.http://www.autoitscript.com/fileman/users/public/Lazycat/_GetImageSize($file)
wolf83 Posted February 18, 2005 Author Posted February 18, 2005 (edited) Yes you can keep the original with GUIctrlCreatePic , just look at what the doc say (w=0,h=0) <{POST_SNAPBACK}>Ok i miss this info in the help file :"> It could be better to do original size by default, more logical no ? For SplashImageON this is not possible, could be better by default too, oruse the same possibility of GUIctrlCreatePic. But for the moment _GetImageSize($file) from Lazycat's give mea workaround Thanks jpm and Helge Edited February 18, 2005 by wolf83
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