On client side I have image in TIFF images with multiple pages.
Firt I convert this image file to byte array and then I sent this data to web service.
For converting TIFF to byte array I use method System.IO.File.ReadAllBytes
.
On web service side I would like convert this byte array to If byte array contains invalid data it will be nice to have som control.
Then I need do these things:
parse all pages from multi TIFF image to objects type of
System.Drawing.Image
get specified images from multi TIFF
convert
BitMiracle.LibTiff.Classic.Tiff
object to byte arraysave
BitMiracle.LibTiff.Classic.Tiff
object to disk in TIFF format
I google it, tried many samples but for me is bit problem convert byte array to
BitMiracle.LibTiff.Classic.Tiff
(and back) and convert BitMiracle.LibTiff.Classic.Tiff
object which hold multi TIFF to
collection of System.Drawing.Image
.