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



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, March 6, 2012 12:17:48 AM(UTC)

Groups: Registered
Posts: 1

I'm new to leadtools so sorry if it's easy question. I have a bunch of jpg images and want an easy way of detecting if a file is progressive jpg or baseline jpg. I'm using C#.

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 : Thursday, March 8, 2012 8:35:07 AM(UTC)


Groups: Manager, Tech Support
Posts: 367

Yes, this is supported in LEADTOOLS. The code looks something like this:
RasterCodecs codecs = new RasterCodecs();
CodecsImageInfo info = codecs.GetInformation(JpegFileName, false);
if (info.Jpeg.IsProgressive)
   MessageBox.Show("file is progressive", JpegFileName);
   MessageBox.Show("file is NOT progressive", JpegFileName);

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
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.280 seconds.