Image desubsample library