added printf to display when png is loaded