--------------------------------------------------------------------------------
Where are ImageEn samples?
Look at http://www.hicomponents.com/ndownloads_imageen.asp
--------------------------------------------------------------------------------
How can I prevent the scrollwheel from causing the image to zoom? I want it to remain the orginal size at all times.
Just write:
ImageEnView1.MouseWheelParams.Action:=iemwNone;
other values are iemwVScroll and iemwZoom (default).
--------------------------------------------------------------------------------
I was wondering if it was possible to convert, say, a GIF image to a TIFF image without a visual component. In other words, how could I convert among image formats in a console application?
You have to create a TBitmap object that contains the image (instead of use TImageEnView visual component). This is the code:
var
bmp:TBitmap;
io:TImageEnIO;
Begin
bmp:=TBitmap.Create;
io:=TImageEnIO.Create(self);
io.AttachedBitmap:=bmp;
io.LoadFromFile('in.gif');
io.SaveToFile('out.gif');
io.free;
bmp.free;
End;
--------------------------------------------------------------------------------
Can i modify brightness?
You can change brightness (luminosity) using several methods.
Using IntensityRGBall method:
ImageEnProc1.IntensityRGBall(20,20,20); // increment luminosity of 20 (the fastest)
Using HSLvar method:
ImageEnProc1.HSLvar(0,0,20); // increment luminosity of 20 (slow but more accurate)
Using HSVvar method:
ImageEnProc1.HSVvar(0,0,20); // increment luminosity of 20 (slow but more accurate)
--------------------------------------------------------------------------------
Can i modify scanner resolution?
To change scan resolution to 300 on your scanner use:
ImageEnIO1.TWainParams.XResolution.CurrentValue:=300;
ImageEnIO1.TWainParams.YResolution.CurrentValue:=300;
ImageEnIO1.Acquire;
--------------------------------------------------------------------------------
Is there any way to save a CMYK tif using ImageEn?
To save TIFF with CMYK write:
ImageEnIO1.Params.TIFF_PhotometInterpret:=ioTIFF_CMYK;
ImageEnIO1.SaveToFileTIFF('xxx.tif');
--------------------------------------------------------------------------------
I Want to resample a normal picture but i've got everytime the same compiler error : TResampleFilter (.... is not definied.
You have to add to the "uses" list the "hyiedefs" unit:
uses hyiedefs;
--------------------------------------------------------------------------------
Is it possible to de/activate duplex on scanner ?
Write ImageEnIO1.TWainParams.DuplexEnabled:=True (or False if you want disable).
--------------------------------------------------------------------------------
I'm trying to insert some text (the current time) in the raw frame using the event OnVideoFrameRaw , my question is : how can I get a canvas from the parameters passed to this event ?
Instead of use OnVideoFrameRaw you have to use OnVideoFrame that returns a Bitmap object.
From Bitmap object you can obtain the Canvas with:
Bitmap.Canvas
--------------------------------------------------------------------------------
Can your component take a series of single page TIFF files and create a Multi-Page file from them?
You can load the page using:
ImageEnIO1.LoadFromFile('page1.tif');
then save the page with:
ImageEnIO1.Params.TIFF_ImageIndex:=0; // increment this for each page
ImageEnIO1.InsertToFileTIFF('multipage.tif');
Otherwise you can use TImageEnMView and TImageEnMIO component. See "multi" example for more details.
--------------------------------------------------------------------------------
How to change the current page of a TIFF image in ImageEN, or do I use another control?
In order to load several pages from a TIFF you have two ways:
1) load a page at the time, using TImageEn or TImageEnView, example:
ImageEnView1.io.Params.TIFF_ImageIndex:= page_number; // page_number stars from 0 (first page)
ImageEnView1.io.LoadFromFile('mytiff.tiff');
First instruction select the page to load. To know how many pages there are use:
page_count:=EnumTIFFIm('mytiff.tiff');
2) load all pages, using TImageEnMView and TImageEnMIO (connect this one to TImageEnMView using AttachedMView property). Just write:
ImageEnMView1.LoadFromFile('mytiff.tiff');
and you will see all pages.
--------------------------------------------------------------------------------
Hi, I have downloaded some of your components and its format is MSI. Unfortunately i dont know how i can install it.
First download updated Windows Installer from Microsoft:
http://www.microsoft.com/downloads/release.asp?ReleaseID=32832 (for NT and 2000)
http://www.microsoft.com/downloads/release.asp?ReleaseID=32831 (for 95,98 and Me)
Then just double click on the MSI file.
--------------------------------------------------------------------------------
I am unable to save GIF and TIFF-LZW formats. I use SaveToFile but this operation creates a gif file of 37 bytes, which is unreadable.
To read/write GIF and TIFF-LZW files you have to enable manually LZW support. To do this add:
uses GifLZW,TIFLZW;
....and on create method:
DefGIF_LZWDECOMPFUNC:=GIFLZWDecompress;
DefGIF_LZWCOMPFUNC:=GIFLZWCompress;
DefTIFF_LZWDECOMPFUNC:=TIFFLZWDecompress;
DefTIFF_LZWCOMPFUNC:=TIFFLZWCompress;
--------------------------------------------------------------------------------
Is it possible, using ImageEn, to convert a multipage-image to a different encoding? G3 and G4 specifically?
Using TImageEnMView and TImageEnMIO, you have to change the compression property for all pages:
ImageEnMIO1.LoadFromFile('original.tif');
for i:=0 to ImageEnMIO.ParamsCount-1 do
ImageEnMIO.Params[i].TIFF_Compression := ioTIFF_G4FAX;
ImageEnMIO1.SaveToFile('modified.tif');
--------------------------------------------------------------------------------
How do I get the transparent BMPs to work inside your vector view control?
To load the alpha channel from PNG (and others) you have to use SetObjBitmapFromFile method:
ImageEnVect1.SetObjBitmapFromFile(hobj, 'test.png');
--------------------------------------------------------------------------------
I would like users to be able to resize and move vectorial objects when they are displayed on the screen. Is it possible ? How can I do that ?
To enable users to modify (move,resize) objects just set:
ImageEnVect1.MouseInteractVt:=[miObjectSelect];
The users can select then modify objects.
--------------------------------------------------------------------------------
Using TImageEnMView, how display images "on demand"?
There are two ways to display images "on demand":
1) When you add a new image just set ImageFileName[] index, and ImageEn will load automatically specified file when needed. Example:
idx:=ImageEnMView1.AppendImage;
ImageEnMView1.ImageFileName[idx]:='first.jpg';
2) When you add a new image just set the ImageID[] property. You have to create by hand an array of filenames where to get images. Example:
var
files:array [0..1] of string;
begin
files[0]:='first.jpg';
files[1]:='second.jpg';
ImageEnMView1.ImageID[ ImageEnMView1.AppendImage ] := 0;
ImageEnMView1.ImageID[ ImageEnMView1.AppendImage ] := 1;
end;
You have also to create OnImageIDRequest event, on this you can write:
procedure TForm1.OnImageIDRequest(Sender: TObject; ID:integer; var
Bitmap:TBitmap);
var
io:TImageEnIO;
begin
io:=TImageEnIO.Create(self);
io.AttachedBitmap:=bmp; // bmp is a TBitmap object, defined at class level (must exists after the OnImageIDRequest exits)
io.LoadFromFile( files[ID] );
io.free;
Bitmap:=bmp;
end;
---------------
没有合适的资源?快使用搜索试试~ 我知道了~
ImageEn v2.2.0 for De3-7/D2005
共3个文件
txt:1个
cnt:1个
hlp:1个
4星 · 超过85%的资源 需积分: 50 129 下载量 17 浏览量
2006-01-13
09:51:35
上传
评论
收藏 18.3MB RAR 举报
温馨提示
ImageEn Version 2.2.0 for Delphi 3/4/5/6/7/2005ImageEn是一套图像相关的组件,它能够察看、分析图像,能够保存几种图像格式,能够从扫描仪、视频捕捉获取图像,合并图像等。发现注册机各个版本好像通用,附一个2.17版的XX机。ImageEn 2.2.0 help file.zip 帮助keygen.exe XX机source code of all ImageEn demos.zip是demo扬帆 2005.10.17 祝贺神舟发射/回收成功!个人网站:http://www.wesoho.com
资源推荐
资源详情
资源评论
收起资源包目录
webfly_ImageEn_2.2.0.rar (3个子文件)
faq.txt 14KB
IMAGEEN.HLP 2.47MB
IMAGEEN.cnt 2KB
共 3 条
- 1
资源评论
- lanmeng022013-02-26希望能获取最新的
- ganyuanjun2013-01-23有3.0的没有?
- firegzx2013-02-25版本老了点,但是要下。。。
- antivirus792014-04-09版本老是老点,但是很实用。
普通网友
- 粉丝: 882
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功