Search Tools Links Login

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


Visual Basic 6, or VB Classic

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

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.

About this post

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

Categories

Visual Basic 6

Attachments

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


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.