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...

Tutorial: Split a Multipage Image File Into Separate Files

Posted on 2020-05-07 by Gabriel Smith

In a previous post, we shared a tutorial on how to create a multipage file from multiple images. However, sometimes developers are looking to split a multipage file into separate files instead. In an office workspace, there is always something that needs to be printed and signed. Whether it's for approving an idea, or for legal purposes, these documents are usually more than one page long. The signer will not want to print out every page of the document just to sign one page, that would only be a waste of time and paper. Splitting the document up will give you the one page that needs to be signed. Splitting files apart can easily be done when using the RasterCodecs Save Method within the LEADTOOLS Imaging libraries.

Continue Reading...

Categories:

General Imaging

Tags:

Document

Tutorial: Create a Multipage File from Multiple Images

Posted on 2020-05-05 by Gabriel Smith

There are many files that exist in the workplace that are multiple pages long. Having the ability to load, split, and extract is a vital need of many applications. Some of the most common multipage file types are: PDF, TIFF, and Microsoft Office formats such as Docx, Doc, Xls, and Xlsx. LEADTOOLS supports all of these as well as over 30 other multipage formats. Since there are so many different types of multipage formats, it can be a headache trying to support the common ones and a nightmare trying to support them all. Luckily, the LEADTOOLS SDK can get this app done in less than five lines of code.

Continue Reading...

Categories:

General Imaging

Tags:

Document

Tutorial: Load and Save Images

Posted on 2020-04-30 by Greg

No matter what task you may come across, imaging projects will always have a requirement to load image files. Images can come in all different containers, compressions, sizes, bits per pixels, and resolutions. Having to worry about supporting all these different things can become a nightmare for a developer. Thankfully, with the LEADTOOLS Imaging SDK, you don’t have to worry about any of this. Simply call a single function and the image can be loaded quickly and efficiently.

Continue Reading...
LEADTOOLS Blog

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