Image compression and fixing the partitioning of articles