Convert VSDX to PDF with Aspose.Diagram Cloud SDK for PHP

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello Guys! We’re pleased to share another important monthly release of Aspose.Diagram Cloud API release, 19.10. In this blog post I’ll introduce you with the new features and enhancements of the release using VSDX to PDF conversion feature.

In this release, we’ve made significant updates to improve performance and stability of Aspose.Diagram Cloud to make it the developer’s first choice for Microsoft Visio file format manipulation without depending on Microsoft Visio. We introduced SaveOption parameter for the SaveAs API to export Visio files to supported file formats with customized settings. Integrated new APIs for storage operations in the Aspose.Diagram Cloud API and many other enhancements in the API structure to make it more optimized and refined. You can check the release notes of new version to get a complete list of new features and fixes.

Let me demonstrate the some of the changes in subsequent sections.

Convert VSDX to PDF with PHP

Aspose.Diagram Cloud lets you to create and convert Microsoft Visio drawings to a number of file formats on any platform without depending on any tool or plugin. I’ll show you how easily you can convert VSDX to PDF using Aspose.Diagram Cloud SDK for PHP with new release. However, you can use the API on any language or platform that supports REST or use SDK of your favorite language directly in your application.

Here we go, follow these steps to convert VSDX to PDF:

Step 1: Sign up with aspose.cloud and get free app KEY and SID

Step 2: install PHP from the Packagist

Step 3: Create a new php file and copy paste following code to upload a VSD file to Aspose storage and convert to PDF

Tell Us What You Think

We would love you to hear from you, what you think about Aspose.Diagram Cloud API new release? If you’ve any suggestions or if you need any particular features which you expect our Aspose.Diagram REST API to have, please feel free to drop us a comment below or at the support forum. If you’ve not already tried our REST API, we encourage you sign up with the aspose.cloud for a free trial today and explore the API live examples, online Documentation and code samples on Github.

Posted in Aspose.Diagram Cloud Product Family | Tagged , , | Leave a comment

Apply Image Processing Filters with Aspose.Imaging Cloud SDK for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

With the major release of Aspose.Imaging Cloud 19.10, we’ve introduced an advanced image processing feature; support of Image processing filters. The image filters list includes a variety of the filters for image noise reduction, sharpen and smoothing images. In this release, we’ve also fixed some issues reported in our previous releases. It makes this release more reliable and stable image processing REST API. Please check the detailed release notes of Aspose.Imaging Cloud 19.10 to get an idea of all the new enhancements and bug fixes made in this release.

No matter what programming language or platform you are working on, you can rely on Aspose.Imaging Cloud for image processing operations like applying image filters, resizing, cropping, rotating, scaling, flipping, searching, exporting and converting images without depending on any third-party tool or plugin. Let me share some brief details of the new exciting feature; image processing filters.

Image Processing Filters

Starting from 19.10 release, Aspose.Imaging Cloud is introducing a wide range of image processing filters, that you can use as per your requirements. The supported image filter types are as following. It is not a final list; we will keep adding more demanding filter types in future.

  • BigRectangular
  • SmallRectangular
  • Median
  • GaussWiener
  • MotionWiener
  • GaussianBlur
  • Sharpen
  • BilateralSmoothing

Let’s have a hand-on experience of applying image filter on an image using Aspose.Imaging Cloud API. We’ll add a Gaussian blur filter. It is a low-pass filter that widely used effect in graphics software, typically to reduce image noise and reduce detail.

In following example, we’re using the cURL command line tool to apply supported image filter on an image with a simple HTTP request. You can use the REST API in any programming language that supports REST and provides native REST client to work with REST APIs. Or you can use the SDK of your choice from GitHub repository directly in your favorite language without worrying about underlying rest HTTP requests and responses.

Input

Output

Other Improvements

Other important improvements and fixes are as following:

  • Optimized the process to export SVG to raster formats.
  • Fixed SVG to PNG conversion issue, a SVG image was resulting as white PNG
  • Fixed exception on loading of a gif image
  • Added image filtering feature to all Aspose.Imaging Cloud SDKs

Try It Out and Share Your Feedback

If you’ve not already tried Aspose.Imaging Cloud, we encourage you to head over to it with a free trial today. All you need is to sign up with the aspose.cloud to get the free APP SID and KEY. Once you’ve signed up, you may go through the Online Documentation and try Live examples of APIs. We would love to hear what you think. If you’ve any questions and/or comments, please share them at support forum.

Posted in Aspose.Imaging Cloud Product Family | Tagged , , , , | Leave a comment

Show Data Labels Over the Maximum of the Chart with Aspose.Slides Cloud 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

Our Aspose.Slide Cloud monthly releases continue, and we’re happy to announce the latest version, 19.10. It’s available on production server. It improves the Chart manipulation feature of the API .It includes a new chart property ShowDataLabelsOverMaximum to show data labels over the maximum of the chart, custom HTTP headers support and issue fixes in API Explorer. Check the release notes of this version for a complete list of enhancements and improvements.

Let me give you a quick overview of some of these features, carried in this new release.

Add Chart with ShowDataLabelsOverMaximum

While working with charts, there is a scenario where your maximum data value is greater than the maximum value of the axis and data goes off the chart canvas and data label does not show up in the chart. With the introduction of new property now you can specify to show data labels over the maximum of the chart in that case.

For example, in following chart maximum value of the vertical axis is 6 but Column 04 in Category 2 has value 7, so the data label is not reflected in this case.

Now starting from this release, you can control the Data Labels appearance in discussing scenario. You can set ShowDataLablesOverMaximum to true and get the data labels in the chart:

A cURL example to update the Chart properties:

Custom HTTP Header Support

Custom HTTP headers are commonly meant to provide additional information in the HTTP request. These are used for troubleshooting, informational purposes, and even implementing particular logic on the server-side.

In this release, we have implemented a new feature to pass custom HTTP headers in Aspose.Slides Cloud SDKs. The SDKs are wrapped around Cloud APIs and support all the features of Aspose.Slides Cloud API in your favorite programming language without worrying about the underlying REST API calls.

Here you can check how to pass custom HTTP header using Aspose.Slides Cloud SDK for .NET:

To learn more about Aspose.Slides Cloud, please have a free sign up and visit following resources.

Posted in Aspose.Slides Cloud Product Family | Tagged , , , , | Leave a comment

Manipulate 3D Models and Objects with Aspose.3D Cloud

Share on FacebookTweet about this on TwitterShare on LinkedIn

Are you looking for a robust 3D modeling and transformation API?  Aspose fulfilled your quest with introduction of Aspose.3D Cloud. It will help the developers to manage file formats used in 3D modelling, gaming, computer aided design and manufacturing on any platform without dependency of any 3D modeling and rendering software.

What is Aspose.3D Cloud?

Aspose.3D Cloud is a REST API solution that helps developers to add features to create, modify and convert 3D objects, models and entities in their desktop, web and cloud applications. It supports manipulation of all popular 3D file formats. You can use it with any platform or language for example .NET, Java, PHP, Ruby, Python, Node.js and many more. You do not need to worry about language or platform limitations because almost all the platforms and languages support REST features and provide native REST clients to work with REST APIs.

It supports to convert the specific part or whole 3D file from one format to another. You can create or delete various types of 3D entities, such as 3D box, 3D cylinder, 3D sphere, torus, and 3D plane with the Cloud API. Please check the release notes of first version for a complete list of Aspose.3D Cloud API features. And once you’ve done that, give it a try for yourself.

Convert 3D Files

The Aspose.3D API allows developers to save a 3D file to any supported file format such as 3DS, AMF, RVM, DAE, DRC, FBX, gLTF, OBJ, PDF, PLY, STL, U3D, DXF, JT, X, and 3MF. You can convert a 3D file to another format with default settings or can pass a detailed setting parameter for the conversion. Below is the cURL code example for converting an FBX to 3D PDF file format, you can use SDKs for all popular programming languages from GitHub repo.

Triangulate Meshes

You would know that graphics software can operate more efficiently on triangle meshes and Aspose.3D Cloud supports this important feature. It enables you to triangulate the whole file or only a specific part of the 3D scene and save it to a different file. Here is a sample cURL command we will use to triangulate a 3D PDF file.

What’s Next

We’ve given you a quick overview of Aspose.3D Cloud. But to know more about this powerful 3D modeling and transformation solution, all you need is to sign up with aspsoe.cloud and check the API documentation section for a complete list of features with sample code examples. If you’ve any queries, feel free to post to the Aspose.3D Cloud forum. We’ll be happy to assist you with your queries and inquiries.

Posted in Aspose.3D Cloud Product Family | Tagged , , , , | Leave a comment

Data Validation in Microsoft Excel with Aspose.Cells Cloud 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We’re pleased to announce monthly release Aspose.Cells Cloud 19.10. It is already published and available for usage on the aspose.cloud production server. It includes new exciting features including delete data validation from Excel worksheets and support to add HTML string in a cell along with the issue fixes reported in the previous versions of Aspose.Cells Cloud. We’ve also updated the SDKs of all the supporting platforms for new release. You can download the latest SDKs of Aspose.Cells Cloud from the download section now, and start exploring the new features your favorite language instantly. Please spare some time and check the release notes of this version for a complete list of enhancements and improvements.

In the following sections, I’ll give you a quick walk through of the data validation feature in Microsoft Excel using Aspose.Cells Cloud API.

Data Validation in Microsoft Excel

Aspose.Cells Cloud is an easy to use REST API for spreadsheet creation, manipulation and conversion that provides all the features that Microsoft Excel provides without depending on Microsoft Excel. When setting up a workbook for your users, cell validation is one of the features that you can use data validation to restrict the type of data or the values that users enter into a cell, to make sure all data entries are accurate and consistent.

Here, I will explain how to do Data Validation in Excel using Aspose.Cells Cloud: add data validation, update data validation rule and remove all data validations from a worksheet. I am using cURL in the sample code, but you can use the SDK of your favorite programming language in your specific project. Currently, it supports SDKs for .NET, Java, PHP, Python, Ruby, Node.js, Android, Swift and Perl.

Add a data validation to a cell

Add a validation at index(A1) in a worksheet Sheet1.

Add/Update data validation rule

Add a custom data validation rule, YES or NO. Aspose.Cells Cloud API supports all types of data validation rules.

Data validation rule settings

Data validation rule test

Delete all data validations

Delete all data validations from the worksheet.

Please feel free to drop us a comment below, or share your thoughts about the new version of Aspose.Cells Cloud API on our support forum.

Resources

If you are new to Aspose.Cells Cloud and have not already had a chance to try it, simply start a free trial today. All you need is to free sign up with the aspose.cloud. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose.Cells Cloud. Following are some useful resources of Aspose.Cells Cloud you may need to accomplish your tasks.

Posted in Aspose.Cells Cloud Product Family | Tagged , , , , , | Leave a comment

Insert Checkbox and Radio Button in PDF with Aspose.PDF Cloud 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We’re happy to announce that Aspose.PDF Cloud 19.10 has been just released and available on production server. We’re continuously evolving the Aspose.PDF Cloud based on your feedback and requests. We’ve added support of Radio Box and Check Box fields in this release. These new exciting features will help you to create more interactive fillable PDF forms for data collection with simple HTTP requests. Spare some time and check release notes of this version for a complete list of enhancements and improvements.

Let me give you a quick walk through of some of these features, carried in this new release. We’ll be using Aspose.PDF Cloud SDK for .NET to exhibit new feature. However, you can use the SDK of your preferred programming language available at GitHub in your application directly.

How to Add Checkbox Field in PDF?

While working with PDF forms, you need to create checkboxes for data collection when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn’t uncheck the others. In this release, Aspose.PDF Cloud introduced support of checkbox field. Now you can add, update and get checkbox from PDF document or specific page or by checkbox field name.

Follow these steps to add a pre-selected checkbox field in a PDF document:

Step 1: Signup with aspose.cloud to get App SID and App key

Step 2: Create a new project in Visual Studio

Step 3: Install Aspose.PDF Cloud SDK for .NET NuGet Package

Step 4: Create a new method with following code to add a checkbox field in a PDF document

A cURL example to update the presentation slide size:

How to Add Radio Button Field in PDF?

A radio button is a very common control used in the forms. These are used when there is a list of two or more options that are mutually exclusive and the user must select exactly one choice. In other words, clicking a non-selected radio button will deselect whatever other button was previously selected in the list. Now you can add, update, and get radio buttons from PDF document or specific page or by radio button field name.

Here we demonstrate how to add a radio button into a PDF document using C#:

Repeat 1-3 steps from above example if required and use following code snippet to add radio button option in PDF document.

Output

To explore more about Aspose.PDF Cloud, please visit following resources.

Posted in Aspose.PDF Cloud Product Family | Tagged , , , | Leave a comment

REST API Solution to Rasterize SVG Images

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello guys, we are back with another monthly release of Aspose.Imaging Cloud, 19.9. It has been live now and available for consuming it in your application. In this release, we have introduced support of the SVG image format, improved memory usage, along with many other improvements and bug fixes of the issues reported in previous versions of Aspose.Imaging Cloud. For complete details of new features and enhancement, please check the release notes of this version. Read on to see what’s new.

Working with SVG

SVG is a more popular image format is being used because of its advantages over other file formats (like PNG, JPEG and GIF). But even then you came across a number of scenarios where you need to rasterize the SVG images. These SVG snapshots are your fallback images for old browsers, and are often required as thumbnail or preview images, particularly for social media sharing.

We have introduced new APIs for manipulating the SVG image format in current release. Now you can update the properties of an SVG image or convert it to a common raster image. All we can say is Aspose.Imaing Cloud transforms to a complete imaging solution for developers with the new feature.

Let me show you how easily you can manipulate SVG images in your application. I’m using cURL command for the demonstration. However, Aspose.Imaging Cloud also provides SDKs of all popular programming languages via GitHub and external Package Managers, so you can directly use Aspose.Imaging Cloud for image manipulation in your favorite platform directly, without a minimal learning curve.

Aspose.Imaging Cloud provides following two API for working with SVG. If you set the format to svg, API will update the source SVG image properties, otherwise it rasterizes image as per provided image format.

GET ​/imaging​/{name}​/svg – Update parameters of the existing SVG image.

POST ​/imaging​/svg – Update parameters of SVG image. Image data is passed as zero-indexed multipart/form-data content or as raw body stream.

Here we go. We will follow the stated steps for manipulating SVG image.

Update SVG Properties

  • Get JWT Access Token for authentication
  • Upload SVG source Image to Aspose default storage
  • Update SVG image properties

Rasterize SVG Image

  • Get JWT Access Token for authentication
  • Rasterize SVG image from request body and return raster image as response stream

Other Improvements

Here we go, we will follow these steps:

  • Added Svg native support
  • Established detailed logging
  • Improved memory usages in the AI API
  • Fixed bug Tiff inverts black and white after saving or transforming
  • Fixed Jpg to PNG conversion issue
  • Fixed EMF to SVG conversion issue
  • Fixed SVG to PNG incorrect conversion
  • After conversion .emf to .png some characters are not recognized correctly

We Want to Hear from You

Start a free trial today. All you need is to sign up with the aspose.cloud. Once you’ve signed up, you’re ready to try the powerful file processing features offered by aspose.cloud.

Feel free to drop us a comment below or share your thoughts about the new version of Aspose.Imaging Cloud API on our support forum.

Posted in Aspose.Imaging Cloud Product Family | Tagged , | Leave a comment

Convert Word Document to Binary TIFF Image with Aspose.Words Cloud 19.9

Share on FacebookTweet about this on TwitterShare on LinkedIn

We’re pleased to announce new monthly release Aspose.Words Cloud 19.9. It is already available on production server. The release of this month includes a number of improvements and fixes of the issue reported by our users in previous releases. Please check the detailed release notes of Aspose.Words Cloud 19.9 to get an idea of all the new enhancements and bug fixes made in this release. Read on to see what’s new.

Control Threshold for TIFF Binarization

When you are converting a Word document with images to TIFF image, you may have a requirement to control the TIFF image binarization threshold. We have introduced ImageSaveOptions.ThresholdForFloydSteinbergDithering property in this release. It determines the value of the binarization error in the Floyd-Steinberg method. It can be set when ImageBinarizationMethod FloydSteinbergDithering is used for binarization.

The default value of this property is 128. The higher the value, the darker the image. Below code example shows how to use this property while converting a DOCX to TIFF image.

Input Word Document

Output TIFF

Other Improvements

Aspose.Words Cloud provides three options to specify a range in a document

  • Added ScaleWmfFontsToMetafileSize property in MetafileRenderingOption
  • Added new ImageSaveOption “ThresholdForFloydSteinbergDithering”
  • Added ResolveFontNames property in HtmlSaveOption
  • Added text save option “ExportHeadersFootersMode”
  • Fixed an exception with Aspose.Words.FileFormatUtil
  • Fixed a bug when exporting a document to HTML with top heading
  • Fixed issue with the Paragraph API, it was returning incorrect NodeId and Href
  • Fixed issue with the Search API, it was returning Incorrect NodeId and Href of the Text
  • Fixed Error: Invalid URL: The URI scheme is not valid
  • Fixed the list marker detection (bullet symbol was blank for some fonts) issue in PDF to Word conversion
  • Improved text paragraph alignment for documents designed as books in PDF to Word conversion

Try It Out and Share Your Feedback

If you’ve not already tried our REST API, we encourage you to head over to Aspose.Words Cloud with a free trial today. All you need is to sign up with the aspose.cloud. Once you’ve signed up, you may go through the following useful resources of Aspose.Words Cloud.

We would love to hear what you think. If you have any questions and/or comments, please share them at support forum.

Posted in Aspose.Words Cloud Product Family | Tagged , , | Leave a comment

Aspose.3D Cloud is Coming Soon!

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are glad to inform you that we are going to add a new Cloud API, Aspose.3D Cloud, in the products list of aspose.cloud soon. Aspose.3D Cloud is a platform independent REST API solution to manipulate 3D files without any 3D modeling and rendering software dependencies. It will enable developers to use it in their application to create, read, convert, modify and control the substance of 3D document formats easily with minimal learning curve. The REST API will be available very soon to be consumed in your applications.

Here is a brief overview of upcoming API. It will not be limited to the following features, but we will keep adding new useful features and support of new file formats in the API.

Salient features

1. Format convert

·       Convert whole file into different format

·       Convert part of the file into different format

2. Modeling and Data Processing

·       Parametric Modeling

a.    Create entities with specific property

·       Delete object from scene

a.    Delete nodes that has a Camera or Light attached, nodes are addressed by Object Addressing Path

3. Utilities

·       Extract 3D contents from PDF file

a.    Extract raw data (without any modification) from a password protected PDF file

b.    Extract scenes and save in different format

·       Triangulate meshes

a.    Triangulate whole file and save to different file

b.    Triangulate whole file and save to original file

c.     Triangulate part of the scene (Specified by OAP) and save the scene to different file

Supported formats

Aspose.3D Cloud REST API supports following file formats and operations:

Format Description Read Write Remarks
AMF Additive manufacturing file format Yes Yes  
RVM AVEVA Plant Design Management System Model Yes Yes  
DAE Collada Yes Yes  
FBX Autodesk FBX format. Yes Yes From 7.2 to 7.5, both ASCII/Binary.
OBJ Wavefront Obj Yes Yes Including mesh/point cloud support.
PDF 3D PDF Yes Yes Only supports standard U3D embedded 3D content in PDF. PRC and U3D with RH Mesh extension are not supported yet.
PLY Polygon File Format or Stanford Triangle Format Yes Yes Including mesh/point cloud support.
STL Standard Triangle Language Yes Yes  
U3D Universal3D Yes Yes  
GLTF GL Transmission Format Yes Yes  

Security and Authentication

The Aspose.3D Cloud REST API is secured and requires JWT authentication to authenticate your API calls using an app access key ID (App SID) and app secret access key(App KEY).

API Explorer

There will be an easy way to try out our API right away in your browser with the Aspose Cloud Web API References Explorer. There will be a collection of Swagger documentation for the Aspose.3D Cloud. You can get information about all the resources in the API. It will also provide testing and interactivity to our API endpoint documentation.

SDKs

Aspose.3D Cloud will come with SDKs for all popular programing languages hosted on our GitHub repository along with working examples, to get you started in no time.

Our first version

We are currently in the process of preparing Examples and Documentation for this new product. We have planned to release the first version of the Aspsoe.3D Cloud REST API soon with features shared above. If you have any questions or suggestions, please feel free to write on aspose.cloud Forum.

Please stay tuned to this blog for further updates.

Posted in Aspose.3D Cloud Product Family | Tagged , , | Leave a comment

How to Create and Read Barcodes with C# .NET REST API

Share on FacebookTweet about this on TwitterShare on LinkedIn

Barcodes are widely used around the world for the necessary data collection. A barcode is an encoded image used to represent data in a visual and machine-readable form. As a developer, you came across a number of scenarios, where you need to create and read barcodes in your application. In this article I will share a RESTful solution, Aspose.BarCode Cloud, for working with the barcode in your application. It eliminates the requirement to install and maintain a separate software to create and read barcodes.  

Aspose.BarCode Cloud is a platform independent barcode generation and recognition solution. It enables developers to create and read 1D (Linear), 2D and postal barcodes of 60+ symbologies that can be integrated universally into any workflow, html page, web application and desktop application. While creating new barcodes you can set barcode configurations, such as, barcode bar height, its dimensions, barcode image format and so on. The API generate and recognize barcode images in a variety of image formats: JPEG, PNG, GIF, BMP, TIFF, EMF, WMF, EXIF and ICON.

I’m using Aspose.BarCode Cloud SDK for .NET in this article. However, Aspose.BarCode Cloud also provides SDKs of all popular programming languages via GitHub and external Package Managers, so you can directly implement Aspose.BarCode Cloud in your favorite platform directly, with ease.

Here we go, we will follow these steps:

How to create the barcode

Step 1

First thing first, sign up with aspose.cloud to get your AppSID and AppKey

Step 2

Create a new project in Visual Studio and install Aspose.BarCode SDK for .NET package from NuGet

PM> Install-Package Aspose.BarCode-Cloud

Step 3

Copy paste the following code in the new project to create a barcode. I have used GetBarGenerate API method in this example, it creates the barcode with specified settings and returns the result in the response stream. I have created 2D barcode(datamatrix) in this example, you can create any barcode from the supported barcode types.

Step 4

Run the code, it will save the barcode image as PNG image format. You can use response stream as per your use case.

How to read the barcode

Repeat the above steps 1-2, if required.

Step 3

Copy paste the following code in the new project to read the barcode image from local drive. It recognizes the barcode image and return the barcode type and value.

Step 4

Run the code, the API reads all the barcode images from provided image and return the details in the response.

And that’s it. You see how easy is it to create a new barcode or read a barcode image with few lines of code.

What’s Next

In case you still haven’t met the API and haven’t worked with it, free trial is right here waiting for you to give it a try and explore the power of the Aspose.BarCode Cloud API. All you need is to sign up with the aspose.cloud and visit our developer resources for a quick start:

Posted in Aspose.Total Cloud Product Family, Aspose.BarCode Cloud Product Family | Tagged , , , , | Leave a comment