Hi Experts,
Strange problem in OCX written in Delphi 6.
What I'm trying to do is to send a Jpeg image to the host as OleVariant.
My Original image is in TBitmap and I assign to TJPEGImage to reduce the size.
TJPEGImage.SaveToStream() takes about 500 ms for a 200k image while
TBitmap.SavetoStream takes only about 120 ms for 10MB image.
Whats going on?
I need to send the image as Jpeg to the host. Any solution to reduce the time to transfer?.
Start Free Trial