The MASM Forum

Members Gallery => Showcase => Topic started by: jj2007 on May 21, 2020, 10:25:56 PM

Title: Image and video viewer
Post by: jj2007 on May 21, 2020, 10:25:56 PM
Attached a simple but fast image viewer. It handles animated GIF and multiframe TIFF images, too.

- use the mousewheel to zoom in and out
- arrow left/right move the (zoomed) image
- same for Shift arrow up/down
- arrow up/down selects the next image

It plays videos, too: arrow right starts the play, arrow left stops it. Arrow up/down is for speed.

This was built with the latest MasmBasic of 21 May 2020 (http://masm32.com/board/index.php?topic=94.0).
Title: Re: Image and video viewer
Post by: hutch-- on May 21, 2020, 11:15:53 PM
Works OK here, did you use some form of smoothing filter on it ? I tested it with a 64k JPG.
Title: Re: Image and video viewer
Post by: jj2007 on May 21, 2020, 11:26:51 PM
No special filter, just ordinary gdiplus.
Title: Re: Image and video viewer
Post by: Siekmanski on May 21, 2020, 11:37:22 PM
Works Ok here also.
Title: Re: Image and video viewer
Post by: Vortex on May 22, 2020, 12:11:21 AM
Hi Jochen,

Works fine on Windows 10 64-bit. :thumbsup:
Title: Re: Image and video viewer
Post by: jj2007 on May 22, 2020, 11:31:58 AM
Thanks for the feedback :thup:
Title: Re: Image and video viewer
Post by: hutch-- on May 24, 2020, 01:17:17 PM
I should have added, the zooming technique is very impressive.
Title: Re: Image and video viewer
Post by: jj2007 on May 24, 2020, 07:34:56 PM
Thanks, Hutch :thumbsup:

What I find more impressive is how fast it loads, and how fast it displays images. Or rather: I am deeply impressed by the extreme slowness of the official Micros**t viewer. What is their secret, how can they slow down so much a simple viewer that doesn't even use the anti-aliasing of GdiPlus?