cancel
Showing results for 
Search instead for 
Did you mean: 

Height and Width of an image

Former Member
0 Kudos

Hello All,

I wanted to fnd out the width and the height of an image (.jpg).

Please could anybody let me know if there are any function modules or any other ways to find it out.

Thanks and Regards,

Sushmitha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

I think there is so FMs to find the height and width of the Images , use the external soft like Paint to determine the dimensions of the Images

Former Member
0 Kudos

Hi Vikrant,

I wanted to determine the height and width of the image internally in webdynpro application, after which I can allow them to load.

Thanks in advance,

Sushmitha

Former Member
0 Kudos

Hi Sushmitha,

Are u trying ot upload the Image file through the File UI Upload element or the other methods ?

Regards

Vikranth

Former Member
0 Kudos

Hi Vikrant,

I am using fileupload UI element.

I wanted to determine the height and width of the image internally in webdynpro application, after which I can allow them to save.

Thanks and Regards,

Sushmitha

Edited by: Sushmitha S on Jun 19, 2009 1:49 PM

Former Member
0 Kudos

Hi sushmitha

Try to create an image dymically through the generic class cl_wd_image and bind the source to file upload source and then determine the image dimensions using get_height and get_width methods .

Regards

Vikranth

Former Member
0 Kudos

Hi Vikrant,

I think that will display the element's width and height, not the image's ..

Anyway will try once..

Thanks,

Sushmitha