Batch Convert Images with Only 3 Lines of Code Using LEADTOOLS!

Posted on 2024-02-09 09:22:30 by Halah Villalobos

formats

Batch image conversion can be a valuable tool within applications to streamline workflows and prepare images for compatibility, compression, standardization, optimization, or even machine learning. LEADTOOLS stands as a reliable solution with over 165+ supported file formats to effortlessly convert files with minimal code!

Continue Reading...

Do it in the Buffer: Comparison of RasterImage Image Data Access Methods in .NET

Posted on 2020-08-25 13:40:11 by Gabriel Smith

There are several ways to access the data in a RasterImage. If you need to get the RGB values of each pixel, then the GetPixel() and GetRow() methods are the simplest methods to use.

Few Pixels

If you need to get just one pixel, then GetPixel() is the easiest. GetPixel() works with image data of any bits per pixel and returns a RasterColor that includes the alpha channel information for 32 and 64 bit images. The sample below uses GetPixel()to fill the buffer with the entire image (not recommended—more on that below).

Continue Reading...

Do it in the Buffer: Introduction to Dithering

Posted on 2019-12-19 12:27:07 by Nick Villalobos

I recently became intrigued by some art work I saw online. It is a bunch of Rubik's cubes set up to reproduce a picture.

The artists are essentially reducing the image's colors down to a palette of six colors with dithering. By dithering the picture, it appears to look like the subject from a distance because the colors mix and merge to resemble the original colors. But the closer you get to the piece, the more it appears to be a bunch of randomly ordered colored squares. It sparked the artist in me, so I decided to use LEADTOOLS to help me come up with my own Rubik's Cubism-like art.

Continue Reading...

Build a .NET Core Image Conversion MicroService with LEADTOOLS

Posted on 2019-12-18 10:32:52 by Nick Villalobos

Introduction

This post describes how to use LEADTOOLS (Windows or Linux) in .NET Core to convert almost any image to a PNG. This service can be used to display non-standard files in any modern web browser without installing plug-ins or third party code on the client.

Background

If you follow this tutorial, the resulting project demonstrates a quick and easy way to use 3rd party C API in .NET Core using DLLImport. Specifically, this project uses LEADTOOLS DLL/SO C API in .NET Core to convert files to PNG. Native .NET Core support is not available now available in LEADTOOLS version 20. An updated blog post that uses NuGet packages has been published for version 20.

Continue Reading...

Create Multipage Files Using the Xamarin Camera Control and LEADTOOLS Cloud Services

Posted on 2019-06-05 17:12:10 by Nick Villalobos

Within the past half year, LEADTOOLS has had some major releases with the SDK and the Cloud Services. Today, we are going to talk about both the Xamarin Camera Control as well as the Merge Web API. We will be using the Xamarin Camera Control to take multiple pictures and then send those image to LEAD's cloud services. Once those have been uploaded, the Merge Web API will merge all those images into one single file.

Continue Reading...
LEADTOOLS Blog

LEADTOOLS Powered by Apryse,the Market Leading PDF SDK,All Rights Reserved