Reduce file size of netmag image