Hello all!
I'm working on an application where I need to get a .Net Image object from a specific PDF page. GDPicture's PDF plugin makes working with PDF's super easy but I cannot figure how how to grab a PDF page and get an Image from it.
I was expecting something like this:
Dim myImage As Image = oGDPictureImaging.GetImageFromxxxx
Any help anyone can offer would be appreciated!
-Curtis
Image from GDPictureImage?
Re: Image from GDPictureImage?
And of course...the moment i post i find the answer :
Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Integer = oGdPictureImaging.CreateGdPictureImageFromFile("input.png")
If imageId <> 0 Then
Dim Bm As Bitmap = oGdPictureImaging.GetBitmapFromGdPictureImage(ImageID)
'doing some external processing on the Bitmap
Dim ResImg As Integer = oGdPictureImaging.CreateGdPictureImageFromBitmap(Bitmap)
oGdPictureImaging.ReleaseGdPictureImage(ImageID)
End If
Thanks anyway
Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Integer = oGdPictureImaging.CreateGdPictureImageFromFile("input.png")
If imageId <> 0 Then
Dim Bm As Bitmap = oGdPictureImaging.GetBitmapFromGdPictureImage(ImageID)
'doing some external processing on the Bitmap
Dim ResImg As Integer = oGdPictureImaging.CreateGdPictureImageFromBitmap(Bitmap)
oGdPictureImaging.ReleaseGdPictureImage(ImageID)
End If
Thanks anyway
Re: Image from GDPictureImage?
Thank you for the update Curtis
Who is online
Users browsing this forum: No registered users and 0 guests