I there an API function I can call that will tell me the pixel dimensions of a jpeg?
I was thinking along the lines of a 'GetMetrics' type thang, but I can't find anything around...
Could anyone help please?
Mafro
Printable View
I there an API function I can call that will tell me the pixel dimensions of a jpeg?
I was thinking along the lines of a 'GetMetrics' type thang, but I can't find anything around...
Could anyone help please?
Mafro
Its not even that complicated... just load the picture into a PictureBox, have the AutoSize property set to True, and the ScaleMode property set to Pixels. Then just get the ScaleWidth and ScaleHeight of the PictureBox.