Skip to content

Commit 988a88d

Browse files
author
Samer El-Khatib
committed
Merge branch 'main' into production
2 parents 8b2f8b9 + 0b4a05c commit 988a88d

File tree

35 files changed

+215
-162
lines changed

35 files changed

+215
-162
lines changed

english/java/com.aspose.imaging.fileformats.cmx/cmximagepage/_index.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ The image of CMX page
3636
| [getHeight()](#getHeight--) | Gets the image height. |
3737
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Gets the default options. |
3838
| [cacheData()](#cacheData--) | Cache can not be used. |
39-
| [resize(int newWidth, int newHeight, ImageResizeSettings settings)](#resize-int-int-com.aspose.imaging.ImageResizeSettings-) | Resizes the image. |
4039
| [setPalette(IColorPalette palette, boolean updateColors)](#setPalette-com.aspose.imaging.IColorPalette-boolean-) | Sets the image palette. |
4140
### CmxImagePage(CmxPage cmxPage, Image container) {#CmxImagePage-com.aspose.imaging.fileformats.cmx.objectmodel.CmxPage-com.aspose.imaging.Image-}
4241
```
@@ -195,21 +194,6 @@ try {
195194
}
196195
```
197196

198-
### resize(int newWidth, int newHeight, ImageResizeSettings settings) {#resize-int-int-com.aspose.imaging.ImageResizeSettings-}
199-
```
200-
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
201-
```
202-
203-
204-
Resizes the image.
205-
206-
**Parameters:**
207-
| Parameter | Type | Description |
208-
| --- | --- | --- |
209-
| newWidth | int | The new width. |
210-
| newHeight | int | The new height. |
211-
| settings | [ImageResizeSettings](../../com.aspose.imaging/imageresizesettings) | The resize settings. |
212-
213197
### setPalette(IColorPalette palette, boolean updateColors) {#setPalette-com.aspose.imaging.IColorPalette-boolean-}
214198
```
215199
public void setPalette(IColorPalette palette, boolean updateColors)

english/java/com.aspose.imaging.fileformats.jpeg/jpegimage/_index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Efficiently manipulate JPEG raster images with our API, offering support for var
5959
| [setDestinationCmykColorProfile(StreamSource value)](#setDestinationCmykColorProfile-com.aspose.imaging.sources.StreamSource-) | The CMYK color profile is vital for the accurate color conversion of CMYK and YCCK JPEG images during the saving process. |
6060
| [getIgnoreEmbeddedColorProfile()](#getIgnoreEmbeddedColorProfile--) | Retrieves or modifies the flag denoting whether the embedded color profile is disregarded. |
6161
| [setIgnoreEmbeddedColorProfile(boolean value)](#setIgnoreEmbeddedColorProfile-boolean-) | Retrieves or modifies the flag denoting whether the embedded color profile is disregarded. |
62+
| [getOriginalOptions()](#getOriginalOptions--) | Gets the original image options of this [Image](../../com.aspose.imaging/image) instance. |
6263
| [removeMetadata()](#removeMetadata--) | Removes this image instance metadata by setting this `IHasXmpData.XmpData`([IHasXmpData.getXmpData](../../com.aspose.imaging.xmp/ihasxmpdata\#getXmpData)/[IHasXmpData.setXmpData(XmpPacketWrapper)](../../com.aspose.imaging.xmp/ihasxmpdata\#setXmpData-XmpPacketWrapper-)) and `IHasExifData.ExifData`([IHasExifData.getExifData()](../../com.aspose.imaging.exif/ihasexifdata\#getExifData--)/[IHasExifData.setExifData(ExifData)](../../com.aspose.imaging.exif/ihasexifdata\#setExifData-ExifData-)) values to `null`. |
6364
| [setResolution(double dpiX, double dpiY)](#setResolution-double-double-) | Establishes the resolution for the specified [RasterImage](../../com.aspose.imaging/rasterimage), ensuring accurate scaling and printing capabilities. |
6465
| [autoRotate()](#autoRotate--) | Automatically rotates the image based on orientation data extracted from Exif metadata. |
@@ -791,6 +792,16 @@ Retrieves or modifies the flag denoting whether the embedded color profile is di
791792
| --- | --- | --- |
792793
| value | boolean | |
793794

795+
### getOriginalOptions() {#getOriginalOptions--}
796+
```
797+
public ImageOptionsBase getOriginalOptions()
798+
```
799+
800+
801+
Gets the original image options of this [Image](../../com.aspose.imaging/image) instance.
802+
803+
**Returns:**
804+
[ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase) - A clone of original image options.
794805
### removeMetadata() {#removeMetadata--}
795806
```
796807
public void removeMetadata()

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Represents the graphics according to the graphics engine used in the current ass
6262
| [drawLine(Pen pen, float x1, float y1, float x2, float y2)](#drawLine-com.aspose.imaging.Pen-float-float-float-float-) | Draws a line connecting the two points specified by the coordinate pairs. |
6363
| [drawLines(Pen pen, Point[] points)](#drawLines-com.aspose.imaging.Pen-com.aspose.imaging.Point---) | Draws a series of line segments that connect an array of `Point` structures. |
6464
| [drawLines(Pen pen, PointF[] points)](#drawLines-com.aspose.imaging.Pen-com.aspose.imaging.PointF---) | Draws a series of line segments that connect an array of `PointF` structures. |
65-
| [fillRectangle(Brush brush, Rectangle rect)](#fillRectangle-com.aspose.imaging.Brush-com.aspose.imaging.Rectangle-) | Fills the interior of a rectangle specified by a `Rectangle` structure. |
66-
| [fillRectangle(Brush brush, RectangleF rect)](#fillRectangle-com.aspose.imaging.Brush-com.aspose.imaging.RectangleF-) | Fills the interior of a rectangle specified by a `RectangleF` structure. |
65+
| [fillRectangle(Brush brush, Rectangle rect)](#fillRectangle-com.aspose.imaging.Brush-com.aspose.imaging.Rectangle-) | Fills the rectangle specified by a `Rectangle` structure. |
66+
| [fillRectangle(Brush brush, RectangleF rect)](#fillRectangle-com.aspose.imaging.Brush-com.aspose.imaging.RectangleF-) | Fills the rectangle specified by a `RectangleF` structure. |
6767
| [fillRectangle(Brush brush, float x, float y, float width, float height)](#fillRectangle-com.aspose.imaging.Brush-float-float-float-float-) | Fills the interior of a rectangle specified by a pair of coordinates, a width and a height. |
6868
| [fillRectangle(Brush brush, int x, int y, int width, int height)](#fillRectangle-com.aspose.imaging.Brush-int-int-int-int-) | Fills the interior of a rectangle specified by a pair of coordinates, a width and a height. |
6969
| [fillRectangles(Brush brush, Rectangle[] rects)](#fillRectangles-com.aspose.imaging.Brush-com.aspose.imaging.Rectangle---) | Fills the interiors of a series of rectangles specified by `Rectangle` structures. |
@@ -686,7 +686,7 @@ public void beginUpdate()
686686
```
687687

688688

689-
Starts caching of the following graphics operations. The graphics effects applied afterwards will not be applied immediately instead the EndUpdate will cause applying all the effects at once.
689+
Starts caching of the following graphics operations. The graphics effects applied afterward will not be applied immediately instead the EndUpdate will cause applying all the effects at once.
690690

691691
Note the effects after BeginUpdate is called will not be applied in case EndUpdate is not called.
692692

@@ -1112,7 +1112,7 @@ public void fillRectangle(Brush brush, Rectangle rect)
11121112
```
11131113

11141114

1115-
Fills the interior of a rectangle specified by a `Rectangle` structure.
1115+
Fills the rectangle specified by a `Rectangle` structure.
11161116

11171117
**Parameters:**
11181118
| Parameter | Type | Description |
@@ -1126,7 +1126,7 @@ public void fillRectangle(Brush brush, RectangleF rect)
11261126
```
11271127

11281128

1129-
Fills the interior of a rectangle specified by a `RectangleF` structure.
1129+
Fills the rectangle specified by a `RectangleF` structure.
11301130

11311131
**Parameters:**
11321132
| Parameter | Type | Description |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public static Image load(String filePath, LoadOptions loadOptions)
439439
```
440440

441441

442-
Loads a new image from the specified file path or URL. If `filePath` is a file path the method just opens the file. If `filePath` is an URL, the method downloads the file, stores it as a temporary one, and opens it.
442+
Loads a new image from the specified file path or URL. If `filePath` is a file path the method just opens the file. If `filePath` is a URL, the method downloads the file, stores it as a temporary one, and opens it.
443443

444444
**Parameters:**
445445
| Parameter | Type | Description |

english/net/aspose.imaging.fileformats.cmx/cmximagepage/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class CmxImagePage : VectorImage, ICmxImage
6464
| virtual [RemoveBackground](../../aspose.imaging/vectorimage/removebackground/)(RemoveBackgroundSettings) | Removes the background. |
6565
| virtual [RemoveMetadata](../../aspose.imaging/image/removemetadata/)() | Removes metadata. |
6666
| [Resize](../../aspose.imaging/image/resize/)(intint) | Resizes the image. The default NearestNeighbourResample is used. |
67-
| override [Resize](../../aspose.imaging.fileformats.cmx/cmximagepage/resize/#resize_1)(intintImageResizeSettings) | Resizes the image. |
67+
| override [Resize](../../aspose.imaging/vectorimage/resize/)(intintImageResizeSettings) | Resizes the image with extended options. |
6868
| override [Resize](../../aspose.imaging/vectorimage/resize/)(intintResizeType) | Resizes the specified new width. |
6969
| [ResizeHeightProportionally](../../aspose.imaging/image/resizeheightproportionally/)(int) | Resizes the height proportionally. The default NearestNeighbourResample is used. |
7070
| virtual [ResizeHeightProportionally](../../aspose.imaging/image/resizeheightproportionally/)(intImageResizeSettings) | Resizes the height proportionally. |

english/net/aspose.imaging.fileformats.cmx/cmximagepage/setpalette/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: CmxImagePage.SetPalette
33
second_title: Aspose.Imaging for .NET API Reference
44
description: CmxImagePage method. Sets the image palette
55
type: docs
6-
weight: 130
6+
weight: 120
77
url: /net/aspose.imaging.fileformats.cmx/cmximagepage/setpalette/
88
---
99
## CmxImagePage.SetPalette method

english/net/aspose.imaging.fileformats.jpeg/jpegimage/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public sealed class JpegImage : RasterCachedImage, IHasJpegExifData
102102
| [GetDefaultRawData](../../aspose.imaging/rasterimage/getdefaultrawdata/)(RectangleRawDataSettings) | Gets the default raw data array. |
103103
| [GetDefaultRawData](../../aspose.imaging/rasterimage/getdefaultrawdata/)(RectangleIPartialRawDataLoaderRawDataSettings) | Gets the default raw data array using partial pixel loader. |
104104
| override [GetModifyDate](../../aspose.imaging.fileformats.jpeg/jpegimage/getmodifydate/)(bool) | Retrieves the date and time when the resource image underwent its latest modification. This method provides valuable metadata, enabling users to track and manage updates to the image file effectively. By accessing this information, users can ensure the integrity and currency of their image assets, facilitating informed decision-making regarding image usage and maintenance. |
105-
| virtual [GetOriginalOptions](../../aspose.imaging/image/getoriginaloptions/)() | Gets the options based on the original file settings. This can be helpful to keep bit-depth and other parameters of the original image unchanged. For example, if we load a black-white PNG image with 1 bit per pixel and then save it using the [`Save`](../../aspose.imaging/datastreamsupporter/save/) method, the output PNG image with 8-bit per pixel will be produced. To avoid it and save PNG image with 1-bit per pixel, use this method to get corresponding saving options and pass them to the [`Save`](../../aspose.imaging/image/save/) method as the second parameter. |
105+
| override [GetOriginalOptions](../../aspose.imaging.fileformats.jpeg/jpegimage/getoriginaloptions/)() | Gets the original image options of this [`Image`](../../aspose.imaging/image/) instance. |
106106
| [GetPixel](../../aspose.imaging/rasterimage/getpixel/)(intint) | Gets an image pixel. |
107107
| virtual [GetSerializedStream](../../aspose.imaging/image/getserializedstream/)(ImageOptionsBaseRectangleout int) | Converts to aps. |
108108
| [GetSkewAngle](../../aspose.imaging/rasterimage/getskewangle/)() | Gets the skew angle. This method is applicable to scanned text documents, to determine the skew angle when scanning. |
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: JpegImage.GetOriginalOptions
3+
second_title: Aspose.Imaging for .NET API Reference
4+
description: JpegImage method. Gets the original image options of this Image instance
5+
type: docs
6+
weight: 210
7+
url: /net/aspose.imaging.fileformats.jpeg/jpegimage/getoriginaloptions/
8+
---
9+
## JpegImage.GetOriginalOptions method
10+
11+
Gets the original image options of this [`Image`](../../../aspose.imaging/image/) instance.
12+
13+
```csharp
14+
public override ImageOptionsBase GetOriginalOptions()
15+
```
16+
17+
### Return Value
18+
19+
A clone of original image options.
20+
21+
### See Also
22+
23+
* class [ImageOptionsBase](../../../aspose.imaging/imageoptionsbase/)
24+
* class [JpegImage](../)
25+
* namespace [Aspose.Imaging.FileFormats.Jpeg](../../jpegimage/)
26+
* assembly [Aspose.Imaging](../../../)
27+
28+

english/net/aspose.imaging.fileformats.jpeg/jpegimage/removemetadata/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: JpegImage.RemoveMetadata
33
second_title: Aspose.Imaging for .NET API Reference
44
description: JpegImage method. Removes this image instance metadata by setting this XmpData and ExifData values to null
55
type: docs
6-
weight: 210
6+
weight: 220
77
url: /net/aspose.imaging.fileformats.jpeg/jpegimage/removemetadata/
88
---
99
## JpegImage.RemoveMetadata method

english/net/aspose.imaging.fileformats.jpeg/jpegimage/setresolution/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: JpegImage.SetResolution
33
second_title: Aspose.Imaging for .NET API Reference
44
description: JpegImage method. Establishes the resolution for the specified RasterImage ensuring accurate scaling and printing capabilities. This method empowers users to tailor the image resolution to suit their specific requirements whether for digital display or physical reproduction. By setting the resolution users can optimize image quality and ensure compatibility with various output devices and mediums enhancing the overall visual experience and usability of the image
55
type: docs
6-
weight: 220
6+
weight: 230
77
url: /net/aspose.imaging.fileformats.jpeg/jpegimage/setresolution/
88
---
99
## JpegImage.SetResolution method

0 commit comments

Comments
 (0)