File compression: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
如何壓縮檔案,以減少檔案大小
如何壓縮檔案,以減少檔案大小


== 壓縮簡報檔MS PowerPoint (.PPT)的檔案大小 ==
== 壓縮簡報檔 Microsoft PowerPoint (.PPT)的檔案大小 ==
=== PowerPoint 2003 ===
=== PowerPoint 2003 ===
# 在簡報的任何一張圖片上,按右鍵選擇'''設定圖片格式'''。
# 在簡報的任何一張圖片上,按右鍵選擇'''設定圖片格式'''。
Line 27: Line 27:
* 簡報使用可以分成幾種場合 1. 電腦螢幕上播放, 2. 列印在A4紙張, 3. 投影到教室(約50人)白版/屏幕, 4. 投影到大型演講室(約百人以上)的白版。
* 簡報使用可以分成幾種場合 1. 電腦螢幕上播放, 2. 列印在A4紙張, 3. 投影到教室(約50人)白版/屏幕, 4. 投影到大型演講室(約百人以上)的白版。
* 如果有圖佔滿一整面簡報,那麼將簡報壓縮,會造成影響的是第4種場合,因為失真的狀況被放大了,看得很清楚,所以要壓縮前要清楚簡報使用的場合,或者'''備份未壓縮的原始檔'''。 }}
* 如果有圖佔滿一整面簡報,那麼將簡報壓縮,會造成影響的是第4種場合,因為失真的狀況被放大了,看得很清楚,所以要壓縮前要清楚簡報使用的場合,或者'''備份未壓縮的原始檔'''。 }}
== 壓縮 Microsoft Excel (.xlsx) 檔案 ==
方法
* 另存成「Excel 二進位活頁簿格式 (*.xlsb)」使用 Excel 還是可以打開。檔案變小很多,例如 2.8 MB 壓縮成約 750 KB。
* 如果大量儲存格內使用函數,建議備份檔案後,可以全選貼上值,達到縮小檔案效果,檔案的開啟也會變快。
* {{exclaim}} 另存成「Excel 97-2003 活頁簿 (*.xls)」檔案反而會變大,例如,例如 2.8 MB變成 4.7 MB。
參考資料:
* [https://turbofuture.com/computers/How-To-Reduce-a-Large-Excel-File-Compact-Shrink How to Reduce a Large Excel File | TurboFuture] {{access | date=2018-12-24}}


== 壓縮 Portable Document Format (.PDF) 的檔案大小 ==
== 壓縮 Portable Document Format (.PDF) 的檔案大小 ==
Line 43: Line 52:
* [https://icomoon.io/app/#/select IcoMoon App - Icon Font, SVG, PDF & PNG Generator] 教學 [https://www.minwt.com/webdesign-dev/html/12931.html 網設必備《IcoMoon》icon轉Font整合平台要多少下載多少|梅問題.教學網]
* [https://icomoon.io/app/#/select IcoMoon App - Icon Font, SVG, PDF & PNG Generator] 教學 [https://www.minwt.com/webdesign-dev/html/12931.html 網設必備《IcoMoon》icon轉Font整合平台要多少下載多少|梅問題.教學網]


== 避免解壓縮後檔名亂碼 ==
== 避免解壓縮後,中文檔名亂碼 ==
 
<div style="width:100%; min-height: .01%; overflow-x: auto;">
<div style="width:100%; min-height: .01%; overflow-x: auto;">
<table border="1" class="wikitable sortable">
<table border="1" class="wikitable sortable">
<tr>
<tr>
<th>產生壓縮檔 OS 環境</th>
<th>產生壓縮檔 OS 環境</th>
<th>產生壓縮檔方式</th>
<th>壓縮軟體 及 壓縮設定</th>
<th>壓縮檔格式</th>
<th>解壓縮 OS 環境</th>
<th>解壓縮 OS 環境</th>
<th>解壓縮軟體 及 解壓縮設定</th>
<th>解壓縮後的檔名</th>
<th>解壓縮後的檔名</th>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>[https://www.7-zip.org/ 7-Zip] v. 18.05 壓縮檔格式: zip</td>
<td>[https://www.7-zip.org/ 7-Zip] v. 18.05</td>
<td>zip</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>{{exclaim}} 中文變亂碼</td>
<td>{{exclaim}} 中文變亂碼</td>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>7-Zip v. 18.05 壓縮檔格式: 7z</td>
<td>[https://www.7-zip.org/ 7-Zip] v. 18.05</td>
<td>zip</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://itunes.apple.com/us/app/the-unarchiver/id425424353?mt=12 The Unarchiver] v. 4.0.0 <br />選擇 filename encoding: Traditional Chinese (Big 5)</td>
<td>中文正常</td>
</tr>
<tr>
<td>Windows 10 x64</td>
<td>7-Zip v. 18.05</td>
<td>7z</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
</tr>
<tr>
<td>Windows 10 x64</td>
<td>7-Zip v. 18.05</td>
<td>tar</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>7-Zip v. 18.05 壓縮檔格式: tar</td>
<td>7-Zip v. 18.05</td>
<td>[https://msdn.microsoft.com/zh-tw/library/windows/desktop/dd861280.aspx?f=255&MSPPError=-2147217396 wim]</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>7-Zip v. 18.05 壓縮檔格式: wim</td>
<td>[https://tw.bandisoft.com/bandizip/ Bandzip] v. 6.17 <br />(壓縮設定: '''勾選'''「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)、'''沒有勾選'''「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」」<ref>
[https://www.bandisoft.com/bandizip/help/utf8/ Bandisoft: ZIP格式的Unicode文件名]</ref><ref>[https://blog.abysm.org/2016/04/pkzip-filename-mojibake/ 對抗 ZIP 亂碼檔名大作戰 - Kuan-Yi Li's Blog]</ref>) </td>
<td>zip</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>[https://tw.bandisoft.com/bandizip/ Bandzip] v. 6.17 壓縮檔格式: ZIP (壓縮設定: 勾選「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)」<ref><ref>[https://blog.abysm.org/2016/04/pkzip-filename-mojibake/ 對抗 ZIP 亂碼檔名大作戰 - Kuan-Yi Li's Blog]</ref>[https://www.bandisoft.com/bandizip/help/utf8/ Bandisoft: ZIP格式的Unicode文件名]</ref>) </td>
<td>[https://tw.bandisoft.com/bandizip/ Bandzip] v. 6.17 <br />(壓縮設定: '''沒有勾選'''「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)、'''勾選'''「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」」) </td>
<td>zip</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>Bandzip v. 6.17 壓縮檔格式: ZIP (壓縮設定: '''沒有勾選'''「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)」) </td>
<td>Bandzip v. 6.17 <br />(壓縮設定: '''沒有勾選'''「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)」、也'''沒有勾選'''「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」) </td>
<td>zip</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>{{exclaim}} 中文變亂碼</td>
<td>{{exclaim}} 中文變亂碼</td>
</tr>
</tr>
<tr>
<tr>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>Bandzip v. 6.17 壓縮檔格式: 7z</td>
<td>[https://tw.bandisoft.com/bandizip/ Bandzip] v. 6.17 <br />(壓縮設定: '''勾選'''「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)、'''勾選'''「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」」) </td>
<td>zip</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
</tr>
<tr>
<td>Windows 10 x64</td>
<td>Bandzip v. 6.17</td>
<td>7z</td>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
<tr>
<tr>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4 壓縮檔格式: 7z</td>
<td>[https://www.keka.io/zh-cn/ Keka] v1.1.4</td>
<td>7z</td>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>[https://www.7-zip.org/ 7-Zip] v. 18.05</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
<tr>
<tr>
<td>Mac Mojave v. 10.14</td>
<td>Mac Mojave v. 10.14</td>
<td>Keka v1.1.4 壓縮檔格式: ZIP</td>
<td>Keka v1.1.4</td>
<td>zip</td>
<td>Windows 10 x64</td>
<td>Windows 10 x64</td>
<td>[https://www.7-zip.org/ 7-Zip] v. 18.05</td>
<td>中文正常</td>
<td>中文正常</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
相關資料
* [https://errerrors.blogspot.com/2018/10/avoid-garbled-chinese-filename-after-unpacking-zip-on-mac.html 解決 Windows 壓縮檔在 Mac 解壓縮後中文檔名變成亂碼]


== References ==
== References ==

Latest revision as of 10:55, 24 December 2018

如何壓縮檔案,以減少檔案大小

壓縮簡報檔 Microsoft PowerPoint (.PPT)的檔案大小[edit]

PowerPoint 2003[edit]

  1. 在簡報的任何一張圖片上,按右鍵選擇設定圖片格式
  2. 切換到「圖片」標籤,點選壓縮按鈕。
    • 選擇套用至「文件中的所有圖片」
    • 變更解析度: 選擇「Web/畫面」 (解析度: 96dpi)
  3. 然後按「確定」


2039959100_0304a7aa70_o.jpg

PowerPoint 2007[edit]

MS Office Word也可以使用上述方法壓縮檔案大小。


其他簡報壓縮軟體


Owl icon.jpg 哪種場合不適合壓縮簡報?
  • 簡報使用可以分成幾種場合 1. 電腦螢幕上播放, 2. 列印在A4紙張, 3. 投影到教室(約50人)白版/屏幕, 4. 投影到大型演講室(約百人以上)的白版。
  • 如果有圖佔滿一整面簡報,那麼將簡報壓縮,會造成影響的是第4種場合,因為失真的狀況被放大了,看得很清楚,所以要壓縮前要清楚簡報使用的場合,或者備份未壓縮的原始檔

壓縮 Microsoft Excel (.xlsx) 檔案[edit]

方法

  • 另存成「Excel 二進位活頁簿格式 (*.xlsb)」使用 Excel 還是可以打開。檔案變小很多,例如 2.8 MB 壓縮成約 750 KB。
  • 如果大量儲存格內使用函數,建議備份檔案後,可以全選貼上值,達到縮小檔案效果,檔案的開啟也會變快。
  • Icon_exclaim.gif 另存成「Excel 97-2003 活頁簿 (*.xls)」檔案反而會變大,例如,例如 2.8 MB變成 4.7 MB。

參考資料:

壓縮 Portable Document Format (.PDF) 的檔案大小[edit]


壓縮 javascript 檔案[edit]

壓縮 Javascript 檔案的工具

圖示圖檔 (.PNG) 轉成字型 (.TTF)[edit]

避免解壓縮後,中文檔名亂碼[edit]

產生壓縮檔 OS 環境 壓縮軟體 及 壓縮設定 壓縮檔格式 解壓縮 OS 環境 解壓縮軟體 及 解壓縮設定 解壓縮後的檔名
Windows 10 x64 7-Zip v. 18.05 zip Mac Mojave v. 10.14 Keka v1.1.4 Icon_exclaim.gif 中文變亂碼
Windows 10 x64 7-Zip v. 18.05 zip Mac Mojave v. 10.14 The Unarchiver v. 4.0.0
選擇 filename encoding: Traditional Chinese (Big 5)
中文正常
Windows 10 x64 7-Zip v. 18.05 7z Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Windows 10 x64 7-Zip v. 18.05 tar Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Windows 10 x64 7-Zip v. 18.05 wim Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Windows 10 x64 Bandzip v. 6.17
(壓縮設定: 勾選「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)、沒有勾選「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」」[1][2])
zip Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Windows 10 x64 Bandzip v. 6.17
(壓縮設定: 沒有勾選「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)、勾選「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」」)
zip Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Windows 10 x64 Bandzip v. 6.17
(壓縮設定: 沒有勾選「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)」、也沒有勾選「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」)
zip Mac Mojave v. 10.14 Keka v1.1.4 Icon_exclaim.gif 中文變亂碼
Windows 10 x64 Bandzip v. 6.17
(壓縮設定: 勾選「在 ZIP 檔案額外的標頭欄位中儲存 Unicode 檔名 (UTF-8)、勾選「在 ZIP 檔案中使用 Unicode 檔名 (UTF-8)」」)
zip Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Windows 10 x64 Bandzip v. 6.17 7z Mac Mojave v. 10.14 Keka v1.1.4 中文正常
Mac Mojave v. 10.14 Keka v1.1.4 7z Windows 10 x64 7-Zip v. 18.05 中文正常
Mac Mojave v. 10.14 Keka v1.1.4 zip Windows 10 x64 7-Zip v. 18.05 中文正常

相關資料

References[edit]