- Notifications
You must be signed in to change notification settings - Fork23
aspose-imaging/Aspose.Imaging-for-Java
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Imaging API is a library offering advanced image processing features. Developers can create, edit or convert images in their own application. Also Aspose. Imaging library supports drawing and work with graphic primitives. Image export and conversion (including uniform multi-page image processing) is the one of API core features along with image transformations (resize, crop, flip&rotate, binarization, grayscale, adjust), advanced image manipulation features (filtering, dithering, masking, deskewing) and memory optimization strategies.
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. |
Directory | Description |
---|---|
Examples | A collection of Java examples that help you learn the product features. |
Plugins | Plugins related to Aspose.Imaging for Java product. |
- Draw raster images with graphics.
- Draw vector images.
- Convert images to various formats.
- Apply masking as well asMedian & Wiener filters.
- Crop, rotate & resize images via API.
- De-skew & transform images.
- Set image properties.
- Work with multipage image formats.
Raster Formats: JPEG2000, JPEG, BMP, TIFF, GIF, PNG, DICOM, TGA, ICO
Metafiles: EMF, WMF
Compressed metafiles: EMZ, WMZ
Other: WebP, Svg, Svgz (compressed Svg)
Animation: Apng
Fixed-layout: PDF
Photoshop: PSD
Web: Html5 Canvas
AutoCAD: Dxf
Various: DjVu, DNG, ODG, EPS, CMX, CDR, DIB, OTG, FODG
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
).
Aspose hosts all Java APIs at theAspose Repository. You can easily use Aspose.BarCode for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visitInstalling Aspose.Imaging for Java from Maven Repository documentation page.
try (Imageimage =Image.load(dir +"template.jpg")){image.resize(300,300);image.save(dir +"output.jpg");}
// image width and heightintwidth =500;intheight =300;// where created image to storeStringpath ="createdImage.png";// create optionstry (PngOptionsoptions =newPngOptions()){options.setSource(newFileCreateSource(path,false));try (PngImageimage = (PngImage)Image.create(options,width,height)){// create and initialize an instance of Graphics class// and Clear Graphics surfaceGraphicsgraphic =newGraphics(image);graphic.clear(Color.getGreen());// draw line on imagegraphic.drawLine(newPen(Color.getBlue()),9,9,90,90);// resize imageintnewWidth =400;image.resizeWidthProportionally(newWidth,ResizeType.LanczosResample);// crop the image to specified areacom.aspose.imaging.Rectanglearea =newcom.aspose.imaging.Rectangle(10,10,200,200);image.crop(area);image.save();}}
Home |Product Page |Docs |Demos |API Reference |Examples |Blog |Search |Free Support |Temporary License
About
Aspose.Imaging for Java
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.