libpixelfactory improvements