Skip to content

Commit 8e5f224

Browse files
author
Evgeniy Sidenko
committed
Release Aspose.Imaging for Python via .NET 25.5
1 parent 3a85abe commit 8e5f224

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Examples/src/modifyingandconvertingimages/cdr/CdrToPsdMultipageExample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_data_root_dir_local():
3434
options.multi_page_options.merge_layers = True
3535
# Set rasterization options for file format
3636
options.vector_rasterization_options = image.get_default_options(
37-
[Color.white, image.width, image.height]).vector_rasterization_options
37+
[Color.white, image.width, image.height]).vector_rasterization_options
3838
options.vector_rasterization_options.text_rendering_hint = TextRenderingHint.SINGLE_BIT_PER_PIXEL
3939
options.vector_rasterization_options.smoothing_mode = SmoothingMode.NONE
4040
image.save(out_file, options)

Examples/src/modifyingandconvertingimages/cmx/CmxToPdfExample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def get_data_root_dir_local():
3030
options = PdfOptions()
3131
options.pdf_document_info = PdfDocumentInfo()
3232
# Set rasterization options for fileformat
33-
options.vector_rasterization_options = image.get_default_options([Color.white, image.width, image.height]).vector_rasterization_options
33+
options.vector_rasterization_options = image.get_default_options([Color.white, image.width, image.height]).vector_rasterization_options
3434
options.vector_rasterization_options.text_rendering_hint = TextRenderingHint.SINGLE_BIT_PER_PIXEL
3535
options.vector_rasterization_options.smoothing_mode = SmoothingMode.NONE
3636
image.save(out_file, options)

0 commit comments

Comments
 (0)