The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MASM32 Downloads
Home
Help
Search
Login
Register
The MASM Forum
»
Members Gallery
»
Showcase
»
Image and video viewer
« previous
next »
Print
Pages: [
1
]
Author
Topic: Image and video viewer (Read 2850 times)
jj2007
Member
Posts: 13871
Assembly is fun ;-)
Image and video viewer
«
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
.
Logged
Masm32 Tips, Tricks and Traps
hutch--
Administrator
Member
Posts: 10572
Mnemonic Driven API Grinder
Re: Image and video viewer
«
Reply #1 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.
Logged
hutch at movsd dot com
http://www.masm32.com
jj2007
Member
Posts: 13871
Assembly is fun ;-)
Re: Image and video viewer
«
Reply #2 on:
May 21, 2020, 11:26:51 PM »
No special filter, just ordinary gdiplus.
Logged
Masm32 Tips, Tricks and Traps
Siekmanski
Member
Posts: 2698
Re: Image and video viewer
«
Reply #3 on:
May 21, 2020, 11:37:22 PM »
Works Ok here also.
Logged
Creative coders use backward thinking techniques as a strategy.
Vortex
Member
Posts: 2768
Re: Image and video viewer
«
Reply #4 on:
May 22, 2020, 12:11:21 AM »
Hi Jochen,
Works fine on Windows 10 64-bit.
Logged
jj2007
Member
Posts: 13871
Assembly is fun ;-)
Re: Image and video viewer
«
Reply #5 on:
May 22, 2020, 11:31:58 AM »
Thanks for the feedback
Logged
Masm32 Tips, Tricks and Traps
hutch--
Administrator
Member
Posts: 10572
Mnemonic Driven API Grinder
Re: Image and video viewer
«
Reply #6 on:
May 24, 2020, 01:17:17 PM »
I should have added, the zooming technique is very impressive.
Logged
hutch at movsd dot com
http://www.masm32.com
jj2007
Member
Posts: 13871
Assembly is fun ;-)
Re: Image and video viewer
«
Reply #7 on:
May 24, 2020, 07:34:56 PM »
Thanks, Hutch
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?
Logged
Masm32 Tips, Tricks and Traps
Print
Pages: [
1
]
« previous
next »
The MASM Forum
»
Members Gallery
»
Showcase
»
Image and video viewer