You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: english/java/com.aspose.imaging.fileformats.bmp/bmpimage/_index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ You can effortlessly handle Bitmap (BMP) and Device Independent Bitmap (DIB) fil
24
24
|[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. |
25
25
|[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. |
26
26
|[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, bitdepth, 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. |
28
28
|[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. |
29
29
## Methods
30
30
@@ -274,7 +274,7 @@ public BmpImage(int width, int height, int bitsPerPixel, IColorPalette palette)
274
274
```
275
275
276
276
277
-
Begin using the [BmpImage](../../com.aspose.imaging.fileformats.bmp/bmpimage) classseamlessly by initializing a new instance with parameters such as width, height, bitdepth, 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) classseamlessly 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.
Copy file name to clipboardExpand all lines: english/java/com.aspose.imaging.fileformats.gif/gifimage/_index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ public GifImage(GifFrameBlock firstFrame)
187
187
```
188
188
189
189
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.
Copy file name to clipboardExpand all lines: english/java/com.aspose.imaging.imageoptions/svgrasterizationoptions/_index.md
+14
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ The SVG rasterization options.
26
26
|[setScaleX(float value)](#setScaleX-float-)| Gets or sets the scale x. |
27
27
|[getScaleY()](#getScaleY--)| Gets or sets the scale y. |
28
28
|[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`. |
Copy file name to clipboardExpand all lines: english/java/com.aspose.imaging.imageoptions/vectorrasterizationoptions/_index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The vector rasterization options. Please note that `VectorRasterizationOptions`(
47
47
|[setPositioning(int value)](#setPositioning-int-)| Sets the positioning. |
48
48
|[getReplaceTextMapping()](#getReplaceTextMapping--)| Gets the text replace mapping. |
49
49
|[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`. |
| interrupt_monitor |[InterruptMonitor](/imaging/python-net/aspose.imaging.multithreading/interruptmonitor/)| r/w | Gets or sets the interrupt monitor. |
39
39
| 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. |
40
40
| 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. |
42
42
| 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. |
43
43
| size |[Size](/imaging/python-net/aspose.imaging/size)| r | Gets the object size. |
44
44
| 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
137
137
| stream_container |[StreamContainer](/imaging/python-net/aspose.imaging/streamcontainer)| The stream container. |
138
138
| load_options |[LoadOptions](/imaging/python-net/aspose.imaging/loadoptions)| The load options. |
139
139
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.
@@ -1439,3 +1448,23 @@ Customize the color palette of the image with this intuitive method. Ideal for<b
1439
1448
| palette |[IColorPalette](/imaging/python-net/aspose.imaging/icolorpalette)| The palette to set. |
1440
1449
| 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. |
1441
1450
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.
0 commit comments