Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

New Post: Inserting .TIFF images into .XLS

$
0
0
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?

Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>