Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Jb2Encoder

Last post 08 Jul 2009, 1:17 PM by loufranco. 1 replies.
Sort Posts: Previous Next
  •  26 Jun 2009, 2:58 AM 18723

    Jb2Encoder

    Hi,

    I'm working on jb2

    When I debug the following code, I run into the error "Cannot convert type Jb2Encoder to Atalasoft.Imaging.Codec.ImageEncoder"

    using Atalasoft.Imaging.Codec.Jbig2
    ...
    AtalaImage image =
    new AtalaImage("image.tif");
    image.Save(
    "image.jb2", new Jbig2Encoder(Jb2EncodingMode.Lossy), null);

    I get this code from http://www.atalasoft.com/products/DotImage/Docs/Atalasoft.dotImage.Jbig2~Atalasoft.Imaging.Codec.Jbig2.Jb2Encoder.html

    but it does not work. what could the problem be?

     

     

    Filed under: , ,
  •  08 Jul 2009, 1:17 PM 18801 in reply to 18723

    Re: Jb2Encoder

    image.Save("image.jb2", new Jbig2Encoder(Jb2EncodingMode.Lossy), null);

    should be 

    image.Save("image.jb2", new Jb2Encoder(Jb2EncodingMode.Lossy), null); 

     I will correct the documentation. Thank you for reporting this.

View as RSS news feed in XML