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
 Saving my scanned docs

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
Zerocool Posted - Sep 18 2013 : 03:28:32
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
2   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Sep 18 2013 : 08:09:37
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
Zerocool Posted - Sep 18 2013 : 05:01:49
StoreType := ietThumb;