Uhhhh....I'm downloading it now but Google just complained that the file is greater than 1GB...Is there a reason this single image is larger than than a 2 hour movie? (which has 24 images/second and audio) It likely is at a higher resolution than your monitor can display anyway. It needs to be converted into an image that is more reasonable.
Okay well I see this is because the file contains 820 images. In this case I'd look into extracting each image into it's own file, then you can load that one file into the UI at a time.
Edit, here is one method of extracting images using the commandline and another tool.
Double Edit: Also interestingly enough on my system it will load the first image, but then out of memory on any other, maybe there is a bug in my code that is leaking memory.
Okay found a bug and fixed it. I wasn't releasing the previous image before loading the next, which normally wouldn't be a problem, except you are loading the same file each time and the file is quite large. This might look like a memory leak since old images aren't disposed before loading the next. Let me know if this works for you.
thanks for the code.
It works on 8 bit MultiTiff files but not on 16bit files.
Does anyone tried to load a 16bit image?
I have not, do you have a 16bit tiff file you are willing to share to see what is happening? I suspect there is something wrong with the .net functions for image selection but am unsure what it could be.
Here is an example of my 16bit image.
In the meantime, I successfully opened a 16 bit Multi-Tiff stack of thousand of images and I post here the result if someone is interested in this thread.To run it, you need to:
1- install 'tiff-3.8.2-1.exe'
2- run 'Read_Images_From_TIFFStack_Example.vi' located inside the 'MultiTiff.llb' Library where other vi's coming from the 'Libtiff3' post in this forum.
I hope this will help people.