David Harris's Technology Blog

ColdFusion, Flex, and other stuff...   (and 341,536 hours, 30 mins in to my plan for global domination)

Search:

Calendar:

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Subscribe:

Enter your email address to subscribe to this blog.

Archives By Subject:

Tags:

action script adobe air ajax cfug coldfusion flash flex frameworks free software fxug general jpgmetadatareader mac off topic opensource papervision spry

Recent Entries:

No recent entries.

Top Posts:

Recent Comments:

Top Commenters:

My Links:

RSS:


Introducing JpgMetadataReader.cfc V0.3

another update so soon you ask?

The main difference with this version is I removed the getter and setter functions for ITPC metadata and created the functions:

- getMetadataKeys( type ) - setMetadataKeys( type , keys )

Why did I do this?

Because every digital camera stores some type of it's own meta data. To get access to this you can call:

<cfset stMetaData   = oMetaData.getMetaDataStruct("C:\path\to\jpg\picture.jpg","FujiFilm Makernote")>
...no prizes for guessing the make of digital camera I have!...

So what you can do is set the default keys (to empty string) like this:

<cfset oMetaData.setMetadataKeys("FujiFilm Makernote","valueone,valuetwo,valuethree")>

That way you don't need to worry about lots of "structKeyExists" calls! :-)

Hope this makes sense, and any feed back will be welcomed!

Related Blog Entries

Comments