Is there a simple way to save images?
Here's what I have so far
w = 50 h = 50 image = c4d.bitmaps.BaseBitmap() image.Init(w, h) # creating a black image for illustration image.Save( name="See Appendix A", format=c4d.FILTER_JPG, data="See Appendix B", savebits=SAVEBIT_NONE)
I was thinking to be just a simple
but it requires a
Union[str, c4d.storage.MemoryFileStruct. There is an existing sample script for it in GitHub. It says it "saves" an image but it doesn't use the
BaseBitmap.Save code so I'm lost how to use it.
I'm not sure what data is this. Isn't the
BaseBitmap the data to be saved? In the example above, the
image variable. Correct me if I'm wrong
Is there a way around this? Thank you for looking at my problem