VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 20:52:41 01/05/03 Sun
Author: Michel
Subject: Re: Conversion from Bitmap to Jpeg using Envision class
In reply to: James T. 's message, "Conversion from Bitmap to Jpeg using Envision class" on 19:01:44 12/30/02 Mon


If you only need to convert from bitmap to JPEG then using Delphi is fine since the JPEG support in Delphi and Envision uses the same underlying JPEG library.

If you want to use Envision, you don't need to use the TImageScrollBox. You can still use a TImage. Then just use a TJpegGraphic instance,

JpegGraphic.Assign( Image.Picture.Bitmap );
JpegGraphic.SaveToStream( ... );

Best regards,

Michel

>I am using a video capture component which requires a
>standard Delphi TImage component. We convert the
>bitmap stored in the TImage component to a jpeg then
>store this jpeg to a stream object. We would like to
>use the Envision classes to make this conversion to
>jpeg if we find it is faster than the standard delphi
>methods. However we cannot use the ImageScrollBox.
>Can anyone demonstrait a procedure to take a bitmap
>from the TImage object(image.Picture.Bitmap) then
>convert this bitmap to a jpeg and store the new jpeg
>in stream object.
>
>Thanks JT

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.