This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, July 3, 2007 6:42:09 AM(UTC)
Groups: Registered
Posts: 29
Hi ALL,
Anyone know how can i capture a frame/still image from a video played by the LTMMPlay Control (when i pause the video at certain frame) ? The captured image will then be added some annotation and save it to file.
#2
Posted
:
Tuesday, July 3, 2007 11:11:37 PM(UTC)
Groups: Registered
Posts: 29
I am using LeadTool 15 + Multimedia SDK. I am planning to use the LeadTool to capture clip from capture card/webcam. Then we can then have play control to pause the clip and capture the best still image/instance.
What is the best way to capture a still image/ frame from LEADTOOL Play Control?
Is possible to add annotation on the captured image?
#3
Posted
:
Sunday, July 8, 2007 4:12:23 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can use one of the
following methods (all members of ltmmPlay):
GetStillDIB
GetStillPicture
SaveStillBitmap
SaveStillDIB
About adding annotations, if
you mean drawing on the bitmap itself (modifying its pixel data), you can do
that using our LEADTOOLS imaging toolkits or using Windows GDI functions.
If you mean you want to draw annotation objects and store
them independent of the image's pixel data, you can do that using LEADTOOLS
Document Imaging toolkits.
#4
Posted
:
Monday, July 9, 2007 1:23:21 AM(UTC)
Groups: Registered
Posts: 29
Thank for your reply.
Actually i have tried the following methods, but "LTMM Error: Not Implemented" is return:
GetStillPicture
SaveStillBitmap
I am using Visual Studio 2005.Net and LEADTOOL Multimedia SDK 15. Grateful if you can provide any solution.
I am trying the Video CallBack Filter now.
For the annotation part, i want to add some text object on the still image and i am trying the AnnTextObject.
Howerver, I don't how to control the location/position of the annotation object.
#5
Posted
:
Tuesday, July 10, 2007 6:59:23 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Our multimedia Player demo uses
the GetStillPicture method in the Edit => Copy menu. Please try this demo
and see if it works at your side.
About controlling the annotation location, Depends on
type of object. For example, objects that have 4 points (rectangles, Text,
ellipses, etc.) have the Bounds property that determines their location. Other
types of objects have other properties for that.
#6
Posted
:
Wednesday, July 11, 2007 1:54:53 AM(UTC)
Groups: Registered
Posts: 29
How to save the image with annotation to file?
#7
Posted
:
Thursday, July 12, 2007 1:01:15 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
With the TIFF file format, you
can save the annotations in a tag in the TIFF file itself.
With other formats, you can't
embed the annotations in the file itself, but you can save them in a separate
file usually named similar to the image itself but with a .ANN extension.
Please read the help topics about the AnnCodecs.Save
Method and AnnCodecs.SaveToTag Method.
#8
Posted
:
Friday, July 13, 2007 2:00:35 AM(UTC)
Groups: Registered
Posts: 3
Hi. I think my example attached as LeadMultimedia_Play_SnapAndSaveFrame.zip can help you. I use Multimedia 14.5 and RasterImagePro 14.5. Poul Gade
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.