Load and save PNG in TDBRichViewEdit extremely slow
Posted: Mon Apr 30, 2012 10:00 am
Hello Sergey,
Windows 7, Delphi 2010, RichView 13.8
First of all: TDBRichViewEdit works great!
Now my problem:
When loading a PNG graphic (160 KB) into the TDBRichViewEdit (with a simple line of text) and saving the record this takes 62 seconds! Loading takes 20 seconds.
With Paint I converted the PNG graphic to a JPEG which then has a size of 387 KB. Saving in the identical record takes less than 1 second, and also loading is not measureable.
In the support forum I found hints to use:
Classes.RegisterClass(TPngImage);
CRVData.RV_RegisterHTMLGraphicFormat(TPngImage);
CRVData.RV_RegisterPngGraphic(TPngImage);
I tried all that, but it makes no difference. Must I set some addional flags (e. g. rvrtfSaveBitmapDefault) or something like that?
Do you have any advice?
Thanks in advance
Joe
Windows 7, Delphi 2010, RichView 13.8
First of all: TDBRichViewEdit works great!
Now my problem:
When loading a PNG graphic (160 KB) into the TDBRichViewEdit (with a simple line of text) and saving the record this takes 62 seconds! Loading takes 20 seconds.
With Paint I converted the PNG graphic to a JPEG which then has a size of 387 KB. Saving in the identical record takes less than 1 second, and also loading is not measureable.
In the support forum I found hints to use:
Classes.RegisterClass(TPngImage);
CRVData.RV_RegisterHTMLGraphicFormat(TPngImage);
CRVData.RV_RegisterPngGraphic(TPngImage);
I tried all that, but it makes no difference. Must I set some addional flags (e. g. rvrtfSaveBitmapDefault) or something like that?
Do you have any advice?
Thanks in advance
Joe