Skip to content

Commit 9502bc1

Browse files
author
Samer El-Khatib
committed
Merge branch 'main' into production
2 parents 1e6505a + 4fbd58b commit 9502bc1

File tree

39 files changed

+416
-88
lines changed

39 files changed

+416
-88
lines changed

english/java/com.aspose.imaging.fileformats.bmp/bmpimage/_index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can effortlessly handle Bitmap (BMP) and Device Independent Bitmap (DIB) fil
2424
| [BmpImage(RasterImage rasterImage)](#BmpImage-com.aspose.imaging.RasterImage-) | Effortlessly create a new instance of the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class by initializing it with a RasterImage object. |
2525
| [BmpImage(RasterImage rasterImage, int bitsPerPixel, long compression, double horizontalResolution, double verticalResolution)](#BmpImage-com.aspose.imaging.RasterImage-int-long-double-double-) | Start working with the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class seamlessly by creating a new instance using a rasterImage along with specified parameters like bitsPerPixel and compression. |
2626
| [BmpImage(int width, int height)](#BmpImage-int-int-) | Start using the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class effortlessly by creating a new instance with specified width and height parameters. |
27-
| [BmpImage(int width, int height, int bitsPerPixel, IColorPalette palette)](#BmpImage-int-int-int-com.aspose.imaging.IColorPalette-) | Begin using the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class seamlessly by initializing a new instance with parameters such as width, height, bit depth, and palette. |
27+
| [BmpImage(int width, int height, int bitsPerPixel, IColorPalette palette)](#BmpImage-int-int-int-com.aspose.imaging.IColorPalette-) | Begin using the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class seamlessly by initializing a new instance with parameters such as width, height, bit-depth, and palette. |
2828
| [BmpImage(int width, int height, int bitsPerPixel, IColorPalette palette, long compression, double horizontalResolution, double verticalResolution)](#BmpImage-int-int-int-com.aspose.imaging.IColorPalette-long-double-double-) | Effortlessly create a new instance of the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class with this constructor, specifying parameters like width, height, bitsPerPixel, and palette. |
2929
## Methods
3030

@@ -274,7 +274,7 @@ public BmpImage(int width, int height, int bitsPerPixel, IColorPalette palette)
274274
```
275275

276276

277-
Begin using the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class seamlessly by initializing a new instance with parameters such as width, height, bit depth, and palette. Perfect for developers seeking a straightforward way to create BmpImage objects with custom dimensions and color configurations, ensuring flexibility and efficiency in their projects.
277+
Begin using the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) class seamlessly by initializing a new instance with parameters such as width, height, bit-depth, and palette. Perfect for developers seeking a straightforward way to create BmpImage objects with custom dimensions and color configurations, ensuring flexibility and efficiency in their projects.
278278

279279
**Parameters:**
280280
| Parameter | Type | Description |

english/java/com.aspose.imaging.fileformats.gif/gifimage/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public GifImage(GifFrameBlock firstFrame)
187187
```
188188

189189

190-
Crafting GIF images becomes effortless with the [GifImage](../../com.aspose.imaging.fileformats.gif/gifimage) constructor. With just the firstFrame parameter, it enters in a world of dynamic visual communication.
190+
Crafting GIF images becomes effortless with the [GifImage](../../com.aspose.imaging.fileformats.gif/gifimage) constructor. With just the firstFrame parameter, it enters a world of dynamic visual communication.
191191

192192
**Parameters:**
193193
| Parameter | Type | Description |

english/java/com.aspose.imaging.imageoptions/svgrasterizationoptions/_index.md

+14
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The SVG rasterization options.
2626
| [setScaleX(float value)](#setScaleX-float-) | Gets or sets the scale x. |
2727
| [getScaleY()](#getScaleY--) | Gets or sets the scale y. |
2828
| [setScaleY(float value)](#setScaleY-float-) | Gets or sets the scale y. |
29+
| [copyTo(VectorRasterizationOptions vectorRasterizationOptions)](#copyTo-com.aspose.imaging.imageoptions.VectorRasterizationOptions-) | Copies this instance to `vectorRasterizationOptions`. |
2930
### SvgRasterizationOptions() {#SvgRasterizationOptions--}
3031
```
3132
public SvgRasterizationOptions()
@@ -156,3 +157,16 @@ try {
156157
}
157158
```
158159

160+
### copyTo(VectorRasterizationOptions vectorRasterizationOptions) {#copyTo-com.aspose.imaging.imageoptions.VectorRasterizationOptions-}
161+
```
162+
public void copyTo(VectorRasterizationOptions vectorRasterizationOptions)
163+
```
164+
165+
166+
Copies this instance to `vectorRasterizationOptions`.
167+
168+
**Parameters:**
169+
| Parameter | Type | Description |
170+
| --- | --- | --- |
171+
| vectorRasterizationOptions | [VectorRasterizationOptions](../../com.aspose.imaging.imageoptions/vectorrasterizationoptions) | The vector rasterization options. |
172+

english/java/com.aspose.imaging.imageoptions/vectorrasterizationoptions/_index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The vector rasterization options. Please note that `VectorRasterizationOptions`(
4747
| [setPositioning(int value)](#setPositioning-int-) | Sets the positioning. |
4848
| [getReplaceTextMapping()](#getReplaceTextMapping--) | Gets the text replace mapping. |
4949
| [setReplaceTextMapping(HashMap<String,String> value)](#setReplaceTextMapping-java.util.HashMap-java.lang.String-java.lang.String--) | Sets the text replace mapping. |
50-
| [copyTo(VectorRasterizationOptions vectorRasterizationOptions)](#copyTo-com.aspose.imaging.imageoptions.VectorRasterizationOptions-) | Copies to. |
50+
| [copyTo(VectorRasterizationOptions vectorRasterizationOptions)](#copyTo-com.aspose.imaging.imageoptions.VectorRasterizationOptions-) | Copies this instance to `vectorRasterizationOptions`. |
5151
### VectorRasterizationOptions() {#VectorRasterizationOptions--}
5252
```
5353
public VectorRasterizationOptions()
@@ -513,7 +513,7 @@ public void copyTo(VectorRasterizationOptions vectorRasterizationOptions)
513513
```
514514

515515

516-
Copies to.
516+
Copies this instance to `vectorRasterizationOptions`.
517517

518518
**Parameters:**
519519
| Parameter | Type | Description |

english/java/com.aspose.imaging/buildversioninfo/_index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Provides information about the current product name and version.
2121
| [FILE_VERSION](#FILE-VERSION) | Gets the file version number. |
2222
| [PRODUCT](#PRODUCT) | Gets the product name. |
2323
| [PRODUCT_MAJOR](#PRODUCT-MAJOR) | Gets the product major version. |
24-
| [PRODUCT_MINOR](#PRODUCT-MINOR) | Gets the the product minor version. |
25-
| [PRODUCT_HOTFIX](#PRODUCT-HOTFIX) | Gets the the product hotfix version. |
24+
| [PRODUCT_MINOR](#PRODUCT-MINOR) | Gets the product minor version. |
25+
| [PRODUCT_HOTFIX](#PRODUCT-HOTFIX) | Gets the product hotfix version. |
2626
| [RELEASE_DATE](#RELEASE-DATE) | Gets the date of release. |
2727
### ASSEMBLY_VERSION {#ASSEMBLY-VERSION}
2828
```
@@ -62,15 +62,15 @@ public static final int PRODUCT_MINOR
6262
```
6363

6464

65-
Gets the the product minor version.
65+
Gets the product minor version.
6666

6767
### PRODUCT_HOTFIX {#PRODUCT-HOTFIX}
6868
```
6969
public static final int PRODUCT_HOTFIX
7070
```
7171

7272

73-
Gets the the product hotfix version.
73+
Gets the product hotfix version.
7474

7575
### RELEASE_DATE {#RELEASE-DATE}
7676
```

english/net/aspose.imaging.fileformats.tiff.filemanagement/tiffstreamreader/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ url: /net/aspose.imaging.fileformats.tiff.filemanagement/tiffstreamreader/
1111
The tiff stream for handling little endian tiff file format.
1212

1313
```csharp
14-
public class TiffStreamReader : #=zb2Mrt7vGPd7IrvU_M9X8O$BT1KdS801QdWuFTOJW1bU5YMQ9FCDoLQ0=
14+
public class TiffStreamReader : #=zD8nCErM2ufJVcHvIefbcz4o4KKexz6e3MTm4W4zC$DvvqyawEzSKrro=
1515
```
1616

1717
## Constructors

english/net/aspose.imaging.fileformats.tiff.filemanagement/tiffstreamwriter/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ url: /net/aspose.imaging.fileformats.tiff.filemanagement/tiffstreamwriter/
1111
The Tiff stream writer.
1212

1313
```csharp
14-
public class TiffStreamWriter : #=zb2Mrt7vGPd7IrvU_M9X8O$BT1KdS801QdWuFTOJW1bU5YMQ9FCDoLQ0=
14+
public class TiffStreamWriter : #=zD8nCErM2ufJVcHvIefbcz4o4KKexz6e3MTm4W4zC$DvvqyawEzSKrro=
1515
```
1616

1717
## Constructors

english/net/aspose.imaging.imageoptions/cdrrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class CdrRasterizationOptions : VectorRasterizationOptions
5555
| Name | Description |
5656
| --- | --- |
5757
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
58-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
58+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5959
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
6060

6161
### See Also

english/net/aspose.imaging.imageoptions/cmxrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class CmxRasterizationOptions : VectorRasterizationOptions
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
### See Also

english/net/aspose.imaging.imageoptions/epsrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class EpsRasterizationOptions : VectorRasterizationOptions
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
### See Also

english/net/aspose.imaging.imageoptions/metafilerasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public abstract class MetafileRasterizationOptions : VectorRasterizationOptions
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
### See Also

english/net/aspose.imaging.imageoptions/odgrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class OdgRasterizationOptions : OdRasterizationOptions
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
## Examples

english/net/aspose.imaging.imageoptions/odrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class OdRasterizationOptions : VectorRasterizationOptions
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
### See Also

english/net/aspose.imaging.imageoptions/otgrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class OtgRasterizationOptions : OdRasterizationOptions
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
## Examples

english/net/aspose.imaging.imageoptions/svgrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class SvgRasterizationOptions : VectorRasterizationOptions
5555
| Name | Description |
5656
| --- | --- |
5757
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
58-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
58+
| override [CopyTo](../../aspose.imaging.imageoptions/svgrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5959
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
6060

6161
### See Also
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: SvgRasterizationOptions.CopyTo
3+
second_title: Aspose.Imaging for .NET API Reference
4+
description: SvgRasterizationOptions method. Copies this instance to vectorRasterizationOptions
5+
type: docs
6+
weight: 40
7+
url: /net/aspose.imaging.imageoptions/svgrasterizationoptions/copyto/
8+
---
9+
## SvgRasterizationOptions.CopyTo method
10+
11+
Copies this instance to *vectorRasterizationOptions*.
12+
13+
```csharp
14+
public override void CopyTo(VectorRasterizationOptions vectorRasterizationOptions)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| vectorRasterizationOptions | VectorRasterizationOptions | The vector rasterization options. |
20+
21+
### See Also
22+
23+
* class [VectorRasterizationOptions](../../vectorrasterizationoptions/)
24+
* class [SvgRasterizationOptions](../)
25+
* namespace [Aspose.Imaging.ImageOptions](../../svgrasterizationoptions/)
26+
* assembly [Aspose.Imaging](../../../)
27+
28+

english/net/aspose.imaging.imageoptions/vectorrasterizationoptions/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class VectorRasterizationOptions : ImageOptionsBase
5353
| Name | Description |
5454
| --- | --- |
5555
| virtual [Clone](../../aspose.imaging/imageoptionsbase/clone/)() | Creates a memberwise clone of this instance. |
56-
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies to. |
56+
| virtual [CopyTo](../../aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/)(VectorRasterizationOptions) | Copies this instance to *vectorRasterizationOptions*. |
5757
| [Dispose](../../aspose.imaging/disposableobject/dispose/)() | Disposes the current instance. |
5858

5959
### See Also

english/net/aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/_index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: VectorRasterizationOptions.CopyTo
33
second_title: Aspose.Imaging for .NET API Reference
4-
description: VectorRasterizationOptions method. Copies to
4+
description: VectorRasterizationOptions method. Copies this instance to vectorRasterizationOptions
55
type: docs
66
weight: 140
77
url: /net/aspose.imaging.imageoptions/vectorrasterizationoptions/copyto/
88
---
99
## VectorRasterizationOptions.CopyTo method
1010

11-
Copies to.
11+
Copies this instance to *vectorRasterizationOptions*.
1212

1313
```csharp
1414
public virtual void CopyTo(VectorRasterizationOptions vectorRasterizationOptions)

english/python-net/aspose.imaging.fileformats.cdr.objects/cdrtransforms/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ url: /python-net/aspose.imaging.fileformats.cdr.objects/cdrtransforms/
2323
| disposed | bool | r | Gets a value indicating whether this instance is disposed. |
2424
| document | [CdrDocument](/imaging/python-net/aspose.imaging.fileformats.cdr.objects/cdrdocument) | r/w | Gets or sets the document. |
2525
| parent | [CdrObjectContainer](/imaging/python-net/aspose.imaging.fileformats.cdr.objects/cdrobjectcontainer) | r/w | Gets or sets the parent. |
26-
| transforms | System.Collections.Generic.List<Matrix> | r/w | Gets or sets the transforms. |
26+
| transforms | list[Matrix] | r/w | Gets or sets the transforms. |
2727

2828

2929
### Constructor: CdrTransforms() {#CdrTransforms__1}

english/python-net/aspose.imaging.fileformats.cmx/cmximage/_index.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ url: /python-net/aspose.imaging.fileformats.cmx/cmximage/
3838
| interrupt_monitor | [InterruptMonitor](/imaging/python-net/aspose.imaging.multithreading/interruptmonitor/) | r/w | Gets or sets the interrupt monitor. |
3939
| is_cached | bool | r | Determine whether the object's data is currently cached, eliminating the need<br/> for data reading. Ideal for developers seeking to optimize performance by<br/> leveraging cached data efficiently, ensuring faster access to object information. |
4040
| page_count | int | r | Retrieve the total page count of the image with this intuitive property.<br/> Ideal for developers seeking to manage multi-page images dynamically,<br/> ensuring efficient navigation and manipulation of image content. |
41-
| pages | [Image[]](/imaging/python-net/aspose.imaging/image) | r | Retrieve the pages of the image seamlessly with this intuitive property.<br/> Ideal for developers seeking to access and manipulate individual pages<br/> within multi-page images, ensuring efficient navigation and processing. |
41+
| [pages](#pages1) | [Image[]](/imaging/python-net/aspose.imaging/image) | r | Retrieve the pages of the image seamlessly with this intuitive property.<br/> Ideal for developers seeking to access and manipulate individual pages<br/> within multi-page images, ensuring efficient navigation and processing. |
4242
| palette | [IColorPalette](/imaging/python-net/aspose.imaging/icolorpalette) | r/w | Gets or sets the color palette. The color palette is not used when pixels are represented directly. |
4343
| size | [Size](/imaging/python-net/aspose.imaging/size) | r | Gets the object size. |
4444
| size_f | [SizeF](/imaging/python-net/aspose.imaging/sizef) | r | Gets the object size, in inches. |
@@ -137,6 +137,15 @@ Start working with the [CmxImage](/imaging/python-net/aspose.imaging.fileformats
137137
| stream_container | [StreamContainer](/imaging/python-net/aspose.imaging/streamcontainer) | The stream container. |
138138
| load_options | [LoadOptions](/imaging/python-net/aspose.imaging/loadoptions) | The load options. |
139139

140+
### Property: pages {#pages1}
141+
142+
Retrieve the pages of the image seamlessly with this intuitive property.<br/> Ideal for developers seeking to access and manipulate individual pages<br/> within multi-page images, ensuring efficient navigation and processing.
143+
144+
**See also:**
145+
146+
**[Example # 1](#example_143)**: The following example shows how to cache all pages of a CMX image.
147+
148+
140149
### Method: can_load(file_path) [static] {#can_load_file_path_1}
141150

142151

@@ -1439,3 +1448,23 @@ Customize the color palette of the image with this intuitive method. Ideal for<b
14391448
| palette | [IColorPalette](/imaging/python-net/aspose.imaging/icolorpalette) | The palette to set. |
14401449
| update_colors | bool | if set to <c>true</c> colors will be updated according to the new palette; otherwise color indexes remain unchanged. Note that unchanged indexes may crash the image on loading if some indexes have no corresponding palette entries. |
14411450

1451+
## **Examples**
1452+
### The following example shows how to cache all pages of a CMX image. {#example_143}
1453+
``` python
1454+
import aspose.pycore as aspycore
1455+
from aspose.imaging import Image
1456+
from aspose.imaging.fileformats.cmx import CmxImage
1457+
from os.path import join
1458+
1459+
dir_: str = "c:\\temp"
1460+
# Load an image from a CMX file.
1461+
with aspycore.as_of(Image.load(join(dir_, "sample.cmx")), CmxImage) as image:
1462+
# This call caches only the default page.
1463+
image.cache_data()
1464+
# Cache all pages so that no additional data loading will be performed from the underlying data stream.
1465+
for page in image.pages:
1466+
page.cache_data()
1467+
1468+
1469+
```
1470+

0 commit comments

Comments
 (0)