This project is read-only.

Inserting .TIFF images into .XLS

Jan 28, 2015 at 5:08 PM
Is it possible using NPOI to insert .TIFF images into .XLS?

I know that NPOI supports multiple image formats but I dont see .TIFF as being one of them. See the code below:
 public class HSSFPictureData
    {
        // MSOBI constants for various formats.
        public const short MSOBI_WMF = 0x2160;
        public const short MSOBI_EMF = 0x3D40;
        public const short MSOBI_PICT = 0x5420;
        public const short MSOBI_PNG = 0x6E00;
        public const short MSOBI_JPEG = 0x46A0;
        public const short MSOBI_DIB = 0x7A80;
Is it possible to modify this class to include a MSOBI for TIFF files? If so, does anyone know what the value would be?