-
There might a control or two on the market that do that, but i think they require that the image be loaded as well, so i don't think you'll be able to do that.
-
You don't need an extra control to know the size of the picture if you need it loaded. Once you get your picture loaded on a picturebox you can know its size.
-
But he said that he DIDN'T want to load the image......
-
I know that... but you said about extra controls which needs the image to be loaded. So, why would you use an extra control if you can do the same with a picturebox?
-
hehe, tnx anyways
sounds like LoadImage is as slow as LoadPicture if you want to load the whole image:mad:
thank anyways:cool:
-
I dont know how to do it but i think that it must be possible somehow.. ie when u right click on a pic and get the properties (in Internet Explorer) it gives u the pic dimensions whether or not they were set in html. Now, maybe there is some processing of the pic in the background or maybe it somehow reads the file header information. I would assume that each type of pic stores the dimensions somewhere at the start of the file. Maybe some graphicky person knows this...