CYKLO-983: pass on original image contents when size is smaller or equal
to resizing threshold