VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by LJetH (2 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

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

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

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

No comments have been posted about How to get Image Height, Width and Type for JPEG, GIF, PNG & BMP formats. Why not be the first to post a comment about How to get Image Height, Width and Type for JPEG, GIF, PNG & BMP formats.

Post your comment

Subject:
Message:
0/1000 characters