Page 1 of 1

Byte array of the loaded Tiff file.

Posted: Mon May 11, 2009 10:58 pm
by prasanth
Hi Alex,

Is there any way to get the byte array of the loaded Tiff file and also the physical size of the file?.

Thanks
Prasanth

Re: Byte array of the loaded Tiff file.

Posted: Tue May 12, 2009 8:42 am
by Alex
Hi Prasanth,

You can save loaded image to the MemoryStream object and get access to byte array of TIFF file. Please read description of the VintasoftImage.Save(stream, encoder) method in documentation.

Best regards, Alexander

Re: Byte array of the loaded Tiff file.

Posted: Wed May 13, 2009 4:08 pm
by prasanth
Thanks Alex,

Is there any way to get the physical size of the loaded Tiff file?

Thanks
Prasanth

Re: Byte array of the loaded Tiff file.

Posted: Wed May 13, 2009 4:48 pm
by Alex
Hi Prasanth,

You can get the filename of loaded TIFF file from the VintasoftImage.ImageSourceFilename property and get size of the file.

Best regards, Alexander