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 an image from a Multiple Image file like TIF

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
AndyColmes Posted - Jul 22 2014 : 14:20:17
How can I copy the bitmap or file from a Multiple Image file like TIF or GIF to a TImageEnView?

Thanks in advance.

Andy
6   L A T E S T    R E P L I E S    (Newest First)
AndyColmes Posted - Jul 24 2014 : 22:08:05
Hi Nigel,

Fantastic. Thanks so much.
xequte Posted - Jul 24 2014 : 16:19:40
Hi Andy

Yes, that is correct. Please also see ImageEnView1.IO.Seek:

http://www.imageen.com/help/TImageEnIO.Seek.html


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
AndyColmes Posted - Jul 24 2014 : 16:11:13
Hi Nigel,

That is good to know. What I am trying to do is actually create a TupDown to allow the user to navigate through the pages while just showing the page image. So, with this code, I probably have to keep changing the value of iImageIndex and callin LoadFromFile each time?

Thanks Nigel.
xequte Posted - Jul 24 2014 : 13:13:55
Hi Andy

You can also do it without a TImageEnMView by setting Params.ImageIndex before loading the image.

ImageEnView1.IO.Params.ImageIndex := iImageIndex;
ImageEnView1.IO.LoadFromFile(sFilename);


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
AndyColmes Posted - Jul 22 2014 : 15:22:53
Thanks again Bill. That worked.
w2m Posted - Jul 22 2014 : 14:37:13
procedure TForm1.ImageEnMView1ImageSelect(Sender: TObject; idx: Integer);
{ ImageEnMView Image Select. }
begin
  { Display the image in ImageEnView }
  try
    ImageEnView1.IEBitmap.Assign(ImageEnMView1.GetTIEBitmap(idx));
    ImageEnView1.Update;
  finally
    ImageEnMView1.ReleaseBitmap(idx);
  end;
end;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development