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
 TImageEnView and TImageEnMView Functionality Issue

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
suri1 Posted - Aug 13 2014 : 03:03:53
Hello,
I am using TImageEnMView and TImageEnView to display multi page image as well as single image. Here’s the sample code.

Same code 1)

//MultiImageViewer is TImageEnMView
//SingleImageViewer is TImageEnView
var
tmpbmp: TBitmap;
tempStream: TStream;
begin
tempStream := TMemoryStream.Create;
tmpbmp := MultiImageViewer.GetBitmap(imageIndex) ;
tmpbmp.SaveToStream(tempStream);
tempStream.Seek(0, soFromBeginning);
SingleImageViewer.IO.LoadFromStream(tempStream);
tempStream.Free;
end;


I am also using sinlge image viewer TImageEnView to display image. Here’s the sample code.

Same code 2)

Image1.io.LoadFromFileAuto(pfileName);

While loading image with “sample code2”, the image quality is good and image is clear and visible, but I cannot use this method to
view multi page image directly so I use “Sample code 1” to achieve this. The “sample code 1” is used for both simple as well as multi page image.

But there is clear image quality difference between “sample code 1” and “sample code 2”
Is there any other way we can use the multi-Image viewer and single image view so that it doesn’t affect the image quality or display quality.

Thanks in Advance #61514;
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 14 2014 : 03:13:55
Hi

How about this code:
//MultiImageViewer is TImageEnMView
//SingleImageViewer is TImageEnView
begin
  MultiImageViewer.CopyToIEBitmap(imageIndex, SingleImageViewer.IEBitmap);
  SingleImageViewer.Update;
end;


Also, can you show (e.g. attach images) the result of the output you are seeing?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
suri1 Posted - Aug 13 2014 : 04:46:34
The storeType property is "ietNormal"
xequte Posted - Aug 13 2014 : 03:15:21
Hi

What is the “StoreType” property of MultiImageViewer?

http://www.imageen.com/help/TImageEnMView.StoreType.html


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com