Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: RasterImageMediaConverter
Started by Joshua at 07-16-2008 4:30. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  07-16-2008, 4:30
Joshua is not online. Last active: 12/16/2008 8:29:25 PM Joshua



Top 25 Posts
Joined on 03-12-2008
Munich, Germany
Posts 82
RasterImageMediaConverter
Reply Quote
Hi,

Is are the RasterImageMediaConverter.Convert methods lossless? For example, if I take a RasterImage object containg a DICOM image, call RasterImageMediaConverter.ConvertFrom(), then call RasterImageMediaConverter.ConvertTo() with the result from the first method call, will I have exactly the same pixel data in the RasterImage object?

Also, if I take a RasterImage image, covert it to a WPF BitmapSource, combine it with another image (I am aware that there are LeadTools functions to do image combination but my particular situation makes it far more attractive to use the WPF methods), then convert it back to a RasterImage object will I loose quality? Is there anything else imporant that will be done to my image that I need to think about?

Josh.

   Report 
  07-16-2008, 10:48
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 311
Re: RasterImageMediaConverter
Reply Quote
This depends on the image attributes, most importantly the pixel depth. Some formats supported by LEADTOOLS are not supported by WPF, at least not on all platforms. For details about which formats are supported by WPF, please refer to Microsoft documentation.
Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » DotNet » WPF » Re: RasterImageMediaConverter

Powered by Community Server, by Telligent Systems