Skip to content

Commit a64decb

Browse files
author
Samer El-Khatib
committed
Release 24.6 - Updates java
1 parent 17a761a commit a64decb

File tree

48 files changed

+446
-294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+446
-294
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@ The package contains EXIF related helper classes and methods.
1919
| [JpegExifData](../com.aspose.imaging.exif/jpegexifdata) | EXIF data container for jpeg files. |
2020
| [MakerNote](../com.aspose.imaging.exif/makernote) | Represents a single Maker Note record. |
2121
| [TiffDataTypeController](../com.aspose.imaging.exif/tiffdatatypecontroller) | Represents general class for working with tiff data types. |
22+
23+
## Interfaces
24+
25+
| Interface | Description |
26+
| --- | --- |
27+
| [IHasExifData](../com.aspose.imaging.exif/ihasexifdata) | [ExifData](../com.aspose.imaging.exif/exifdata) instance container interface. |
28+
| [IHasJpegExifData](../com.aspose.imaging.exif/ihasjpegexifdata) | [JpegExifData](../com.aspose.imaging.exif/jpegexifdata) instance container interface. |
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: IHasExifData
3+
second_title: Aspose.Imaging for Java API Reference
4+
description: instance container interface.
5+
type: docs
6+
weight: 15
7+
url: /java/com.aspose.imaging.exif/ihasexifdata/
8+
---
9+
**All Implemented Interfaces:**
10+
[com.aspose.imaging.IHasMetadata](../../com.aspose.imaging/ihasmetadata)
11+
```
12+
public interface IHasExifData extends IHasMetadata
13+
```
14+
15+
[ExifData](../../com.aspose.imaging.exif/exifdata) instance container interface.
16+
## Methods
17+
18+
| Method | Description |
19+
| --- | --- |
20+
| [getExifData()](#getExifData--) | Gets Exif instance. |
21+
| [setExifData(ExifData value)](#setExifData-com.aspose.imaging.exif.ExifData-) | Sets Exif instance. |
22+
### getExifData() {#getExifData--}
23+
```
24+
public abstract ExifData getExifData()
25+
```
26+
27+
28+
Gets Exif instance.
29+
30+
**Returns:**
31+
[ExifData](../../com.aspose.imaging.exif/exifdata) - Exif instance.
32+
### setExifData(ExifData value) {#setExifData-com.aspose.imaging.exif.ExifData-}
33+
```
34+
public abstract void setExifData(ExifData value)
35+
```
36+
37+
38+
Sets Exif instance.
39+
40+
**Parameters:**
41+
| Parameter | Type | Description |
42+
| --- | --- | --- |
43+
| value | [ExifData](../../com.aspose.imaging.exif/exifdata) | Exif instance. |
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: IHasJpegExifData
3+
second_title: Aspose.Imaging for Java API Reference
4+
description: instance container interface.
5+
type: docs
6+
weight: 16
7+
url: /java/com.aspose.imaging.exif/ihasjpegexifdata/
8+
---
9+
**All Implemented Interfaces:**
10+
[com.aspose.imaging.exif.IHasExifData](../../com.aspose.imaging.exif/ihasexifdata)
11+
```
12+
public interface IHasJpegExifData extends IHasExifData
13+
```
14+
15+
[JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) instance container interface.
16+
## Methods
17+
18+
| Method | Description |
19+
| --- | --- |
20+
| [getJpegExifData()](#getJpegExifData--) | Gets Exif instance. |
21+
| [setJpegExifData(JpegExifData value)](#setJpegExifData-com.aspose.imaging.exif.JpegExifData-) | Sets Exif instance. |
22+
### getJpegExifData() {#getJpegExifData--}
23+
```
24+
public abstract JpegExifData getJpegExifData()
25+
```
26+
27+
28+
Gets Exif instance.
29+
30+
**Returns:**
31+
[JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) - Exif instance.
32+
### setJpegExifData(JpegExifData value) {#setJpegExifData-com.aspose.imaging.exif.JpegExifData-}
33+
```
34+
public abstract void setJpegExifData(JpegExifData value)
35+
```
36+
37+
38+
Sets Exif instance.
39+
40+
**Parameters:**
41+
| Parameter | Type | Description |
42+
| --- | --- | --- |
43+
| value | [JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) | Exif instance. |
44+

english/java/com.aspose.imaging.exif/jpegexifdata/_index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ EXIF data container for jpeg files.
2020
| [JpegExifData()](#JpegExifData--) | Initializes a new instance of the `JpegExifData` class. |
2121
| [JpegExifData(TiffDataType[] exifdata)](#JpegExifData-com.aspose.imaging.fileformats.tiff.TiffDataType---) | Initializes a new instance of the `JpegExifData` class with data from array. |
2222
| [JpegExifData(TiffDataType[] commonTags, TiffDataType[] exifTags, TiffDataType[] gpsTags)](#JpegExifData-com.aspose.imaging.fileformats.tiff.TiffDataType---com.aspose.imaging.fileformats.tiff.TiffDataType---com.aspose.imaging.fileformats.tiff.TiffDataType---) | Initializes a new instance of the `JpegExifData` class with data from array. |
23+
| [JpegExifData(ExifData exifdata)](#JpegExifData-com.aspose.imaging.exif.ExifData-) | Initializes a new instance of the [JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) class with data from array. |
2324
## Fields
2425

2526
| Field | Description |
@@ -114,6 +115,19 @@ Initializes a new instance of the `JpegExifData` class with data from array.
114115
| exifTags | [TiffDataType\[\]](../../com.aspose.imaging.fileformats.tiff/tiffdatatype) | The EXIF tags. |
115116
| gpsTags | [TiffDataType\[\]](../../com.aspose.imaging.fileformats.tiff/tiffdatatype) | The GPS tags. |
116117

118+
### JpegExifData(ExifData exifdata) {#JpegExifData-com.aspose.imaging.exif.ExifData-}
119+
```
120+
public JpegExifData(ExifData exifdata)
121+
```
122+
123+
124+
Initializes a new instance of the [JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) class with data from array.
125+
126+
**Parameters:**
127+
| Parameter | Type | Description |
128+
| --- | --- | --- |
129+
| exifdata | [ExifData](../../com.aspose.imaging.exif/exifdata) | Array of EXIF tags together with common and GPS tags. |
130+
117131
### MAX_EXIF_SEGMENT_SIZE {#MAX-EXIF-SEGMENT-SIZE}
118132
```
119133
public static final int MAX_EXIF_SEGMENT_SIZE

english/java/com.aspose.imaging.fileformats.dicom/dicomimage/_index.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ This Class implements Digital Imaging and Communications in Medicine (DICOM) ras
3838
| [hasAlpha()](#hasAlpha--) | Retrieve whether the image has an alpha channel effortlessly with this intuitive property. |
3939
| [getPageExportingAction()](#getPageExportingAction--) | Manage the page exporting action with this intuitive property. |
4040
| [setPageExportingAction(PageExportingAction value)](#setPageExportingAction-com.aspose.imaging.PageExportingAction-) | Manage the page exporting action with this intuitive property. |
41-
| [getXmpData()](#getXmpData--) | Access or modify the XMP metadata associated with the image using this intuitive property. |
42-
| [setXmpData(XmpPacketWrapper value)](#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-) | Access or modify the XMP metadata associated with the image using this intuitive property. |
4341
| [addPage(RasterImage page)](#addPage-com.aspose.imaging.RasterImage-) | Expand your image collection by adding a new page with this intuitive method. |
4442
| [saveAll(String filePath, ImageOptionsBase options)](#saveAll-java.lang.String-com.aspose.imaging.ImageOptionsBase-) | Preserve the object's data by saving it to the designated file (indexer + filename) location along with specified file format and options. |
4543
| [setResolution(double dpiX, double dpiY)](#setResolution-double-double-) | Adjust the resolution of this [RasterImage](../../com.aspose.imaging/rasterimage) with precision using this straightforward method. |
@@ -360,29 +358,6 @@ Manage the page exporting action with this intuitive property. Ideal for develop
360358
| --- | --- | --- |
361359
| value | [PageExportingAction](../../com.aspose.imaging/pageexportingaction) | the page exporting action. |
362360

363-
### getXmpData() {#getXmpData--}
364-
```
365-
public XmpPacketWrapper getXmpData()
366-
```
367-
368-
369-
Access or modify the XMP metadata associated with the image using this intuitive property. Ideal for developers seeking to manage metadata information embedded within the image file, ensuring seamless integration and customization in various image processing workflows.
370-
371-
**Returns:**
372-
[XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper)
373-
### setXmpData(XmpPacketWrapper value) {#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-}
374-
```
375-
public void setXmpData(XmpPacketWrapper value)
376-
```
377-
378-
379-
Access or modify the XMP metadata associated with the image using this intuitive property. Ideal for developers seeking to manage metadata information embedded within the image file, ensuring seamless integration and customization in various image processing workflows.
380-
381-
**Parameters:**
382-
| Parameter | Type | Description |
383-
| --- | --- | --- |
384-
| value | [XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) | |
385-
386361
### addPage(RasterImage page) {#addPage-com.aspose.imaging.RasterImage-}
387362
```
388363
public void addPage(RasterImage page)

english/java/com.aspose.imaging.fileformats.dicom/dicomimageinfo/_index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Contains all meta-information from Dicom file header
2323
| [getDicomInfo()](#getDicomInfo--) | Gets the header information of the DICOM file. |
2424
| [getSamplesPerPixel()](#getSamplesPerPixel--) | Gets a value of the "samplesPerPixel". |
2525
| [getBitsAllocated()](#getBitsAllocated--) | Gets a value of the "bitsAllocated". |
26+
| [getBitsStored()](#getBitsStored--) | Gets the number of stored bits. |
2627
| [getPhotoInterpretation()](#getPhotoInterpretation--) | Gets a value of the "PhotoInterpretation". |
2728
| [getWidth()](#getWidth--) | Gets the width. |
2829
| [getHeight()](#getHeight--) | Gets the height. |
@@ -179,6 +180,16 @@ Value: The value of the "bitsAllocated".
179180

180181
**Returns:**
181182
int - a value of the "bitsAllocated".
183+
### getBitsStored() {#getBitsStored--}
184+
```
185+
public int getBitsStored()
186+
```
187+
188+
189+
Gets the number of stored bits.
190+
191+
**Returns:**
192+
int - the number of stored bits.
182193
### getPhotoInterpretation() {#getPhotoInterpretation--}
183194
```
184195
public String getPhotoInterpretation()

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

Lines changed: 71 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ url: /java/com.aspose.imaging.fileformats.jpeg/jpegimage/
88
---
99
**Inheritance:**
1010
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.RasterImage](../../com.aspose.imaging/rasterimage), [com.aspose.imaging.RasterCachedImage](../../com.aspose.imaging/rastercachedimage)
11+
12+
**All Implemented Interfaces:**
13+
com.aspose.internal.IMetadataContainer, [com.aspose.imaging.exif.IHasJpegExifData](../../com.aspose.imaging.exif/ihasjpegexifdata)
1114
```
12-
public final class JpegImage extends RasterCachedImage
15+
public final class JpegImage extends RasterCachedImage implements IMetadataContainer, IHasJpegExifData
1316
```
1417

1518
Efficiently manipulate JPEG raster images with our API, offering support for various color profiles such as RGB and CMYK, customizable bits per pixel resolution, and processing of EXIF, JFIF, and XMP metadata containers. Enjoy automated rotation based on orientation data and choose from different compression levels, including lossless JPEG, to achieve optimal image quality and file size balance for your projects.
@@ -31,10 +34,12 @@ Efficiently manipulate JPEG raster images with our API, offering support for var
3134
| [getBitsPerPixel()](#getBitsPerPixel--) | Retrieve the pixel depth of the image effortlessly with this property, offering insights into the richness of color or grayscale representation. |
3235
| [getComment()](#getComment--) | Manage JPEG file comments with this property, allowing you to add or retrieve descriptive annotations associated with the image. |
3336
| [setComment(String value)](#setComment-java.lang.String-) | Manage JPEG file comments with this property, allowing you to add or retrieve descriptive annotations associated with the image. |
34-
| [getExifData()](#getExifData--) | Manage EXIF data with this property, allowing you to add or retrieve metadata associated with the image. |
35-
| [setExifData(JpegExifData value)](#setExifData-com.aspose.imaging.exif.JpegExifData-) | Manage EXIF data with this property, allowing you to add or retrieve metadata associated with the image. |
37+
| [getJpegExifData()](#getJpegExifData--) | Gets Exif instance. |
38+
| [setJpegExifData(JpegExifData value)](#setJpegExifData-com.aspose.imaging.exif.JpegExifData-) | Manage EXIF data with this property, allowing you to add or retrieve metadata associated with the image. |
3639
| [getXmpData()](#getXmpData--) | Handle XMP metadata with this property, enabling seamless integration of descriptive information into the image file. |
37-
| [setXmpData(XmpPacketWrapper value)](#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-) | Handle XMP metadata with this property, enabling seamless integration of descriptive information into the image file. |
40+
| [setXmpData(XmpPacketWrapper value)](#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-) | Sets XMP metadata, enabling seamless integration of descriptive information into the image file. |
41+
| [getExifData()](#getExifData--) | Gets Exif data; |
42+
| [setExifData(ExifData value)](#setExifData-com.aspose.imaging.exif.ExifData-) | Sets Exif data; |
3843
| [getHeight()](#getHeight--) | Retrieve the height of the image effortlessly with this property. |
3944
| [getHorizontalResolution()](#getHorizontalResolution--) | This property grants you access to the horizontal resolution of the [RasterImage](../../com.aspose.imaging/rasterimage), measured in pixels per inch. |
4045
| [setHorizontalResolution(double value)](#setHorizontalResolution-double-) | This property grants you access to the horizontal resolution of the [RasterImage](../../com.aspose.imaging/rasterimage), measured in pixels per inch. |
@@ -54,6 +59,7 @@ Efficiently manipulate JPEG raster images with our API, offering support for var
5459
| [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. |
5560
| [getIgnoreEmbeddedColorProfile()](#getIgnoreEmbeddedColorProfile--) | Retrieves or modifies the flag denoting whether the embedded color profile is disregarded. |
5661
| [setIgnoreEmbeddedColorProfile(boolean value)](#setIgnoreEmbeddedColorProfile-boolean-) | Retrieves or modifies the flag denoting whether the embedded color profile is disregarded. |
62+
| [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`. |
5763
| [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. |
5864
| [autoRotate()](#autoRotate--) | Automatically rotates the image based on orientation data extracted from Exif metadata. |
5965

@@ -246,16 +252,62 @@ Manage JPEG file comments with this property, allowing you to add or retrieve de
246252
| --- | --- | --- |
247253
| value | java.lang.String | |
248254

249-
### getExifData() {#getExifData--}
255+
### getJpegExifData() {#getJpegExifData--}
250256
```
251-
public JpegExifData getExifData()
257+
public JpegExifData getJpegExifData()
258+
```
259+
260+
261+
Gets Exif instance.
262+
263+
**Returns:**
264+
[JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) - Exif instance.
265+
### setJpegExifData(JpegExifData value) {#setJpegExifData-com.aspose.imaging.exif.JpegExifData-}
266+
```
267+
public void setJpegExifData(JpegExifData value)
252268
```
253269

254270

255271
Manage EXIF data with this property, allowing you to add or retrieve metadata associated with the image. Whether it's extracting information about the camera settings or modifying existing metadata, this property offers flexibility in managing the EXIF data container.
256272

273+
**Parameters:**
274+
| Parameter | Type | Description |
275+
| --- | --- | --- |
276+
| value | [JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) | |
277+
278+
### getXmpData() {#getXmpData--}
279+
```
280+
public XmpPacketWrapper getXmpData()
281+
```
282+
283+
284+
Handle XMP metadata with this property, enabling seamless integration of descriptive information into the image file. Whether you're extracting existing XMP metadata or updating it with new information, this property simplifies the management of extended metadata, ensuring compatibility with various applications and workflows.
285+
257286
**Returns:**
258-
[JpegExifData](../../com.aspose.imaging.exif/jpegexifdata)
287+
[XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) - XMP metadata, enabling seamless integration of descriptive information into the image file.
288+
### setXmpData(XmpPacketWrapper value) {#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-}
289+
```
290+
public void setXmpData(XmpPacketWrapper value)
291+
```
292+
293+
294+
Sets XMP metadata, enabling seamless integration of descriptive information into the image file. Whether you're extracting existing XMP metadata or updating it with new information, this property simplifies the management of extended metadata, ensuring compatibility with various applications and workflows.
295+
296+
**Parameters:**
297+
| Parameter | Type | Description |
298+
| --- | --- | --- |
299+
| value | [XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) | XMP metadata, enabling seamless integration of descriptive information into the image file. |
300+
301+
### getExifData() {#getExifData--}
302+
```
303+
public ExifData getExifData()
304+
```
305+
306+
307+
Gets Exif data;
308+
309+
**Returns:**
310+
[ExifData](../../com.aspose.imaging.exif/exifdata) - Exif data;
259311

260312
**Example: The following example shows how to extract EXIF tags from a JPEG image.**
261313

@@ -334,41 +386,18 @@ try {
334386
//The software: Adobe Photoshop Camera Raw 9.9(Macintosh)
335387
```
336388

337-
### setExifData(JpegExifData value) {#setExifData-com.aspose.imaging.exif.JpegExifData-}
389+
### setExifData(ExifData value) {#setExifData-com.aspose.imaging.exif.ExifData-}
338390
```
339-
public void setExifData(JpegExifData value)
391+
public void setExifData(ExifData value)
340392
```
341393

342394

343-
Manage EXIF data with this property, allowing you to add or retrieve metadata associated with the image. Whether it's extracting information about the camera settings or modifying existing metadata, this property offers flexibility in managing the EXIF data container.
395+
Sets Exif data;
344396

345397
**Parameters:**
346398
| Parameter | Type | Description |
347399
| --- | --- | --- |
348-
| value | [JpegExifData](../../com.aspose.imaging.exif/jpegexifdata) | |
349-
350-
### getXmpData() {#getXmpData--}
351-
```
352-
public XmpPacketWrapper getXmpData()
353-
```
354-
355-
356-
Handle XMP metadata with this property, enabling seamless integration of descriptive information into the image file. Whether you're extracting existing XMP metadata or updating it with new information, this property simplifies the management of extended metadata, ensuring compatibility with various applications and workflows.
357-
358-
**Returns:**
359-
[XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) - The XMP metadata.
360-
### setXmpData(XmpPacketWrapper value) {#setXmpData-com.aspose.imaging.xmp.XmpPacketWrapper-}
361-
```
362-
public void setXmpData(XmpPacketWrapper value)
363-
```
364-
365-
366-
Handle XMP metadata with this property, enabling seamless integration of descriptive information into the image file. Whether you're extracting existing XMP metadata or updating it with new information, this property simplifies the management of extended metadata, ensuring compatibility with various applications and workflows.
367-
368-
**Parameters:**
369-
| Parameter | Type | Description |
370-
| --- | --- | --- |
371-
| value | [XmpPacketWrapper](../../com.aspose.imaging.xmp/xmppacketwrapper) | The XMP metadata. |
400+
| value | [ExifData](../../com.aspose.imaging.exif/exifdata) | Exif data; |
372401

373402
### getHeight() {#getHeight--}
374403
```
@@ -762,6 +791,14 @@ Retrieves or modifies the flag denoting whether the embedded color profile is di
762791
| --- | --- | --- |
763792
| value | boolean | |
764793

794+
### removeMetadata() {#removeMetadata--}
795+
```
796+
public void removeMetadata()
797+
```
798+
799+
800+
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`.
801+
765802
### setResolution(double dpiX, double dpiY) {#setResolution-double-double-}
766803
```
767804
public void setResolution(double dpiX, double dpiY)

0 commit comments

Comments
 (0)