Category Archive: GroupDocs.Conversion Product Family

Official blog with announcements of newly supported features, hot fixes, technical articles, tips and videos of GroupDocs.Conversion – A document Conversion API for .NET, Java and Cloud.

Convert a JPEG file to PSD programmatically in C#

You can convert an image file (e.g. JPEG, JPG, PNG) to PSD format and redesign it as per your requirements using GroupDocs.Conversion for .NET. All you have to do is to integrate this DLL in your web, desktop or console application.

Implementation

  • Pass source document path as a constructor parameter to the instance of Converter class
  • Instantiate ImageConvertOptions
  • Specify resultant image format using Format property of ImageConvertOptions class
  • Declare SavePageStream delegate, which should proved a stream where each document page
Continue Reading
Posted in GroupDocs.Conversion Product Family | Tagged , , ,

Convert a PDF document to HTML using C#

Using GroupDocs.Conversion for .NET, it is possible to convert any PDF document to HTML file in C#. Conversion process or feature is not limited to PDF files only. You can convert any supported file format to HTML.
GroupDocs.Conversion for .NET is a back-end API that can be integrated in any (new or existing) .NET application.

C# Example: How to Convert a PDF to HTML

This API can convert any source document to a markup format which in general is … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , , , ,

Convert Documents to Grayscale Image with different Options using C#

The first and foremost question in your mind could be, is it about converting an RGB image to Grayscale only? No, you can convert any supported file format (including images) to a black-and-white or gray monochrome image. The contrast ranges from black at the weakest intensity to white at the strongest.
See the below demonstration. We converted the first page of a PDF file to grayscale image. You can manage brightness, contrast, or gamma of the resultant image as well. … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , ,

Convert Documents to Excel XLS, XLSX or any Other in C#

Is it about converting a particular file format, let’s say convert PDF to Excel spreadsheet? The answer is No. There are a bunch of regularly used and common file formats (Word, Presentation, Image, PDF, etc) that you can convert to Excel using GroupDocs.Conversion for .NET.

Convert to Excel without dependency

Does it require any third party software installation?
Absolutely not. This is a back-end API that could easily be integrated into any new or existing .NET application without any dependency. … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , , , , , ,

Convert Spreadsheets using GroupDocs.Conversion for .NET and Java

Reason to use a Document Conversion API

The world is becoming a global village and businesses running all over the world interacting and collaborating with hundreds of institutions across the globe, the data gathered from different sources come in a number of different formats. Even the data arranged within an organization could be compiled in different formats depending upon the person or department gathering and maintaining it. You may also find yourself in a situation where the older files being … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , , , , , , , , , , ,

Add Watermark to Documents while Conversion in C# or Java

Document conversion is one of the most frequent processes that endures across a lot of industries. Sometimes, it is the business need to put a watermark on the resultant document after conversion. For example, you want to convert a Word document to PDF or PowerPoint PPT/PPTX to PDF with a watermark (text or image) in all the PDF pages.

GroupDocs.Conversion for .NET and Java gives you such an option. It possesses a class WatermarkOptions with rich properties such as:

  • Text/Font
Continue Reading
Posted in GroupDocs.Conversion Product Family | Tagged , , ,

Adjust Contrast when Converting a Document to Image

Up till now, there was a simple document to image conversion process. With the GroupDocs.Conversion for Java release version 19.10, we’ve added a number of interesting features for image conversion.

  • Set color mode when converting to JPEG
  • Option to set compression mode
  • Adjust image brightness and contrast
  • Set gamma
  • Option to flip image

Have a look at its implementation of the above features in Java

Conversion from CDR

CDR is a vector graphics file. API now allows you to … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , , ,

Introducing Simple and Easy to Use .NET Document Conversion API

We are introducing a new public API that is designed to be implemented easily. Those who are using previous version of the API (below 19.9), you don’t have to worry. The legacy API has been moved into legacy namespace. If you want to upgrade to v19.9, it is required to make project-wide replacement of namespace usages from GroupDocs.Conversion to GroupDocs.Conversion.Legacy in order to avoid any build issues.

Why to use new version?

  • Converter class introduced as a single entry
Continue Reading
Posted in GroupDocs.Conversion Product Family | Tagged

Convert Selected or Partial Spreadsheet Rows

You might be looking for a software component or API using that an excel sheet could be converted to PDF/Word or any other supported format partially.

What is the difference?
Many of us are just concerned with the output. Process an excel spreadsheet and get the right PDF/output. A simple conversion (Complete spreadsheet to PDF) is ideal until the source file has limited number of rows.

Partial Conversion – Usability

If you have a spreadsheet with more than 10,000 … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged ,

Retrieve Count of Credits Consumed In GroupDocs.Conversion for .NET

As you know that API already supports metered licensing.
Can we get count of credits consumed?
Yes, we have a good news for you. There is a new method GetConsumptionCredit() implemented in Metered class. This method returns count of credits that are consumed in case of Metered licensing is used.
Following example demonstrates how to retrieve count of credits consumed.

Let’s talk about the new file formats introduced. Most of you might be working with XLAM, an Excel Macro-Enabled Add-In … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged