Re: JPG EXIF Properties

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Thanks for the info. I converted the code in the VBScript to work in
vb.net and it works properly. I can extract the information I need.

I compared this way to to my original way with extracting the info via
an image object and this way is about 40% faster based on my tests.
Thanks!


You're welcome. I'm not familiar with the image
object. It may be very efficient. But I'm surprised
that the direct method is not more efficient. If
you're reading the whole file (into an array?) you
might find it quicker to just read part. Digital
cameras take *very* big photos these days, but
the file header should be fairly small. I usually
read up to 20,000 bytes and then provide for going
back for a second read if necessary, but I think
the 20,000 is probably enough in virtually all cases.
Even when there's an embedded thumbnail that's
usually just 3-4 KB.


.



Relevant Pages

  • Re: Extracting Text
    ... > extract text from a text file and placed into a new file. ... A scripting language, such as Ruby or Python, with regular expressions ... Regular expressions were invented as a miniature language that specifies how ... And regular expressions are not built-into VBScript. ...
    (comp.programming)
  • Re: Question about Active Directory and last time user has logged on
    ... then the following LDAP attribute holds the last logon time: ... You can extract that using a simple vbscript. ...
    (Security-Basics)
  • Re: Vbscript code to unzip a zip file
    ... Best Regards ... Anyone help me out in providing VBscript to unzip or extract a zip ...
    (microsoft.public.scripting.vbscript)
  • Extract zip files
    ... Does someone know how to extract zip files using vbscript, ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Extract zip files
    ... Does someone know how to extract zip files using vbscript, ... Prev by Date: ...
    (microsoft.public.scripting.wsh)