Compress resource images