TIFF file dimensions in Ruby

Using Ruby, I wanted to get the dimensions of image files without using a full-on image library. I found handy code for PNG, BMP, GIF and JPEG and adapted the JPEG code for TIFF. Saved as gist 431893. # TIFF.rb # by Paul Schreiber <paulschreiber at gmail.com> # 09 June 2010 # # Based on …

Getting to Consistency

I just found slides from the SXSW Interactive Panel I moderated back in 2007. Making software predictable and consistent makes it much easier to use. This session will explain UI consistency and point out examples of failures and their consequences. We’ll discuss when it’s appropriate to break consistency, and how to build tools and process …