Improved compression with partial images