Browse our Products

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-imaging</artifactId>
    <version>23.2</version>
    <classifier>jdk16</classifier>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-imaging', version: '23.2', classifier: 'jdk16')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-imaging" rev="23.2">
    <artifact name="aspose-imaging" m:classifier="jdk16" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-imaging" % "23.2"
copied!  

Java API for Image Processing

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

It is a standalone Imaging API consisting of Java routines that enable your Java applications to draw as well as perform basic to advanced level processing of raster & vector images.

Aspose.Imaging for Java offers robust image compression and high processing speed through native byte access and a range of efficient algorithms. It not only manipulate, export and convert images but also lets you dynamically draw objects using pixel manipulation and Graphics Path.

Imaging API Features

  • Draw raster images with graphics.
  • Draw vector images.
  • Converting images to various formats.
  • Apply masking as well as Median & Wiener filters.
  • Crop, rotate & resize images via API.
  • De-skew & transform images.
  • Set image properties.

Read & Write Image Formats

Raster Formats: JPEG2000, JPEG, BMP, TIFF, GIF, PNG, APNG
Metafiles: EMF, EMZ, WMF, WMZ
Other: SVG, SVGZ, DICOM

Save Images As

Fixed: PDF
Photoshop: PSD
Markup: HTML5 Canvas

Read Image Formats

Various: DjVu, DNG, ODG, CMX, CDR, DIB, OTG, FODG, EPS (raster preview only), WEBP

Supported Operating Systems

Aspose.Imaging for Java can be virtually run in any OS where Java is installed (since JDK 1.6)

  • Windows (since 7)
  • Linux
  • MacOS
  • Any OS where Java is installed.

Aspose.Imaging works for both x86 and x64 versions of the above listed operating systems.

Note: In Linux OS, it is recommended to install the package with Microsoft compatible fonts (e.g. sudo apt-get install ttf-mscorefonts-installer).

Get Started

Aspose.Imaging Java APIs are hosted at the Aspose Repository. You can easily use Aspose.BarCode for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Imaging for Java from Maven Repository documentation page.

Crop EMF Image by Rectangle

try (MetafileImage metaImage = (MetafileImage) Image.load(dataDir + "Picture1.emf"))
{
	// create an instance of Rectangle class with desired size
	Rectangle rectangle = new Rectangle(10, 10, 100, 100);

	// perform the crop operation on object of Rectangle class
	metaImage.crop(rectangle);

	// save the result in PNG format
	metaImage.save(dataDir + "CropbyRectangle_out.png", new PngOptions());
}

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

VersionRelease Date
24.12December 3, 2024
24.11November 5, 2024
24.10October 8, 2024
24.9September 5, 2024
24.8August 5, 2024
24.7.1July 4, 2024
24.7July 3, 2024
24.6June 4, 2024
24.5May 3, 2024
24.4April 4, 2024
24.3April 4, 2024
24.2February 1, 2024
23.12December 18, 2023
23.11November 29, 2023
23.10October 30, 2023
23.9September 26, 2023
23.8August 29, 2023
23.7July 31, 2023
23.6June 29, 2023
23.5May 25, 2023
23.4April 27, 2023
23.3March 30, 2023
23.2February 20, 2023
22.12December 5, 2022
22.11November 14, 2022
22.10October 3, 2022
22.9September 2, 2022
22.8August 4, 2022
22.7July 7, 2022
22.6June 7, 2022
22.5May 13, 2022
22.4April 11, 2022
22.3March 7, 2022
22.2February 1, 2022
21.12December 1, 2021
21.11November 3, 2021
21.10October 7, 2021
21.9September 13, 2021
21.8August 5, 2021
21.7July 5, 2021
21.6June 1, 2021
21.5May 6, 2021
21.4April 5, 2021
21.3March 9, 2021
21.2February 8, 2021
20.12December 31, 2020
20.11November 26, 2020
20.10October 24, 2020
20.9September 28, 2020
20.8August 26, 2020
20.7July 22, 2020
20.6June 17, 2020
20.5May 20, 2020
20.4April 23, 2020
20.3March 19, 2020
20.2February 21, 2020
19.12December 16, 2019
19.11November 13, 2019
19.10October 4, 2019
19.9September 10, 2019
19.7July 30, 2019
19.6June 29, 2019
19.4April 25, 2019
19.3March 28, 2019
19.2February 27, 2019
19.1January 23, 2019
18.11November 26, 2018
18.9September 26, 2018
18.8August 30, 2018
18.7July 23, 2018
18.6June 12, 2018
18.4April 30, 2018
18.3March 29, 2018
18.2February 23, 2018
17.12December 28, 2017
17.11November 29, 2017
17.9September 29, 2017
17.7July 28, 2017
17.6June 30, 2017
17.4April 21, 2017
17.03March 14, 2017
17.01January 31, 2017
16.12December 31, 2016
16.10October 25, 2016
3.9.0September 23, 2016
3.8.1September 1, 2016
3.8.0August 12, 2016
3.7.0July 21, 2016
3.6.0June 21, 2016
3.6June 8, 2016
3.5May 12, 2016
3.4April 13, 2016
3.3January 25, 2016