If I export a document in ScaleRichViewEdit as RTF and use rvrtfSaveJpegAsJpeg in RTFOptions, the Jpeg shown in other size if opened in MS Word.
ScaleRichViewEdit:
MS Word:
rvrtfSaveJpegAsJpeg
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Received. As I thought, the problem is in resolution specified in jpeg itself (72 dpi).
Since 96 dpi is assumed in Windows, when you insert this picture in MS Word, it scales it by 96/72.
TRichView ignores internal resolution of images, so it displays it without scaling.
There is a way to store RTF so that jpeg will have the same size in MS Word like in TSRichViewEdit. Will be in the next update.
Since 96 dpi is assumed in Windows, when you insert this picture in MS Word, it scales it by 96/72.
TRichView ignores internal resolution of images, so it displays it without scaling.
There is a way to store RTF so that jpeg will have the same size in MS Word like in TSRichViewEdit. Will be in the next update.