winzip icon

InView - Image viewer for Windows

Submitted on: 6/19/2020 5:08:31 PM
By: Damians 
Level: Intermediate
User Rating: Unrated
Compatibility: VB 5.0, VB 6.0
Views: 2516

*** UPDATE ***

There is a new .NET version here:

InView - The .NET Image Viewer

I've resumed an old project back from 2016. With a few changes now the application does work also on Windows 10.

This is an image viewer with minimalistic UI (just a shortcuts menu) and interesting features: zoom with mouse wheel and centered on the mouse pointer, zoom with a rectangle, load and display several images at the same time (multiple windows, just drag & drop the files), pan, rotation of 90°, pixel color info, copy and paste, mouse coordinates, crop the image (with zoom rect+copy and paste), flip horizontal and vertical.

Supported formats (single image): bmp, cur, emf, gif, ico, jpg, png, tif, wmf.

The application implements a simple double buffer drawing system for the image with a hidden picture box.

For the other graphics it uses the "standard" VB6 double buffer: AutoRedraw = True on the form.

In this way there are two independent drawing "layers": one for the background (image) and one for the foreground (other graphics).

Futhermore, the drawing routine is optimized to draw only the visible part of the image on the screen.

Fully portable, only the exe is required. The .manifest file is optional and is needed only if you want to inherit the display settings from the installed Windows version.

winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Other 1 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

 There are no comments on this submission.

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.