Are width and height the only things in file_meta (i.e., is it very likely they will always exist)?  If not you might want to check.  Note that you don't have to check each sub-array element, you can do

     isset( $foo['bar']['baz']['pow] )

You might also check that height isn't zero.