VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

How to get Image Height, Width and Type for JPEG, GIF, PNG & BMP formats

LJetH  (2 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This function returns the height, width and image type of an image that is either JPEG, GIF, PNG or BMP.
The code looks horribly mangled on the web browser so I've zipped it into a nice clean text file.

Inputs
. '- A string containing the image's file name. '- A type var for passing back the height, width. '- A string for passing back the image type as a 3 letter description.

Returns
. '- The image height and width in a type var. '- The image description as a string.

Rate How to get Image Height, Width and Type for JPEG, GIF, PNG & BMP formats (6(6 Vote))

Download How to get Image Height, Width and Type for JPEG, GIF, PNG & BMP formats

How to get Image Height, Width and Type for JPEG, GIF, PNG & BMP formats Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters