Over the weekend I learned the benefit of coding semantic XHTML: beauty in simplicity. By separating content from presentation, the code for a page is mostly uncluttered content, free of presentation elements.
Consider this post to be an update of my earlier post on the selection of web standards for projects going forward. It's been a very long time since I've addressed my desire to learn the tricks of the trade and one day become an artisan web designer.
Now that many of my household projects are complete (refinishing bedroom, wood stove installation) are complete, I can invest some of my time in learning the ins and outs of web design.
My Plan to Learn
In many skilled trades, it is necessary to go through a period of apprenticeship before becoming qualified to independently serve customers. A blacksmith may work many years as an apprentice, learning tricks of the trade and the basics of metallurgy prior to putting his own forged tools up for sale. In a similar fashion, I plan to be an apprentice for web design. However, instead of working hand-in-hand with a single skilled master, I will continuously consult the internet. This wonderful series of information transport tubes and digital aqueducts serves as the conduit for creative designs made by millions of people world-wide. The frosting on cake (homemade, vanilla frosting, of course) is the fact that anyone can peel back the onion and see how these designs function internally. HTML source, style sheets, and images are all subject to examination by anybody willing to click the View -> Source menu item in their web browser.
Armed with a StumbleUpon button and a shortcut to Digg, I am now poised to unleash a fury of mind-melding with the web-masters of the world.
Monday, October 27, 2008
Saturday, August 2, 2008
World of World of Warcraft
The sequel to World of Warcraft is here!
'Warcraft' Sequel Lets Gamers Play A Character Playing 'Warcraft'
'Warcraft' Sequel Lets Gamers Play A Character Playing 'Warcraft'
Saturday, July 12, 2008
Fixing EXIF Date/Time Stamp in Photos
[UPDATE] I've uploaded source code to the SVN repository on SourceForge.net that is capable of changing the date and time stamps in JPEG EXIF images. The software is barebones, but feel free to contribute should you so desire. Eventually, a GUI would be nice. This project depends on the Exiv2 library and on Expat. You will need to link to Exiv2 and have its header files in your include path, and will need to have the Expat DLLs either installed in a globally accessable path or in the program executable directory. This software comes with no warrantee, so please use it at your own discretion and MAKE BACKUPS OF YOUR PHOTOS prior to running the software!
=====================================
It's been bothering me for a few years now -- my girlfriend's camera has an incorrect date/time setting. As a result, any photos that I import from her camera get sorted incorrectly by date by programs like Picasa or Windows Explorer (view -> details shows "Date Picture Taken").

The date and time data are not stored concurrently with the file access/create/modify data, but are instead stored inside the JPEG file, in the metadata portion. This portion is known as EXIF data, and provides a space for your camera to record all sorts of good information about the photo, such as resolution, shutter speed, F-stop, flash settings, and more. However, this data proves to be a formidable data structure to tackle independently. Luckily for me, I found a lovely library known as Exiv2. Exiv2 provides a cross-platform library for reading and writing the EXIF and metadata inside JPEG files. Using the library, it is possible to add, modify, or remove this metadata.
Some very useful scenarios for this include
I'll be posting my source code to SourceForge as soon as the project is approved. Check back for more info.
[UPDATE]: After I spent time successfully writing software to perform this action, it appears as if my efforts are futile. Every time I turn on the Pentax Optio S40, the time changes by 1 hour and 20 minutes. By turning on and off the camera repeatedly, I find this to be fairly consistent.
I turned the camera on/off within seconds, and noticed the time change:
I still plan on posting the source code to my application on SourceForge, pending approval.
=====================================
It's been bothering me for a few years now -- my girlfriend's camera has an incorrect date/time setting. As a result, any photos that I import from her camera get sorted incorrectly by date by programs like Picasa or Windows Explorer (view -> details shows "Date Picture Taken").
The date and time data are not stored concurrently with the file access/create/modify data, but are instead stored inside the JPEG file, in the metadata portion. This portion is known as EXIF data, and provides a space for your camera to record all sorts of good information about the photo, such as resolution, shutter speed, F-stop, flash settings, and more. However, this data proves to be a formidable data structure to tackle independently. Luckily for me, I found a lovely library known as Exiv2. Exiv2 provides a cross-platform library for reading and writing the EXIF and metadata inside JPEG files. Using the library, it is possible to add, modify, or remove this metadata.
Some very useful scenarios for this include
- setting the date of a scanned photo
- correcting the date of photos from a digital camera that was not configured properly
- storing other, extra information about a photo inside the photo itself.
I'll be posting my source code to SourceForge as soon as the project is approved. Check back for more info.
[UPDATE]: After I spent time successfully writing software to perform this action, it appears as if my efforts are futile. Every time I turn on the Pentax Optio S40, the time changes by 1 hour and 20 minutes. By turning on and off the camera repeatedly, I find this to be fairly consistent.
I turned the camera on/off within seconds, and noticed the time change:
- 7/3/2008 10:02pm
- 7/3/2008 8:42pm
- 7/3/2008 7:22pm
- 7/3/2008 6:02pm
I still plan on posting the source code to my application on SourceForge, pending approval.
Subscribe to:
Comments (Atom)