Resizing ncip image