Skip to content

Commit

Permalink
Merge branch 'main' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
Samer El-Khatib committed Feb 1, 2024
2 parents 3f1a02d + 2dea71e commit c948218
Show file tree
Hide file tree
Showing 429 changed files with 4,956 additions and 793 deletions.
2 changes: 2 additions & 0 deletions english/java/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ is_root: true
| [com.aspose.imaging.fileformats.wmf.objects](./com.aspose.imaging.fileformats.wmf.objects) | The package contains types [MS-WMF]: Windows Metafile Format 2.2 WMF Objects |
| [com.aspose.imaging.fileformats.wmf.objects.escaperecords](./com.aspose.imaging.fileformats.wmf.objects.escaperecords) | The package contains escape types [MS-WMF]: Windows |
| [com.aspose.imaging.flatarray.exceptions](./com.aspose.imaging.flatarray.exceptions) | |
| [com.aspose.imaging.imagefilters.complexutils](./com.aspose.imaging.imagefilters.complexutils) | |
| [com.aspose.imaging.imagefilters.convolution](./com.aspose.imaging.imagefilters.convolution) | |
| [com.aspose.imaging.imagefilters.filteroptions](./com.aspose.imaging.imagefilters.filteroptions) | The package handles filter options. |
| [com.aspose.imaging.imageloadoptions](./com.aspose.imaging.imageloadoptions) | The package contains different file format load options. |
| [com.aspose.imaging.imageoptions](./com.aspose.imaging.imageoptions) | The package contains classes suitable for export, save or creation of different file formats. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The CMX image.
| [getPageExportingAction()](#getPageExportingAction--) | Gets the page exporting action. |
| [setPageExportingAction(PageExportingAction value)](#setPageExportingAction-com.aspose.imaging.PageExportingAction-) | Sets the page exporting action. |
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Gets the default options. |
| [cacheData()](#cacheData--) | Caches the data and ensures no additional data loading will be performed from the underlying `DataStreamSupporter.DataStreamContainer`([DataStreamSupporter.getDataStreamContainer](../../com.aspose.imaging/datastreamsupporter\#getDataStreamContainer)). |
| [cacheData()](#cacheData--) | Caches the data and ensures no additional data loading will be performed from the underlying `P:Aspose.Imaging.DataStreamSupporter.DataStreamContainer`. |
| [resize(int newWidth, int newHeight, int resizeType)](#resize-int-int-int-) | Resizes the image. |
| [resize(int newWidth, int newHeight, ImageResizeSettings settings)](#resize-int-int-com.aspose.imaging.ImageResizeSettings-) | Resizes the image. |
| [rotateFlip(int rotateFlipType)](#rotateFlip-int-) | Rotates, flips, or rotates and flips the image. |
Expand Down Expand Up @@ -245,11 +245,11 @@ Gets the default options.
[ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase) - Default options
### cacheData() {#cacheData--}
```
public synchronized void cacheData()
public void cacheData()
```


Caches the data and ensures no additional data loading will be performed from the underlying `DataStreamSupporter.DataStreamContainer`([DataStreamSupporter.getDataStreamContainer](../../com.aspose.imaging/datastreamsupporter\#getDataStreamContainer)).
Caches the data and ensures no additional data loading will be performed from the underlying `P:Aspose.Imaging.DataStreamSupporter.DataStreamContainer`.


**Example: The following example shows how to cache all pages of a CMX image.**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ public boolean isCached()

Gets a value indicating whether object's data is cached currently and no data reading is required.

Value: `true` if object's data is cached; otherwise, `false`.

**Returns:**
boolean
boolean - a value indicating whether object's data is cached currently and no data reading is required.
### getWidthF() {#getWidthF--}
```
public float getWidthF()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: com.aspose.imaging.imagefilters.complexutils
second_title: Aspose.Imaging for Java API Reference
description:
type: docs
weight: 87
url: /java/com.aspose.imaging.imagefilters.complexutils/
---

## Classes

| Class | Description |
| --- | --- |
| [Complex](../com.aspose.imaging.imagefilters.complexutils/complex) | The complex number structure. |
1,120 changes: 1,120 additions & 0 deletions english/java/com.aspose.imaging.imagefilters.complexutils/complex/_index.md

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions english/java/com.aspose.imaging.imagefilters.convolution/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: com.aspose.imaging.imagefilters.convolution
second_title: Aspose.Imaging for Java API Reference
description:
type: docs
weight: 88
url: /java/com.aspose.imaging.imagefilters.convolution/
---

## Classes

| Class | Description |
| --- | --- |
| [ConvolutionFilter](../com.aspose.imaging.imagefilters.convolution/convolutionfilter) | The kernel matrix provider class. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
---
title: ConvolutionFilter
second_title: Aspose.Imaging for Java API Reference
description: The kernel matrix provider class.
type: docs
weight: 10
url: /java/com.aspose.imaging.imagefilters.convolution/convolutionfilter/
---
**Inheritance:**
java.lang.Object
```
public final class ConvolutionFilter
```

The kernel matrix provider class.
## Methods

| Method | Description |
| --- | --- |
| [getSharpen3x3()](#getSharpen3x3--) | Gets the 3x3 sharpen kernel. |
| [getSharpen5x5()](#getSharpen5x5--) | Gets the 5x5 sharpen kernel. |
| [getEmboss3x3()](#getEmboss3x3--) | Gets the 3x3 Emboss kernel. |
| [getEmboss5x5()](#getEmboss5x5--) | Gets the 5x5 Emboss kernel. |
| [getBlurMotion(int size, double angle)](#getBlurMotion-int-double-) | Gets the motion blur kernel. |
| [getGaussian(int size, double sigma)](#getGaussian-int-double-) | Gets the Gaussian kernel. |
| [getBlurBox(int size)](#getBlurBox-int-) | Gets the box blur kernel. |
| [toComplex(double[][] kernel)](#toComplex-double-----) | Converts `kernel` to a [Complex](../../com.aspose.imaging.imagefilters.complexutils/complex) kernel. |
### getSharpen3x3() {#getSharpen3x3--}
```
public static double[][] getSharpen3x3()
```


Gets the 3x3 sharpen kernel.

**Returns:**
double[][] - the 3x3 sharpen kernel.
### getSharpen5x5() {#getSharpen5x5--}
```
public static double[][] getSharpen5x5()
```


Gets the 5x5 sharpen kernel.

**Returns:**
double[][] - the 5x5 sharpen kernel.
### getEmboss3x3() {#getEmboss3x3--}
```
public static double[][] getEmboss3x3()
```


Gets the 3x3 Emboss kernel.

**Returns:**
double[][] - the 3x3 Emboss kernel.
### getEmboss5x5() {#getEmboss5x5--}
```
public static double[][] getEmboss5x5()
```


Gets the 5x5 Emboss kernel.

**Returns:**
double[][] - the 5x5 Emboss kernel.
### getBlurMotion(int size, double angle) {#getBlurMotion-int-double-}
```
public static double[][] getBlurMotion(int size, double angle)
```


Gets the motion blur kernel.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| size | int | The kernel size. |
| angle | double | The motion angle. |

**Returns:**
double[][] - The motion blur kernel.
### getGaussian(int size, double sigma) {#getGaussian-int-double-}
```
public static double[][] getGaussian(int size, double sigma)
```


Gets the Gaussian kernel.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| size | int | The kernel size. |
| sigma | double | The sigma value in range (0...]. |

**Returns:**
double[][] - The Gaussian kernel.
### getBlurBox(int size) {#getBlurBox-int-}
```
public static double[][] getBlurBox(int size)
```


Gets the box blur kernel.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| size | int | The kernel size. |

**Returns:**
double[][] - The box blur kernel.
### toComplex(double[][] kernel) {#toComplex-double-----}
```
public static Complex[][] toComplex(double[][] kernel)
```


Converts `kernel` to a [Complex](../../com.aspose.imaging.imagefilters.complexutils/complex) kernel.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| kernel | double[][] | The kernel. |

**Returns:**
com.aspose.imaging.imagefilters.complexutils.Complex[][] - A [Complex](../../com.aspose.imaging.imagefilters.complexutils/complex) kernel.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: com.aspose.imaging.imagefilters.filteroptions
second_title: Aspose.Imaging for Java API Reference
description: The package handles filter options.
type: docs
weight: 87
weight: 89
url: /java/com.aspose.imaging.imagefilters.filteroptions/
---

Expand All @@ -16,12 +16,13 @@ The package handles filter options.
| --- | --- |
| [BigRectangularFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/bigrectangularfilteroptions) | Big Rectangular Filter Options |
| [BilateralSmoothingFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/bilateralsmoothingfilteroptions) | The Bilateral Smoothing Filter Options. |
| [ConvolutionFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) | The convolution filter. |
| [ConvolutionFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) | The convolution filter options. |
| [DeconvolutionFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/deconvolutionfilteroptions) | Deconvolution Filter Options, abstract class |
| [FilterOptionsBase](../com.aspose.imaging.imagefilters.filteroptions/filteroptionsbase) | Filter Options Base, abstract class |
| [GaussWienerFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/gausswienerfilteroptions) | Gauss Wiener Filter Options Deblur gauss |
| [GaussianBlurFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/gaussianblurfilteroptions) | The Gaussian blur |
| [FilterOptionsBase](../com.aspose.imaging.imagefilters.filteroptions/filteroptionsbase) | Base filter options class. |
| [GaussWienerFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/gausswienerfilteroptions) | Gauss Wiener filter options for image debluring. |
| [GaussianBlurFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/gaussianblurfilteroptions) | The Gaussian blur filter options. |
| [GaussianDeconvolutionFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/gaussiandeconvolutionfilteroptions) | The deconvolution filter options using Gaussian blurring. |
| [MedianFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/medianfilteroptions) | Median filter |
| [MotionWienerFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/motionwienerfilteroptions) | Deconvolution filter options deblur motion |
| [SharpenFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/sharpenfilteroptions) | The Sharpen filter options |
| [MotionWienerFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/motionwienerfilteroptions) | The motion de-blurring filter options. |
| [SharpenFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/sharpenfilteroptions) | The sharpen filter options. |
| [SmallRectangularFilterOptions](../com.aspose.imaging.imagefilters.filteroptions/smallrectangularfilteroptions) | Small rectangular filter options |
Original file line number Diff line number Diff line change
@@ -1,90 +1,140 @@
---
title: ConvolutionFilterOptions
second_title: Aspose.Imaging for Java API Reference
description: The convolution filter.
description: The convolution filter options.
type: docs
weight: 12
url: /java/com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions/
---
**Inheritance:**
java.lang.Object, [com.aspose.imaging.imagefilters.filteroptions.FilterOptionsBase](../../com.aspose.imaging.imagefilters.filteroptions/filteroptionsbase)

**All Implemented Interfaces:**
com.aspose.internal.imagefilters.convolution.IConvolutionKernel
```
public abstract class ConvolutionFilterOptions extends FilterOptionsBase
public class ConvolutionFilterOptions extends FilterOptionsBase implements IConvolutionKernel
```

The convolution filter.
The convolution filter options.
## Constructors

| Constructor | Description |
| --- | --- |
| [ConvolutionFilterOptions()](#ConvolutionFilterOptions--) | Initializes a new instance of the `ConvolutionFilterOptions` class. |
| [ConvolutionFilterOptions(double[][] kernel)](#ConvolutionFilterOptions-double-----) | Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with factor == 1 and bias == 0. |
| [ConvolutionFilterOptions(double[][] kernel, double factor)](#ConvolutionFilterOptions-double-----double-) | Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with bias == 0. |
| [ConvolutionFilterOptions(double[][] kernel, double factor, int bias)](#ConvolutionFilterOptions-double-----double-int-) | Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class. |
## Methods

| Method | Description |
| --- | --- |
| [getFactor()](#getFactor--) | Gets or sets the factor. |
| [setFactor(double value)](#setFactor-double-) | Gets or sets the factor. |
| [getBias()](#getBias--) | Gets or sets the bias. |
| [setBias(int value)](#setBias-int-) | Gets or sets the bias. |
### ConvolutionFilterOptions() {#ConvolutionFilterOptions--}
| [getKernel()](#getKernel--) | Gets the kernel. |
| [getFactor()](#getFactor--) | Gets the factor. |
| [setFactor(double value)](#setFactor-double-) | Sets the factor. |
| [getBias()](#getBias--) | Gets the bias. |
| [setBias(int value)](#setBias-int-) | Sets the bias. |
### ConvolutionFilterOptions(double[][] kernel) {#ConvolutionFilterOptions-double-----}
```
public ConvolutionFilterOptions()
public ConvolutionFilterOptions(double[][] kernel)
```


Initializes a new instance of the `ConvolutionFilterOptions` class.
Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with factor == 1 and bias == 0.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| kernel | double[][] | The convolution kernel for X-axis direction. |

### ConvolutionFilterOptions(double[][] kernel, double factor) {#ConvolutionFilterOptions-double-----double-}
```
public ConvolutionFilterOptions(double[][] kernel, double factor)
```


Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with bias == 0.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| kernel | double[][] | The convolution kernel for X-axis direction. |
| factor | double | The factor. |

### ConvolutionFilterOptions(double[][] kernel, double factor, int bias) {#ConvolutionFilterOptions-double-----double-int-}
```
public ConvolutionFilterOptions(double[][] kernel, double factor, int bias)
```


Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| kernel | double[][] | The convolution kernel for X-axis direction. |
| factor | double | The factor. |
| bias | int | The bias value. |

### getKernel() {#getKernel--}
```
public double[][] getKernel()
```


Gets the kernel.

**Returns:**
double[][] - the kernel.
### getFactor() {#getFactor--}
```
public double getFactor()
public final double getFactor()
```


Gets or sets the factor.
Gets the factor.

Value: The factor.

**Returns:**
double
double - the factor.
### setFactor(double value) {#setFactor-double-}
```
public void setFactor(double value)
public final void setFactor(double value)
```


Gets or sets the factor.
Sets the factor.

Value: The factor.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | |
| value | double | the factor. |

### getBias() {#getBias--}
```
public int getBias()
public final int getBias()
```


Gets or sets the bias.
Gets the bias.

Value: The bias.

**Returns:**
int
int - the bias.
### setBias(int value) {#setBias-int-}
```
public void setBias(int value)
public final void setBias(int value)
```


Gets or sets the bias.
Sets the bias.

Value: The bias.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | |
| value | int | the bias. |

Loading

0 comments on commit c948218

Please sign in to comment.