Monday, February 13, 2012

PHP: exif_read_data - Fun stuff. I'm going make my own fishing app. I must log and chart.

reject note


array exif_read_data ( string $filename [, string $sections = NULL [, bool $arrays = false [, bool $thumbnail = false ]]] )

exif_read_data() reads the EXIF headers from a JPEG or TIFF image file. This way you can read meta data generated by digital cameras.

EXIF headers tend to be present in JPEG/TIFF images generated by digital cameras, but unfortunately each digital camera maker has a different idea of how to actually tag their images, so you can't always rely on a specific Exif header being present.

Height and Width are computed the same way getimagesize() does so their values must not be part of any header returned. Also, html is a height/width text string to be used inside normal HTML.

When an Exif header contains a Copyright note, this itself can contain two values. As the solution is inconsistent in the Exif 2.10 standard, the COMPUTED section will return both entries Copyright.Photographer and Copyright.Editor while the IFD0 sections contains the byte array with the NULL character that splits both entries. Or just the first entry if the datatype was wrong (normal behaviour of Exif). The COMPUTED will also contain the entry Copyright which is either the original copyright string, or a comma separated list of the photo and editor copyright.

The tag UserComment has the same problem as the Copyright tag. It can store two values. First the encoding used, and second the value itself. If so the IFD section only contains the encoding or a byte array. The COMPUTED section will store both in the entries UserCommentEncoding and UserComment. The entry UserComment is available in both cases so it should be used in preference to the value in IFD0 section.

exif_read_data() also validates EXIF data tags according to the EXIF specification (», page 20).


Windows Me/XP can both wipe the Exif headers when connecting to a camera.

@49thVibration knocked out some cover tunes and put the new originals solidly in the set list during rehearsal yesterday.

Saturday, February 4, 2012

New strings, vol pot, knobs, pickguard on bass. Ready for @the1969s show at Sons of Hermann Hall w King Khan on 2-9-12


I know stats aren't everything, but lets compare #AarongRogers vs #DrewBrees. One stat alone put AR ahead, INTs.


I know stats aren't everything, but lets compare Rogers vs Brees.

Rogers main stats that pushed him ahead of Brees (I think) was the number of wins and his QB rating. That must be it, because Brees pretty much has him beat in most other categories.

Rogers had the highest QB rating in the league at 122.5. Brees was #2 at 110.6. This was due to one stat (an important one). INTs. Rogers on had 6 and Brees had 14. Brees did thrown over 150 more passes, but Rogers had

Rogers' Packers had a league-leading record of 15-1. Brees and the Saints went 13-3 which was tied for 2nd most wins.

But despite Rogers' excellent season, I think Drew Brees should have won the MVP. And this his why:

- Brees was #1 in passing yards this season.
- Brees was #1 in completion percentage this season.
- Brees was #1 in TDs this season (46, which is 4th most in NFL history)

Drew and the Saints set some all-time NFL records

- Drew Brees passed for the most yards in a single season ever. (5,038).
- Drew Brees passed for the most completions in a single season ever (468).
- Drew Brees had the highest completion percentage in a single season ever (71.6).
- Brees surpassed 300 yards passing for the seventh straight game and 13th time this season, both NFL records he already held and simply extended.
- The Saints set the league record for most yards from scrimmage in a season (7,474).

I dont' think postseason stats matter for the MVP voting, but they matter to me.

- Brees passed for 466 yards, the most during a postseason game to end in regulation.
- The Saints broke the single-game  postseason record of 610 yards.
- In the playoffs Brees had a 110 QB rating and AVERAGED 464.0 yards and 3+ TDs per game. Far surpassing Rogers stats. Not to mention Brees won a game in the playoffs.

Whoever whens the game tomorrow will not care about Rogers or Brees' stats, records, awards, etc. The ring is the thing. But thankfully for both Rogers and Brees, they have their rings and don't have to prove anything.

I'm hoping the Saints go on another run next year and become the first team in NFL history to play a home game for the Superbowl. WHO DAT!.