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
 Saving my scanned docs
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Zerocool

South Africa
10 Posts

Posted - Sep 18 2013 :  03:28:32  Show Profile  Reply
Hi guys, I have the following config:

iemvPages.SetImageFromFile(_idx, _Output);
iemvPages.MIO.Params[_idx].TIFF_Compression := ioTIFF_JPEG;
iemvPages.MIO.Params[_idx].BitsPerSample := 8; iemvPages.MIO.Params[_idx].SamplesPerPixel := 3;
iemvPages.MIO.Params[_idx].TIFF_JPEGQuality := 50;
iemvPages.MIO.Params[_idx].TIFF_JPEGColorSpace := ioJPEG_GRAYLEV;
iemvPages.MIO.Params[_idx].TIFF_Compression := ioTIFF_JPEG;

iemvPages.ImageFileName[_idx] := _Output;
iemvPages.SetImage(_idx, ABitmap.VclBitmap);

My save call looks like this:

ImageList.MIO.SaveToFileTIFF('c:\123.tiff');

Now, when I save, I only save the small scanned templates in the tiff file, and not the full size one. What am I missing ?

I have another app where I do exactly that, but it saves the big templates.

:(

please help

Zerocool

South Africa
10 Posts

Posted - Sep 18 2013 :  05:01:49  Show Profile  Reply
StoreType := ietThumb;
Go to Top of Page

w2m

USA
1990 Posts

Posted - Sep 18 2013 :  08:09:37  Show Profile  Reply
I think StoreType must be ietNormal to save full images.

But you can also use StoreType as ietThumb then load full images into ImageEnView by using ImageEnView.IO.LoadFromFile(ImageEnMView1.ImageFileName[iIndex]);
Then when you want to save full Images use ImageEnView to save.

When ImageEnMView.StoreType is ietThumbs the ImageEnMView contains only thumbnails and ImageEnView contains the full image.

I do not know of a way to display thumbnails in ImageEnMView and then save the full images.

Unless you have a pc with quite low memory, ImageEnMView has no problem using the full images. When you use ietNormal (full images) and you save, the full image will be saved.

You say "you have another app where I do exactly that, but it saves the big templates." I do not know how that project saves full images with ImageEnMView when the StoreType is ietThumbs because it is just not possible. Maybe you should look at the project that saves full images when StoreType it ietThumb. If you do, let me know what you find out because it must be using some other way to save the full images other than from ImageEnMView.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: