I want to change the height of multi page TIFF image so I am using below code snippet to scale it. But It returns just first page from the tiff file , I guess it converts it to JPEG image. How to retain all pages of the file??
Thank you Ulf Dittmer, I tried from the sample example but still getting single first page that too with OutOfMemory exception. Please find updated code below.
Now I tried with ImageWriter
Below is the updated code which reads array of bytes,processes the image(scaling) and returns the array of bytes.I have not yet included scaling code. but now I don't get any image and no exception as well.
I don't quite follow that code. Please post a compilable version that reads a particular multi-page TIFF from the disk (say, "example.tiff"). If you do that I promise to look into it; this interests me.