線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:926
推到 Plurk!
推到 Facebook!

請教有關Assign指令

答題得分者是:william
danielj
初階會員


發表:65
回覆:135
積分:40
註冊:2003-06-11

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-08-22 11:07:30 IP:61.220.xxx.xxx 未訂閱
我從版上學到可以利用Assign的方法將jpeg解為bitmap檔案,小弟也試著反向將bitmap再壓回jpeg檔案,但是檔案就變成約原來的4倍大! 不知道究竟是為什麼呢?難道是壓縮率變低了嗎? 先謝謝大家!
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-08-22 11:41:22 IP:147.8.xxx.xxx 未訂閱
Extracted from help: CompressionQuality property (TJPEGImage) ndicates the trade-off ratio between the image quality and the file size. Delphi syntax: property CompressionQuality: TJPEGQualityRange; C syntax: __property TJPEGQualityRange CompressionQuality = { read=FQuality, write=FQuality, nodefault}; Description Use CompressionQuality to set the compression quality of the JPEG image when writing out a jpeg image. Higher compression results in a poorer picture quality, but a smaller file size. This property is not used for reading in files. TJPEGQualityRange is the type of the CompressionQuality property. The higher the TJPEGQualityRange value (up to a maximum of 100), the better the image quality, but the larger the file size. The lower the TJPEGQualityRange value (to a minimum of 1), the smaller the resulting file size, but at the expense of picture quality.
danielj
初階會員


發表:65
回覆:135
積分:40
註冊:2003-06-11

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-08-27 09:03:52 IP:61.220.xxx.xxx 未訂閱
多謝william!
系統時間:2024-04-29 18:51:22
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!