How not to overwrite current "Render Result" but generate a new image with different name (bpy)? I know basically after &quot;render&quot; we may save &quot;Render Result&quot; image or change slot of render, but I hope to use render.opengl() to generate current scene thumbnail with exported json files (kind of shape key preset, or bone pose preset system)  without overwrite current &quot;Render image&quot;.
bpy aleady offer way to save render.opengl()  image  to the user defined path, but after all it still generate and overwrite the &quot;Render image&quot; too.
So when I export preset.json, with my script, generated &quot;thumbnail&quot; render.opengl image (it generate tiny viewport render with my setting) It auto overwrite current &quot;Render Result&quot; without intention.
What I hope to do is,  use &quot;render.opengl()&quot; then generate image to the defined path as thumbnail,  without overwrite current &quot;Render Result&quot; . Is there good way to achive it with bpy?

(eg generate as different image name from &quot;Render Result&quot; and remove it, after save json)
(this question related with Render and save &quot; view port render image (openGL)&quot; with python directly?)
Though I am still serch and apreciate better answer, but temporally
I made new render-slot for &quot;Render Result&quot; image as &quot;icon-img&quot;,
then when save json, if there is no slot name (icon-img) for &quot;Render Result&quot;
make new one, or if there is already &quot;icon-img&quot; slot, set to it as active one.
Then generate json, save render.opengl() image to the user defined path,
and return all setting as same as before.
rr = bpy.data.images[&quot;Render Result&quot;]
rs = rr.render_slots
cslot = rs.active
fl = False
for slot in rs:
    if slot.name == &quot;icon-slot&quot;:
        fl = True
        rs.active = slot
        break
        
if not fl:
    aslot = rs.new(name = &quot;icon-slot&quot;)
    rs.active = aslot

(functions to generate json with render.opengl image from blender file exploler)
rs.active = cslot
it seems worked for me.. (but I do not know way to remove icon-slot, without use UI)