You are not logged in.
Pages: 1
There seems to be an issue when using SynGdiPlus.TJpegImage compiled with a 64-bit exe, the CompressionQuality setting is ignored:
Passing a bitmap to the jpeg with CompressionQuality in 32-bit at 100 gives a 280KB jpeg file, while in 64-bit it's 80 KB; setting the value to anything i.e 10 has the same result.
Offline
Perhaps the EncoderParameters structure is not exact.
You may try defining it as "record" instead of "packed record".
In fact, I suspect that most "packed record" definition in our header conversion works under Win32, but not under Win64.
Offline
Yup, removing packed fixed it, thanks!
Offline
Pages: 1