How to Store Multipage Tiff into a ByteArray
How to Store Multipage Tiff into a ByteArray
Hi Support-Team,
can you post please a vb example how to create a store a multipage tiff into a byte array without saving as file bevore?
ex. Imaging1.TiffSaveMultiPageAsByteArray FileBytes, lByteSize, "tif", 2
Greetz
Heiko
can you post please a vb example how to create a store a multipage tiff into a byte array without saving as file bevore?
ex. Imaging1.TiffSaveMultiPageAsByteArray FileBytes, lByteSize, "tif", 2
Greetz
Heiko
Re: How to Store Multipage Tiff into a ByteArray
Hi,
Currently, the only way is to create a multipage image into a file and to set the file content to a byte array:
IE:
Best regards,
Loïc
Currently, the only way is to create a multipage image into a file and to set the file content to a byte array:
IE:
Code: Select all
ReDim ByteArray(0 To FileLen("TheFile") - 1) as Byte
fHandle = FreeFile()
Open "TheFile" For Binary Access Read As fHandle
Get fHandle, , ByteArray()
Close #fHandle
Best regards,
Loïc
Re: How to Store Multipage Tiff into a ByteArray
I know this way. But you support Imaging1.SaveAsByteArray to save single images. Why not Multipage Tiff??
Re: How to Store Multipage Tiff into a ByteArray
Code: Select all
Why not Multipage Tiff??
Best regards,
Loïc
Re: How to Store Multipage Tiff into a ByteArray
Is there any update to this? I REALLY need to save a multi-page TIFF to a byte array and I don't have the option of creating a new file on the PC's disk.
Who is online
Users browsing this forum: No registered users and 2 guests