the simple code is below :
Dim ImageID1 As Integer = 0
Dim ImageID2 As Integer = 0
oGdPictureImaging.TiffOpenMultiPageForWrite(True)
ImageID1 = oGdPictureImaging.TiffCreateMultiPageFromFile("input.tif") 'the page count of ImageID1 is > 1
ImageID2 = oGdPictureImaging.TiffCreateMultiPageFromGdPictureImage(ImageID1) 'but the page count of ImageID2 is only 1 here when i use this method
oGdPictureImaging.ReleaseGdPictureImage(ImageID1)
who can tell me what's wrong? thanks~
Using TiffCreateMultiPageFromGdPictureImage
Re: Using TiffCreateMultiPageFromGdPictureImage
Hello,
The purpose of the TiffCreateMultiPageFromGdPictureImage() is to start a new editable multipage tiff from a single page.
If you need to clone a multi bitmap tiff into the memory, just brows through all pages of the input document in order to add individual pages to the destination image.
Kind regards,
Loïc
The purpose of the TiffCreateMultiPageFromGdPictureImage() is to start a new editable multipage tiff from a single page.
If you need to clone a multi bitmap tiff into the memory, just brows through all pages of the input document in order to add individual pages to the destination image.
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest