Fixed only square png import + reduced amount of code
Fixed magic number
Merge pull request #881 from Atlante45/png_import_cleanup

Png import cleanup