Skip to content
Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

GitHub all releases GitHub

Java API for Image Processing

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.

Directory Description
Examples A collection of Java examples that help you learn the product features.
Plugins Plugins that will demonstrate one or more features of Aspose.Imaging for Java.

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

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 with Aspose.Imaging for Java

Aspose hosts all Java APIs 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

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

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

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