Added support for specifying sizes and margins in pixels.