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
 Next image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tgentry

USA
7 Posts

Posted - Nov 07 2014 :  06:03:38  Show Profile  Reply
Hello, I'm new to ImageEn and Delphi. Im currently using Delphi XE7. I have been trying to update a old Delphi 7 imaging program that used ImageLib from skyline. I'm having a issue where the images are stored as single scans as book and page on a shared drive. Example \\imagestorage\book\page.tif. Can someone give me a idea on how to load more than one page with ImageEn? Meaning I have Book 4100 first page is 00001.tif and last page is 00010.tif. however the book itself has 300 pages worth of scanned tifs. so the share has \\imagestorage\04100\00001.tif thru 00300.tif. I just need the total pages for 1 thru 10. I would then need to add a button to show the next image in line.

Here is what I have as code to load a single image.

if FileExists(location + booktext +'\'+ pagetext +'.tif') then
imageenview1.IO.LoadFromFile(location + booktext + '\' + pagetext + '.tif') else
imageenview1.Clear;

Any Help would be greatly appreciated.

xequte

39142 Posts

Posted - Nov 07 2014 :  12:45:04  Show Profile  Reply
Hi

Your code looks fine. What error do you encounter?

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

tgentry

USA
7 Posts

Posted - Nov 07 2014 :  15:20:17  Show Profile  Reply
I figured it out. I was not getting any error. I just did not know the procedure to do next image. I didn't realize you had to have 2 imagenview components.
thanks for the reply.
Go to Top of Page

xequte

39142 Posts

Posted - Nov 09 2014 :  13:30:52  Show Profile  Reply
Hi

2 ImageEnViews? Do you need to display two images simultaneously? You could also use a TImageEnMView which can show two images.

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: