471,339 Members | 1,254 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 software developers and data experts.

Reading Image Properties without loading as Image

I'm trying to find a way to quickly read image headers (specifically jpgs at
the moment) with out loading the whole image as an System.Imaging.Image.
Anybody point me in the right direction or am I going to need to write a
header parser from scratch?
Jul 21 '05 #1
3 2183
"Steve Tooke" <St********@discussions.microsoft.com> wrote in message
news:25**********************************@microsof t.com...
I'm trying to find a way to quickly read image headers (specifically jpgs
at
the moment) with out loading the whole image as an System.Imaging.Image.
Anybody point me in the right direction or am I going to need to write a
header parser from scratch?


I'm also interested in this, and additionally whether one can read out the
contents of TIFF file IFDs without reading in image data.

Steve
Jul 21 '05 #2
Hi Steve,

I ended up having to do this myself, I haven't really tidied the stuff up
much, but this might help you.

http://pkl.net/~tooky/ImageFiles.zip

Steve

"Steve McLellan" wrote:
"Steve Tooke" <St********@discussions.microsoft.com> wrote in message
news:25**********************************@microsof t.com...
I'm trying to find a way to quickly read image headers (specifically jpgs
at
the moment) with out loading the whole image as an System.Imaging.Image.
Anybody point me in the right direction or am I going to need to write a
header parser from scratch?


I'm also interested in this, and additionally whether one can read out the
contents of TIFF file IFDs without reading in image data.

Steve

Jul 21 '05 #3
Hi,

Thanks, I'll have a look at it. I think we're considering moving away from
using the GDI+ stuff at all because of its limitations (CMYK, greyscale,
16-bit support etc.). I'm not generally that impressed by its lack of
support for handling image files; hopefully they plan to address it in the
future.

Thanks again,

Steve

"Steve Tooke" <St********@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
Hi Steve,

I ended up having to do this myself, I haven't really tidied the stuff up
much, but this might help you.

http://pkl.net/~tooky/ImageFiles.zip

Steve

"Steve McLellan" wrote:
"Steve Tooke" <St********@discussions.microsoft.com> wrote in message
news:25**********************************@microsof t.com...
> I'm trying to find a way to quickly read image headers (specifically
> jpgs
> at
> the moment) with out loading the whole image as an
> System.Imaging.Image.
> Anybody point me in the right direction or am I going to need to write
> a
> header parser from scratch?


I'm also interested in this, and additionally whether one can read out
the
contents of TIFF file IFDs without reading in image data.

Steve

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Thomas | last post: by
20 posts views Thread by http://links.i6networks.com | last post: by
2 posts views Thread by Roger Withnell | last post: by
reply views Thread by Tony Lugg | last post: by
14 posts views Thread by Steve K. | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.