Author |
Topic  |
|
xequte
    
39066 Posts |
Posted - Aug 07 2012 : 16:31:13
|
Hi
We have just issued a release candidate for v4.1.2. This release does not include packages and so will require compilation. The final releae of v4.1.2 is expected in late August.
If you would like to download v4.1.2 RC please email sales@xequte.com (you need to have purchased a license or extension after 8 August 2011).
What's New in 4.1.2?
New Features
- now it is possible to align the image at top-left, top-center, top-right, center-left, center-center, center-right, bottom-left, bottom-center and bottom-right - now it is possible to create and define an angle object in code - now selected layer box and grips are displayed over all layers - now a box is displayed when rotating a layer - TIEBitmap: now it is possible to apply a zoom filter when PixelFormat=ieVirtual - now it is possible to specify number of strips in a TIFF file - DICOM: enhanced support for lossless-jpeg compression - Now it is possible to remove last inserted selection point (when MouseInteract = [miSelectPolygon]) - Added: Const array of languages available for IEVision OCR - now it is possible to rotate layer 0 using MouseInteract=[miRotateLayers] - TImageEnMView: now SaveSnapshot saves also ImageTag property - now it is possible to draw vectorial objects over Black/white images (without RGB conversion). Experimental feature. - TIEAcquireParams.FindSourceByName to locate devices using only their name - TIEAcquireParams.SetSourceByStr now works even if a device name is passed - IEVision Initialize overloaded method allows passing an alternative DLL path - TIFF: supported Deflate/ZIP with FillOrder=2 and with separated planes - TImageEnIO.SaveToFile: now can save LYR and ALL file formats when TImageEnIO is attached to TImageEnView or TImageEnVect
Fixed Bugs
- BUGFIX: TImageEnProc.Opening, produces white border around black/white images - BUGFIX: fixed minor bugs - BUGFIX: fixed bug that sometimes writes wrong pixels in the right-side of last line when compressing TIFF with ioTIFF_G3FAX1D - BUGFIX: fixed bug that sometimes writes wrong pixels in the right-side of last line when compressing TIFF with ioTIFF_CCITT1D and TIFF_FillOrder=2 - BUGFIX: writing BMP when PixelFormat=ie8g and NativePixelFormat=true - BUGFIX: reading gray scale, tiled, JPEG encoded TIFF when NativePixelFormat=true - BUGFIX: TIEDirectShow.EndOfStream now works (when parent of TIEDirectShow is TImageEnView.IO) - BUGFIX: TImageEnIO.LoadFromStream doesn't set Aborting=true when file content type is not detected - BUGFIX: incorrect matching of Twain devices name - BUGFIX: wrong image display when Operation<>ielNormal on the first layer and Zoom > 100 - BUGFIX: TImageEnMIO print preview dialog, now centimeters label is displayed correctly - BUGFIX: duplex in WIA doesn't work - BUGFIX: now Opening/Closing/Maximum/Minimum for B/W images works correctly - BUGFIX: fixed DICOM gray scal pixel ranging problem - BUGFIX: PSD, enhanced reliability on corrupted files - BugFix: May get A/V error when accessing AcquireParams properties if source has not been set - BugFix: Transition may not occur in correct direction - BUGFIX: reading G4FAX with PhotometricInterpretation=BLACKISZERO has inverted colors - BUGFIX: fixed bug in Layer.Operation=ielLuminosity - Fixed: TIEAquireParams.SetSource may not work if Unicode string is passed as Location parameter
Changes - TImageEnView: added ImageHorizAlignment property - TImageEnView: added ImageVertAlignment property - TImageEnMView: added SetThumbnailSize method - TIEAnimation: added BorderPen property - TImageEnVect: added SetObjAnglePoints method - TImageEnVect: added ObjAnglePoints property - TIOParams: added EXIF_GPSLatitude property - TIOParams: added EXIF_GPSLongitude property - TIEBitmap: added VirtualBitmapProvider property - TIEBitmap: added IsVirtual property - TIEBitmap: added GetSegment method - TIOParams: added TIFF_StripCount property - TImageEnView: added DelLastSelPoint method - TImageEnMView: added OnAnimationText event - TImageEnProc.AdjustTint: added two overloads (to exclude color ranges from tint adjust) - TIOParams: added TIFF_NewSubfileType property - TImageEnMView: added Sort overload to simplify image sorting - TIERenderOperation: added ielLuminosity2 value (uses YCbCr) - TImageEnMView.LoadFromFileOnDemand: added optional parameter "Append" - Added: SaveSelected parameter for TImageEnMView.SaveToFilePDF and TImageEnMView.SaveToStreamPDF - TImageEnVect.CopyObjectToBack: added AdaptBitmapPixelFormat parameter - TImageEnVect.DrawObjectsToBitmap: added AdaptBitmapPixelFormat parameter - TImageEnVect.DrawOneObjectToBitmap: added AdaptBitmapPixelFormat parameter - TImageEnVect.CopyObjectsToBack: added AdaptBitmapPixelFormat parameter
Potential Compatibility Issues
- Changed: StrToAcquireSource() raises error if invalid source string is passed - TIEPixelFormat: removed ieVirtual value (introduced with 4.1.0 version) - TIERenderOperation: now ieLuminosity uses HSL instead of HSV
Nigel Xequte Software www.xequte.com nigel@xequte.com |
|
Esposito
France
2 Posts |
Posted - Oct 06 2015 : 03:15:07
|
I want to retrieve all the pixels of an TImageEnView named Img in a dynamic array named v_Img.
I try to do that Img.IO.LoadFromFile(FileOpenDlg.FileName); Img.IEBitmap.PixelFormat:=ie8g; v_ImgY:=Img.IEBitmap.Height; v_ImgX:=Img.IEBitmap.Width; v_ImgSize:=v_ImgY*v_ImgX; SetLength(v_Img,v_ImgSize); P:=Img.IEBitmap.GetSegment(0,0,v_ImgSize); Move(P^,v_Img[0],v_ImgSize);
An exction is raised on the move command. Sure the Pointer returned by GetSegemnt point on a zone of bad size....
Thank for your Help
Gerard
|
 |
|
xequte
    
39066 Posts |
Posted - Oct 08 2015 : 20:21:34
|
Hi Gerard
Are you using a virtual bitmap provider (i.e. have set VirtualBitmapProvider or OnRenderVirtualPixel)? If not, you can only return the last line obtained from Scanline[].
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
 |
|
|
Topic  |
|
|
|