05-06-2020 08:24 AM
Hi,
I am not sure why you want to keep 8-bits: you are not loosing anything by casting to 16-bit... and if you open the file with e.g. Fiji and stretch it it looks ok.
I will try to modify my VIs to correctly handle also 8 and 32 bit inputs. Might take some time, however!
Best,
Nico
05-06-2020 09:21 AM
...took much less than I expected... 😉
Here is a corrected version of TIFF_writeMultipage.vi. Please use this one: I tested and it does indeed work with both 8 and 16 bits images.
Enjoy!
Nico
05-06-2020 09:36 AM
I did a quick test, and yes, it seems to be working. Thank you very much. This helps me a lot.
05-06-2020 09:59 AM
Great!
have fun and let me know in case you find some other bugs.
Nico
08-31-2020 06:32 AM - edited 08-31-2020 07:29 AM
Dear all,
I tried to use the function and it saves multiple images into a single multipage Tiff but in my hands, it saves multiple times the same image.
01-17-2022 08:41 AM
Hello
In case it helps, i have implemented (from the U16 only version sadly), a VI that doesn't use IMAQ but directly a 3D array to save image. I have tested it and it saves the different z stacks as you want.
06-10-2025 05:44 AM
That real works well !
And I can open it from Fiji.
But, stupid question : how can I open it back from Labview ?
thanks for your help,
06-10-2025 05:51 AM
@sebastien.schaub wrote:
That real works well !
And I can open it from Fiji.
But, stupid question : how can I open it back from Labview ?
thanks for your help,
Obviously, this can be done either by parsing the data byte by byte in pure LabVIEW code exactly as it was created, or by using any suitable library that supports it — OpenCV, for example.
06-12-2025 03:21 AM
But there is libtiff3 that could most probably do the job ?
I didn't find where ti get the libraries for 64bit (and I don't have the skills to compile it)
Thanks for your help !
06-12-2025 10:56 AM
@sebastien.schaub wrote:
That real works well !
And I can open it from Fiji.
But, stupid question : how can I open it back from LabVIEW ?
The attached VI loads TIFF file into clipboard.
You can import it from clipboard into 2D Picture Ctrl or .Net Picture Box.