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
 Database Layer Redaction

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
tgentry252 Posted - Dec 12 2024 : 08:36:58
Can someone point me in the right direction. I'm trying to add a redaction to a multi page tiff that is stored in a blobfield. I load the images with TimageEnMview from a stream and show them with TimageEnView. I can create the rectangle redaction bar and move it to where I want it placed. I then merge all and it shows the merged redaction in the TimageEnView fine. The issue I'm having is how can I get the redaction to the image in the TimageEnMview? When I commit the change on the merge all, the original images in the TimageEnMview of course are still the same original images. I cant figure a way to write the EnView redaction back into the selected TimageEnMview page.

2   L A T E S T    R E P L I E S    (Newest First)
tgentry252 Posted - Dec 16 2024 : 11:01:08
Thank you Nigel works like a champ.
xequte Posted - Dec 15 2024 : 23:45:35
Hi

It depends on the method you use to display the image from the TImageEnMView in the TImageEnView (e.g. using AttachedImageEnView).

But generally the process to edit an image from a TImageEnMView is as follows:

// Display the fifth image in a TImageEnView
bmp := ImageEnMView1.GetTIEBitmap(4); // Note: bmp must be TIEBitmap type
ImageEnView1.Assign( bmp );
ImageEnMView1.ReleaseBitmap(4, False);

... USER EDITS THE IMAGE...

// Update the fifth image in the TImageEnView with the current content of a TImageEnView
bmp := ImageEnMView1.GetTIEBitmap(4); // Note: bmp must be TIEBitmap type
bmp.Assign( ImageEnView1.IEBitmap );
ImageEnMView1.ReleaseBitmap(4, True);
ImageEnMView1.Update();


Nigel
Xequte Software
www.imageen.com