This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#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#.
#2
Posted
:
Thursday, March 8, 2012 8:35:07 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
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);
else
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.