Change TDBImage.UpdateData to virtual
Original Reporter info from Mantis: Joe
-
Reporter name: Joe Merten
Original Reporter info from Mantis: Joe
- Reporter name: Joe Merten
Description:
I'd derived from TDBImage and added a popupmenu with some clipboard and read/write file functionality.
I also want to change the way, how image data is saved in the database blob.
The reason is, that I don't like the TDBImage's way, preceeding the image data with Picture.Graphic.GetFileExtensions.GetFileExtensions.
Saving the image data without the file extensions gives me the advantage, that the stored images also came compatible
in some other database clients (e.g. MySQL Workbench, Postgre pgAdmin and also LibreOffice Base).
TDBImage.LoadPicture is already virtual, so I'm able to override it and place my own implementation there.
But the conterpart TDBImage.UpdateData isn't virtual for now.
Mantis conversion info:
- Mantis ID: 24539
- Platform: All
- Version: 1.0.8
- Fixed in revision: r51940 (#c541c387)