EasyXLS

Images

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.

Source code sample

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
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
COM+ Excel Library
full COM+ version to import, export or convert Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

Office 365
MS Excel 2021 - 2024
MS Excel 2007 - 2019
MS Excel 97 - 2003
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT