GithubHelp home page GithubHelp logo

jaylpp / aspose.cad-for-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aspose-cad/aspose.cad-for-java

0.0 0.0 0.0 10.75 MB

Aspose.CAD for Java examples, plugins and showcases

Home Page: https://www.aspose.com/products/cad/java

License: MIT License

aspose.cad-for-java's Introduction

GitHub

CAD File Conversion API for Java

Aspose.CAD for Java allows developers to convert AutoCAD DWG and DXF files to PDF and Raster images. It is a native API and does not require AutoCAD or any other software to be installed. You can also convert the selected layers and layouts from the AutoCAD files. The conversion to PDF and Raster images is of very high quality.

Directory Description
Examples A collection of Java examples that help you learn the product features.

CAD File Processing

Read CAD Formats

AutoCAD: DWG, DWT, DWF, DWXF, IFC, PLT
MicroStation: DGN
The Advanced Visualizer: OBJ
Other: STL, IGES, CFF2

Save CAD As

Fixed Layout: PDF
Raster Images: PNG, BMP, TIFF, JPEG, GIF

Read & Write

CAD: DXF
(Write features is partially supported.)

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), J2SE 8.0 (1.8)

Get Started with Aspose.CAD 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.CAD for Java from Maven Repository documentation page.

Convert DXF Drawing to PNG Format

Image image = Image.load("template.dxf"); 

// create an instance of CadRasterizationOptions
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();

// set page width & height
rasterizationOptions.setPageWidth(1200);
rasterizationOptions.setPageHeight(1200);

// create an instance of PngOptions for the resultant image
ImageOptionsBase options = new PngOptions();

// set rasterization options
options.setVectorRasterizationOptions(rasterizationOptions);

// save resultant image
image.save("output.png", options);

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

aspose.cad-for-java's People

Contributors

ahmad-chishti avatar aspose-cad-gists avatar aspose-words-gists avatar babar-raza avatar farooqsheikhpk avatar ikram-haq avatar m-ikramulhaq avatar mannanfazil avatar msohailismail avatar mudassirfayyaz avatar muhammad-adnan-ahmad avatar rizwanniazigroupdocs avatar saudaspose avatar sohail-aspose avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.