Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, October 23, 2012 10:21:32 AM(UTC)

Groups: Registered
Posts: 47

Hi - can you tell me if the attached file is a format recognized by LEAD, and if so, what is the format and which DLLs to I need to reference in my program to get LEAD to recognize it?

Leadtools.dll version:

Thank you,

John Reichert
File Attachment(s):
ImageCollection_0000005863_2012-09-06 18_47_26.zip (2,170kb) downloaded 65 time(s).

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, October 24, 2012 6:58:48 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

The file appears to contain a group of JPEG images appended one after the other.

As a full file, this does not appear to be a common format. However, if you use our method RasterCodecs.Load(stream, offset, count), it should work.
For example, this code loads the first image in the file:
System.IO.FileStream Fstream = new System.IO.FileStream(fileName, System.IO.FileMode.Open);
Fstream.Seek(0, System.IO.SeekOrigin.Begin);
RasterCodecs codecs = new RasterCodecs();
rasterImageViewer1.Image = codecs.Load(Fstream, 16, Fstream.Length - 16);

To find other images, you can look for the JFIF image signature, which is hex "FF D8 FF E0".

Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.076 seconds.