More debug for imread and freeimage