Thread: Re: Reg How to reduce the jpeg files in delphi
Re: Reg How to reduce the jpeg files in
delphi
United States
2007-05-24 04:28:44
Dear Rob Kennedy,
Thank for ur reply.I cannot reduce the piceture size in delphi.I can reduce Bitmap file size in delphi.If u have any sample coding pls send me or pls advice me.
With Regards Siva
Rob Kennedy < rkennedy%40cs.wisc.edu">rkennedycs.wisc.edu> wrote:
siva subramanian wrote:
> I want to resize reduce the jpeg file size in delphi 7 through > programeticaly in delphi 7.Advance thanks to all
OK. Which part are you having trouble with? Start with TJPEGImage, in
the JPEG unit.
--
Rob
---------------------------------
Download prohibited? No problem! CHAT from any browser, without download.
[Non-text portions of this message have been removed]
I think you have to load the JPEG file, copy the image to a bitmap, resize the bitmap, copy the image to a JPEG, and save it. I think I can
find code that does it if you can't figure it out.
David
-----Original Message-----
From: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com [mailto: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com] On
Behalf Of siva subramanian
Sent: Thursday, May 24, 2007 5:29 AM
To: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
Subject: Re: [delphi-en] Reg How to reduce the jpeg files in delphi
Dear Rob Kennedy,
Thank for ur reply.I cannot reduce the piceture size in
delphi.I can reduce Bitmap file size in delphi.If u have any sample
coding pls send me or pls advice me.
With Regards Siva
Rob Kennedy < rkennedy%40cs.wisc.edu">rkennedycs.wisc.edu> wrote:
siva subramanian wrote:
> I want to resize reduce the jpeg file size in delphi 7 through
> programeticaly in delphi 7.Advance thanks to all
OK. Which part are you having trouble with? Start with TJPEGImage, in
the JPEG unit.
--
Rob
---------------------------------
Download prohibited? No problem! CHAT from any browser, without download.
[Non-text portions of this message have been removed]
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: delphi-en-unsubscribe%40yahoogroups.com">delphi-en-unsubscribeyahoogroups.com
Yahoo! Groups Links
siva subramanian wrote:
> Thank for ur reply.I cannot reduce the piceture size in delphi.I can
> reduce Bitmap file size in delphi.If u have any sample coding pls
> send me or pls advice me.
Draw the JPEG image onto a TBitmap, reduce the bitmap size, and then
draw the bitmap onto a new TJPEGImage.