integrating imgui and lodepng