SaveAsJPEG() mirrors image

Discussions about image processing and document imaging.
Post Reply
lokelo
Posts: 17
Joined: Fri Mar 28, 2008 9:00 pm

SaveAsJPEG() mirrors image

Post by lokelo » 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

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)

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: SaveAsJPEG() mirrors image

Post by Loïc » Wed Aug 06, 2008 11:09 am

Hi,

Thanks for the file. This problem is now fixed.

Please download the last version.

Best regards,

Loïc

lokelo
Posts: 17
Joined: Fri Mar 28, 2008 9:00 pm

Re: SaveAsJPEG() mirrors image

Post by lokelo » Wed Aug 06, 2008 2:58 pm

Thanks for the great support as always Loïc!
Worked like a charm this time.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest