EasyXLS

Images

Concept

EasyXLS™ library allows you to export images to Excel and add the images to Excel sheets like worksheets or chart sheets. The image is automatically inserted with the original size, but the size can be changed later. The width and height of the image must be specified in pixels.

EasyXLS also allows reading images from Excel files.

The library supports images in JPG, GIF, PNG, BMP and TIF file format. The old XLS file format supports only JPEG images.

Concept in action

The below example shows how to export an image to an Excel sheet.

The source code samples can be integrated in:
- ASP.NET web pages
- Windows applications
- Windows Forms (WinForms)
- Console applications
- Windows service applications
- ASP.NET MVC web applications
- PHP and ASP web pages
- Java applications

Source code sample

C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python

The screen shot provides an example of a report that has an exported image to Excel file.

Import, export image to Excel

Export image to Excel file

EasyXLS allows you to export images to Excel file using ExcelWorksheet.easy_addImage method or ExcelChartSheet.easy_addImage method. The above code sample shows how to achieve this goal.

Import image from Excel file

EasyXLS allows you to import images from Excel file using ExcelImage.getImageBytes method. The Excel file must be imported first.

Getting started with EasyXLS Excel library

To download the trial version of EasyXLS Excel Library, press the below button:

Download EasyXLS™ Excel Library for .NET and Java

If you already own a license key, you may login and download EasyXLS from your account.



Available for: Professional, Excel Writer, Excel Reader
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
.NET Excel Writer
.NET version to create and export Excel files
.NET Excel Reader
.NET version to read and import Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Java Excel Writer
Java version to create and export Excel files
Java Excel Reader
Java version to read and import Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

MS Excel 97 - 2003
MS Excel 2007 - 2010
MS Excel 2013
MS Excel 2016
MS Excel 2019
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT