convert image to png before generating; to be fixed: resize RGBA64 image