Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 28th, 2004, 06:10 AM
Authorized User
 
Join Date: Jun 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saving a frame to jpg

Hello,

I have an application that shows 2 videos with 2 windows media player controls. When I stop one of the the other stops (they are synchronized). I need to save to jpg the image shown in the video on that exact time.

I don't know how I can do it. Can anyone tell me how to, or at least give me a clue?

Elisa Resina
__________________
Elisa Resina
 
Old May 5th, 2004, 03:58 AM
Authorized User
 
Join Date: Apr 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quick and dirty:
capture the screen (e.g. http://www.kbalertz.com/Feedback_210108.aspx) and dissect your pictures by BitBlt on new memory DCs. Download Intel JPEG library, find out the VB module for it (I have seen it somewhere) and save as JPEG from the memory. I personally preffer using FreeImage API instead of WinAPi whenever possible.

http://www.scisoft.cz





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set one frame src from other frame akumarp2p ASP.NET 1.x and 2.0 Application Design 2 March 13th, 2007 04:13 AM
parsing form data from frame to other frame audio-catalyst Classic ASP Basics 5 January 3rd, 2006 02:57 PM
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM
EXCEL question saving a file saving the the first macupryk VS.NET 2002/2003 0 January 6th, 2005 05:33 PM
Refresh a frame from another frame czambran Javascript 3 October 21st, 2004 11:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.