ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Save changes to database
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Janex

Latvia
3 Posts

Posted - Nov 07 2014 :  02:59:57  Show Profile  Reply
Hi all.
I have TImageEnDBView attached to database;
How can i post changes to database after some corrections
via ImageEnView.Proc.DoPreviews ...
But I will not do dataset.edit before ImageEnView.Proc.DoPreviews
and post after ...

Maybe there is some way to get some actual raw data from ImageEnView, without any information about file format, for saving to my blob field?



xequte

39142 Posts

Posted - Nov 09 2014 :  17:56:03  Show Profile  Reply
Hi

The usual way to do it would be:

// Color adjust...
procedure TMainForm.Button7Click(Sender: TObject);
begin     
  Table1.Edit;
  if ImageEnDBView1.Proc.DoPreviews(ppeColorAdjust) then
    Table1.Post
  else
    Table1.Cancel;
end;


But if you do not want to wrap in an Edit/Post then either:
- Manually save the new bitmap (ImageEnDBView1.IEBitmap)
- Review the particular changes made using ImageEnDBView1.Proc.IPDialogParams:

http://www.imageen.com/help/TImageEnProc.IPDialogParams.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: