PNG loaded from memory using libPNG