png mipmap gen., dds loader (unfinished)