SaveAsJPEG() mirrors image
Posted: Wed Aug 06, 2008 4:24 am
I'm having issues with GDPicture mirroring images.
The images are somewhat largish (maps) JPEG images that i'm trying to resave with higher compression. It does not mirror every image, only some.
I'm using version 5.603.
The code i'm using is below.
And my file I'm using is here: http://www.yousendit.com/download/Q01GS ... amRjR0E9PQ
The images are somewhat largish (maps) JPEG images that i'm trying to resave with higher compression. It does not mirror every image, only some.
I'm using version 5.603.
The code i'm using is below.
And my file I'm using is here: http://www.yousendit.com/download/Q01GS ... amRjR0E9PQ
Code: Select all
Dim img As New cImaging
Dim stat As GdPictureStatus
Dim intImgId As Integer
Dim strInFile, strOutFile As String
strInFile = "C:\temp\StormWallets\davidopltracktrack02.jpg"
strOutFile = "C:\temp\StormWallets\out.jpg"
img.SetLicenseNumber("XXX")
Console.WriteLine(img.GetVersion) 'returns 5.603
intImgId = img.CreateImageFromFile(strInFile)
stat = img.GetStat
stat = img.SaveAsJPEG(strOutFile, 50)