Hello,
We are having an issue with 1000+ Jpeg Encoded Single Page TIFF images. Basically we are creating an MagickImage Collection object for each Jpeg Encoded Single Page TIFF in for loop. After importing couple of 200+ pages it used to throws an error as mentioned below. and also it takes around 1-2 GB of memory as well.
Error :
Kindly Suggest !!
We are having an issue with 1000+ Jpeg Encoded Single Page TIFF images. Basically we are creating an MagickImage Collection object for each Jpeg Encoded Single Page TIFF in for loop. After importing couple of 200+ pages it used to throws an error as mentioned below. and also it takes around 1-2 GB of memory as well.
Error :
Magick: IO Error Writing Tag data 'TIFFWriteDirectoryTagData' @error/tiff.c/TIFFErrors/561
Here is the piece of code :'Generate MagicKImage Object to remove jpeg header if exists.
Dim InBitMap As Bitmap = Nothing
Using images As New ImageMagick.MagickImageCollection(FilePath)
InBitMap = images.ToBitmap()
End Using
Note : You can take any single page jpeg encoded tiff and make it 1000 copies and import it.Kindly Suggest !!