How can I get image from Excel?


#1

I must save the image to database from Excel,but I can't read it.
The code like this:

Stream stream = File1.PostedFile.InputStream;
BinaryReader br = new BinaryReader(stream);
byte[] excelByte = br.ReadBytes( (int)stream.Length );

MemoryStream mStream = new MemoryStream(excelByte);
Excel excel = new Excel();
excel.Open(mStream);

Worksheet sheet = excel.Worksheets[0];

I check that --> sheet.Pictures.Count=0

why??



#2

Pictures APIs are used to insert images at run time. It doesn’t get images from templates. Aspose.Excel just load and save images in templates in their raw formats.


#3

thanks for your help...


#4

hello,

if I buy Developer Professional Subscription or others version,than can read image from excel that user upload ??

If yes, what version we need, and the price is ???


#5

Currently this feature is not supported. We will add it in the future release. The estimated arrival date will be July 15.