Subject: | Columns width and height forced to accept nulls |
The hash returned by sub extract_meta() uses
width => $width,
height => $height,
when it should use
width => $width || 0,
height => $height || 0,
Since the first version returns 2 undefs for non-image files,
this means the declaration of those columns must accept nulls.
I want to be able to declare them as:
o height integer not null
o width integer not null