Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Monday, September 7, 2009 4:24:52 AM(UTC)

Groups: Registered
Posts: 2

I have changed GenerateAVI example to process a folder of TIF images. Images are 1024x1024. Instead of LEAD MCMP/MJPEG Codec (2.0) I use LEAD MPEG2 Encoder (3.0).

When I don't set TargetFormat of the Convert object, I get AVI file with image of 1024x1024, just as expected.

But if I add line:

ltmmConvert.TargetFormat = (int)ltmmConvert_TargetFormat.ltmmConvert_TargetFormat_MPEG2_DICOM;

I get valid DICOM file, but with 640x480 image size. File sizes differ accordingly.

Is there any way I can force some other image size with MPEG2_DICOM?

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, September 7, 2009 11:05:55 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

The MPEG2 compression has standard video sizes. When you convert your files to MPEG2_DICOM format, the standard sizes are 640x480 (with aspect Ratio 4:3) or 720x405 (with aspect Ratio 16:9).

Maen Badwan
LEADTOOLS Technical Support
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.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.049 seconds.