Adding support for creating pixmaps from files