Fixed forgottern return value when creating hi-res image reps.
Added two wrapper functions which take NSSize as arguments.