简体   繁体   English

rtf文件中图像的大小

[英]Size of image in rtf file

When I copy and paste an image to a richtextbox and save it into rtf file (using SaveFile() ), the size is much larger than the size of the image (about 10 times larger). 当我将图像复制并粘贴到richtextbox并将其保存到rtf文件(使用SaveFile() )时,其大小比图像的大小大得多(大约大10倍)。

Is there a way to reduce the size of rtf files? 有没有办法减小rtf文件的大小?

No it is not possible to reduce image size of RTF files because RTF is saving a image in WMF (Windows Metafile), uncompressed format so the image size is big. 不可以,无法减小RTF文件的图像大小,因为RTF将图像保存为WMF(Windows图元文件)未压缩格式,因此图像大小很大。 You can only zip/rar the whole file to get less file size. 您只能zip / rar整个文件以减小文件大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM