Emulation and compression for weak lensing cosmology