Getting an error when I run some simple code:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Code: Select all
Dim oImage As New GdPicture.GdPictureImaging
oImage.SetLicenseNumber("xxx")
Dim intID As Integer
intID = oImage.CreateGdPictureImageFromFile("D:\Images\ToProcess\4648_01.jpg")
oImage.ResizeWidthRatio(intID, 480, InterpolationMode.InterpolationModeHighQualityBilinear)
oImage.SaveAsJP2(intID, "D:\Images\Web\test.jpg")
oImage.ReleaseGdPictureImage(intID)