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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Save changes to database

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Janex Posted - Nov 07 2014 : 02:59:57
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?



1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 09 2014 : 17:56:03
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