Parameter is not valid. when saving to TIFF

Last post 02-12-2012, 11:19 AM by awais.hafeez. 1 replies.
Sort Posts: Previous Next
  •  02-10-2012, 5:37 PM 360837

    Parameter is not valid. when saving to TIFF .NET

    Attachment: Present (inaccessible)

    when i fill the attached dot (filled dox attached also) and try to save to a tiff it throws a "parameter is not valid". using Ver 10.1.0.0, also why is there no 1 bit .PixelFormat?

    thanks, tack

    Dim so As New Aspose.Words.Saving.ImageSaveOptions(Aspose.Words.SaveFormat.Tiff) so.Resolution = 300

    so.PageIndex = i

    so.PageCount = 1

    so.TiffCompression = Aspose.Words.Saving.TiffCompression.Ccitt4

    docTIF.Save(fileNameTif, so) 'throws exception

     
  •  02-12-2012, 11:19 AM 360887 in reply to 360837

    Re: Parameter is not valid. when saving to TIFF

    Hi Tom,

    Thanks for your inquiry.

    I was unable to reproduce this exception on my side. I would suggest you please upgrade to the latest version of Aspose.Words i.e. v11.0.0. Moreover, please read the following article on How-to: Migrate to Aspose.Words 10.5 or Higher:

    Moreover, in case you want the pages of the document to be rendered as black and white images, please try using ImageColorMode property .  

    I hope, this will help.

    Best Regards,

    Awais Hafeez
    Support Developer
    Aspose Sialkot Team
    Aspose - Your File Format Experts

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML