Skip to content

Commit

Permalink
Update file(s) "/." from "aspose-imaging/Aspose.Imaging-API-References"
Browse files Browse the repository at this point in the history
  • Loading branch information
sam199008 committed Feb 5, 2025
1 parent 549de87 commit c225f2c
Show file tree
Hide file tree
Showing 235 changed files with 1,936 additions and 514 deletions.
2 changes: 1 addition & 1 deletion content/sites/aspose/imaging/english/java/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ is_root: true
| [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. |
| [com.aspose.imaging.interfaces](./com.aspose.imaging.interfaces) | The package handles Tiff file format processing. |
| [com.aspose.imaging.interfaces](./com.aspose.imaging.interfaces) | The package contains the Aspose.Imaging interfaces |
| [com.aspose.imaging.magicwand](./com.aspose.imaging.magicwand) | The package handles MagicWand processing. |
| [com.aspose.imaging.magicwand.imagemasks](./com.aspose.imaging.magicwand.imagemasks) | The package handles image masks processing. |
| [com.aspose.imaging.masking](./com.aspose.imaging.masking) | The package handles ImageMasking processing. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Solid brush is intended for drawing continiously with specific color. This class
| --- | --- |
| [getColor()](#getColor--) | Gets or sets the brush color. |
| [setColor(Color value)](#setColor-com.aspose.imaging.Color-) | Gets or sets the brush color. |
| [hashCode()](#hashCode--) | |
| [equals(Object object)](#equals-java.lang.Object-) | |

## Example: This example uses Graphics class to create primitive shapes on the Image surface.
This example uses Graphics class to create primitive shapes on the Image surface. To demonstrate the operation, the example creates a new Image in PNG format and draw primitive shapes on Image surface using Draw methods exposed by Graphics class
Expand Down Expand Up @@ -277,3 +279,28 @@ Value: The brush color.
| --- | --- | --- |
| value | [Color](../../com.aspose.imaging/color) | |

### hashCode() {#hashCode--}
```
public int hashCode()
```


Get hash code of the current object.

**Returns:**
int
### equals(Object object) {#equals-java.lang.Object-}
```
public boolean equals(Object object)
```


Check if objects are equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| object | java.lang.Object | |

**Returns:**
boolean
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ EXIF data container.
| [setMeteringMode(int value)](#setMeteringMode-int-) | Gets or sets the metering mode. |
| [getOECF()](#getOECF--) | Gets or sets the Opto-Electric Conversion Function (OECF) specified in ISO 14524. |
| [setOECF(byte[] value)](#setOECF-byte---) | Gets or sets the Opto-Electric Conversion Function (OECF) specified in ISO 14524. |
| [getOrientation()](#getOrientation--) | Gets the orientation. |
| [setOrientation(int value)](#setOrientation-int-) | Sets the orientation. |
| [getPixelXDimension()](#getPixelXDimension--) | Gets or sets the pixel x dimension. |
| [setPixelXDimension(long value)](#setPixelXDimension-long-) | Gets or sets the pixel x dimension. |
| [getPixelYDimension()](#getPixelYDimension--) | Gets or sets the pixel y dimension. |
Expand Down Expand Up @@ -2468,6 +2470,33 @@ Value: The Opto-Electric Conversion Function (OECF) specified in ISO 14524.
| --- | --- | --- |
| value | byte[] | |

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


Gets the orientation.

Value: The orientation.

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


Sets the orientation.

Value: The orientation.

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

### getPixelXDimension() {#getPixelXDimension--}
```
public long getPixelXDimension()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ EXIF data container for jpeg files.
| [setImageWidth(long value)](#setImageWidth-long-) | Gets or sets the image width. |
| [getModel()](#getModel--) | Gets or sets the model. |
| [setModel(String value)](#setModel-java.lang.String-) | Gets or sets the model. |
| [getOrientation()](#getOrientation--) | Gets or sets the orientation. |
| [setOrientation(int value)](#setOrientation-int-) | Gets or sets the orientation. |
| [getPhotometricInterpretation()](#getPhotometricInterpretation--) | Gets or sets the photometric interpretation. |
| [setPhotometricInterpretation(int value)](#setPhotometricInterpretation-int-) | Gets or sets the photometric interpretation. |
| [getPlanarConfiguration()](#getPlanarConfiguration--) | Gets or sets the planar configuration. |
Expand Down Expand Up @@ -379,33 +377,6 @@ Value: The model.
| --- | --- | --- |
| value | java.lang.String | |

### getOrientation() {#getOrientation--}
```
public int getOrientation()
```


Gets or sets the orientation.

Value: The orientation.

**Returns:**
int
### setOrientation(int value) {#setOrientation-int-}
```
public void setOrientation(int value)
```


Gets or sets the orientation.

Value: The orientation.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | |

### getPhotometricInterpretation() {#getPhotometricInterpretation--}
```
public int getPhotometricInterpretation()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ The package contains extension methods.
| [ImageAttributesExtensions](../com.aspose.imaging.extensions/imageattributesextensions) | Contains extension methods for `ImageAttributes` and `System.Drawing.Imaging.ImageAttributes`. |
| [ImageExtensions](../com.aspose.imaging.extensions/imageextensions) | Contains extension methods for conversions based on `System.Drawing.Image` and `Image`. |
| [MatrixExtensions](../com.aspose.imaging.extensions/matrixextensions) | Contains the `Matrix` class extensions. |
| [PenExtensions](../com.aspose.imaging.extensions/penextensions) | Contains extension methods for `Pen` and `System.Drawing.Pen`. |
| [PointExtensions](../com.aspose.imaging.extensions/pointextensions) | Contains extension methods for `Point` and `PointF` structures. |
| [RectangleExtensions](../com.aspose.imaging.extensions/rectangleextensions) | Contains extension methods for `Rectangle`. |
| [RegionExtensions](../com.aspose.imaging.extensions/regionextensions) | Contains extension methods for the `Region` class. |
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: PointExtensions
second_title: Aspose.Imaging for Java API Reference
description: Contains extension methods for Point and PointF structures.
type: docs
weight: 21
weight: 20
url: /java/com.aspose.imaging.extensions/pointextensions/
---
**Inheritance:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: RectangleExtensions
second_title: Aspose.Imaging for Java API Reference
description: Contains extension methods for Rectangle.
type: docs
weight: 22
weight: 21
url: /java/com.aspose.imaging.extensions/rectangleextensions/
---
**Inheritance:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: RegionExtensions
second_title: Aspose.Imaging for Java API Reference
description: Contains extension methods for the Region class.
type: docs
weight: 23
weight: 22
url: /java/com.aspose.imaging.extensions/regionextensions/
---
**Inheritance:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: RotateFlipExtensions
second_title: Aspose.Imaging for Java API Reference
description: Contains extension methods for conversion the System.Drawing.RotateFlipType and the RotateFlipType classes.
type: docs
weight: 24
weight: 23
url: /java/com.aspose.imaging.extensions/rotateflipextensions/
---
**Inheritance:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: StringFormatExtensions
second_title: Aspose.Imaging for Java API Reference
description: Contains extension methods for the StringFormat class.
type: docs
weight: 25
weight: 24
url: /java/com.aspose.imaging.extensions/stringformatextensions/
---
**Inheritance:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The cdr transforms object
| Method | Description |
| --- | --- |
| [getTransforms()](#getTransforms--) | Gets the transforms. |
| [setTransforms(List<DrMatrix> value)](#setTransforms-java.util.List-com.aspose.foundation.drawing.DrMatrix--) | Sets the transforms. |
| [setTransforms(List<Matrix> value)](#setTransforms-java.util.List-com.aspose.imaging.Matrix--) | Sets the transforms. |
### CdrTransforms() {#CdrTransforms--}
```
public CdrTransforms()
Expand All @@ -32,17 +32,17 @@ public CdrTransforms()

### getTransforms() {#getTransforms--}
```
public final List<DrMatrix> getTransforms()
public final List<Matrix> getTransforms()
```


Gets the transforms.

**Returns:**
java.util.List<com.aspose.foundation.drawing.DrMatrix> - the transforms.
### setTransforms(List<DrMatrix> value) {#setTransforms-java.util.List-com.aspose.foundation.drawing.DrMatrix--}
java.util.List<com.aspose.imaging.Matrix> - the transforms.
### setTransforms(List<Matrix> value) {#setTransforms-java.util.List-com.aspose.imaging.Matrix--}
```
public final void setTransforms(List<DrMatrix> value)
public final void setTransforms(List<Matrix> value)
```


Expand All @@ -51,5 +51,5 @@ Sets the transforms.
**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.util.List<com.aspose.foundation.drawing.DrMatrix> | the transforms. |
| value | java.util.List<com.aspose.imaging.Matrix> | the transforms. |

Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ The API for Enhanced Metafile Format (EMF) vector image format support is a comp
| [getUsedFonts()](#getUsedFonts--) | Retrieve the list of fonts utilized within the metafile with this method. |
| [resizeCanvas(Rectangle newRectangle)](#resizeCanvas-com.aspose.imaging.Rectangle-) | Resize the canvas with ease using this function. |
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Retrieve the default options for your image effortlessly. |
| [getOriginalOptions()](#getOriginalOptions--) | Gets the original image options. |
| [setPalette(IColorPalette palette, boolean updateColors)](#setPalette-com.aspose.imaging.IColorPalette-boolean-) | Sets the image palette. |

## Example: This example shows how to load a EMF image from a file and convert it to SVG using EmfRasterizationOptions.
Expand Down Expand Up @@ -380,6 +381,16 @@ Retrieve the default options for your image effortlessly. With this feature, you

**Returns:**
[ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase) - Default options
### getOriginalOptions() {#getOriginalOptions--}
```
public ImageOptionsBase getOriginalOptions()
```


Gets the original image options.

**Returns:**
[ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase) - The original image options.
### setPalette(IColorPalette palette, boolean updateColors) {#setPalette-com.aspose.imaging.IColorPalette-boolean-}
```
public void setPalette(IColorPalette palette, boolean updateColors)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ The png filter type.
| Field | Description |
| --- | --- |
| [None](#None) | The null-filter, means no filtering for image data rows. |
| [Sub](#Sub) | The sub filter, means substractive filtering will be applied to image data. |
| [Up](#Up) | The up filter, means row-by-row substraction filter will be applied. |
| [Sub](#Sub) | The sub filter, means subtractive filtering will be applied to image data. |
| [Up](#Up) | The up filter, means row-by-row subtraction filter will be applied. |
| [Avg](#Avg) | The avg filter, means, that average filter will be applied to image data. |
| [Paeth](#Paeth) | The paeth predictor filter. |
| [Adaptive](#Adaptive) | Adaptive filtering, means that saving process will choose most suitable filter for each data row. |
Expand All @@ -37,15 +37,15 @@ public static final int Sub
```


The sub filter, means substractive filtering will be applied to image data.
The sub filter, means subtractive filtering will be applied to image data.

### Up {#Up}
```
public static final int Up
```


The up filter, means row-by-row substraction filter will be applied.
The up filter, means row-by-row subtraction filter will be applied.

### Avg {#Avg}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ url: /java/com.aspose.imaging.fileformats.svg/svgimage/
---
**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.DataStreamSupporter](../../com.aspose.imaging/datastreamsupporter), [com.aspose.imaging.Image](../../com.aspose.imaging/image), [com.aspose.imaging.VectorImage](../../com.aspose.imaging/vectorimage)

**All Implemented Interfaces:**
[com.aspose.imaging.xmp.IHasXmpData](../../com.aspose.imaging.xmp/ihasxmpdata)
```
public final class SvgImage extends VectorImage
public final class SvgImage extends VectorImage implements IHasXmpData
```

Manipulate Scalar Vector Graphics (SVG) image files with our API, utilizing the power of XML-based text format for seamless customization and scalability. Easily load SVG images, rasterize vector elements, and convert to other formats, while controlling compression levels to optimize file size and quality for your projects.
Expand All @@ -28,6 +31,8 @@ Manipulate Scalar Vector Graphics (SVG) image files with our API, utilizing the
| [isCached()](#isCached--) | Retrieves a boolean value indicating whether the object's data is presently cached, eliminating the need for additional data reading operations. |
| [getBitsPerPixel()](#getBitsPerPixel--) | Retrieves the bits per pixel count of the image. |
| [getFileFormat()](#getFileFormat--) | Retrieves the file format of the image, providing essential metadata for processing and compatibility checks. |
| [getXmpData()](#getXmpData--) | Gets XMP data. |
| [setXmpData(XmpPacketWrapper value)](#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-) | Sets XMP data. |
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Retrieve the default options configured for the image, providing a baseline setting for various operations such as resizing, compression, or encoding. |
| [cacheData()](#cacheData--) | Cache the data and guarantee that there will be no further loading of data from the underlying `DataStreamSupporter.DataStreamContainer`([DataStreamSupporter.getDataStreamContainer](../../com.aspose.imaging/datastreamsupporter\#getDataStreamContainer)). |
| [resize(int newWidth, int newHeight, int resizeType)](#resize-int-int-int-) | Resize the image to fit the specified dimensions while preserving its aspect ratio. |
Expand Down Expand Up @@ -200,6 +205,29 @@ Retrieves the file format of the image, providing essential metadata for process

**Returns:**
long - file format
### getXmpData() {#getXmpData--}
```
public XmpPacketWrapper getXmpData()
```


Gets XMP data.

**Returns:**
[XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) - XMP data.
### setXmpData(XmpPacketWrapper value) {#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-}
```
public void setXmpData(XmpPacketWrapper value)
```


Sets XMP data.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) | XMP data. |

### getDefaultOptions(Object[] args) {#getDefaultOptions-java.lang.Object---}
```
public ImageOptionsBase getDefaultOptions(Object[] args)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Manipulate Microsoft Windows Metafile (WMF) images with our API, seamlessly hand
| [resizeCanvas(Rectangle newRectangle)](#resizeCanvas-com.aspose.imaging.Rectangle-) | Resize the canvas of the image, adjusting its dimensions while retaining the image content. |
| [addRecord(WmfObject record)](#addRecord-com.aspose.imaging.fileformats.wmf.objects.WmfObject-) | Incorporate the specified record object into the image, enriching its content with additional data or metadata. |
| [getPostScript()](#getPostScript--) | Access the PostScript data associated with the image, providing detailed information about its structure or content. |
| [getOriginalOptions()](#getOriginalOptions--) | Gets the original image options. |

## Example: The following example shows how to convert a compressed images (*.
The following example shows how to convert a compressed images (*.emz,*.wmz, *.svgz) to raster format
Expand Down Expand Up @@ -361,3 +362,13 @@ Access the PostScript data associated with the image, providing detailed informa

**Returns:**
java.lang.String - The post script
### getOriginalOptions() {#getOriginalOptions--}
```
public ImageOptionsBase getOriginalOptions()
```


Gets the original image options.

**Returns:**
[ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase) - The original image options.
Loading

0 comments on commit c225f2c

Please sign in to comment.