Search Tools Links Login

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

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.

Original Author: LJetH


'- 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.


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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 70 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 1,698 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.