Page 1 of 1

SaveAsJPEG() mirrors image

Posted: Wed Aug 06, 2008 4:24 am
by lokelo
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

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)

Re: SaveAsJPEG() mirrors image

Posted: Wed Aug 06, 2008 11:09 am
by Loïc
Hi,

Thanks for the file. This problem is now fixed.

Please download the last version.

Best regards,

Loïc

Re: SaveAsJPEG() mirrors image

Posted: Wed Aug 06, 2008 2:58 pm
by lokelo
Thanks for the great support as always Loïc!
Worked like a charm this time.