trichview.support
Re: Images with decreased size |
Author |
Message |
Sergey Tkachenko |
Posted: 01/26/2005 23:12:55 Sorry, it's not possible. GetPictureInfo returns a reference to the picture which is actually used by TRichView. It cannot be less than the real picture because this is the real picture itself. May be, on the contrary, it was displayed enlarged (by assigning larger values of ImageWidth and ImageHeight properties, see the help file on TRVExtraItemProperty type) Another possibility... Which application do you use to view this bitmap? Bitmaps contains pixels-per-inch value instructing to display them larger or smaller than their size in pixels. The most of applications (including TRichView) ignores this value, but some applications may use it. > > Hello! > > I use GetPictureInfo method to save pictures from text to files. > > For example: > > RichViewEdit1.GetPictureInfo(ItemNumber, PName, CurPic, ALign, ITag); > CurPic.SaveToFile('c:\1.bmp'); > > The problem is that size of saved picture less then real picture size. What > can be the cause of the problem? |
Powered by ABC Amber Outlook Express Converter