Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
This release of the Aspose.Words for Python via .NET API includes a revamped TIFF reader/writer that delivers better performance and compatibility with JPEG and old JPEG compressed images on .NET Standard and .NET 6.
This Python code snippet demonstrates how to utilize various types of TiffCompression:
TiffCompression
from aspose.words import Document, DocumentBuilder, SaveFormat doc = Document() builder = DocumentBuilder(doc) builder.insert_image(IMAGE_DIR + "Tagged Image File Format.tiff") # Create an "ImageSaveOptions" object which we can pass to the document's "save" method # to modify the way in which that method renders the document into an image. options = ImageSaveOptions(SaveFormat.TIFF) # Set the "tiff_compression" property to "TiffCompression.NONE" to apply no compression while saving, # which may result in a very large output file. # Set the "tiff_compression" property to "TiffCompression.RLE" to apply RLE compression # Set the "tiff_compression" property to "TiffCompression.LZW" to apply LZW compression. # Set the "tiff_compression" property to "TiffCompression.CCITT3" to apply CCITT3 compression. # Set the "tiff_compression" property to "TiffCompression.CCITT4" to apply CCITT4 compression. options.tiff_compression = tiff_compression doc.save("ImageSaveOptions.tiff_image_compression.tiff", options)
Source*
HtmlSaveOptions.encoding
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Words for Python via .NET 24.3 Release Notes.