I'm using the command below but not sure if it’s really lossless and without re-encoding? Is there specific command to create lossless image and without re-encoding? I'm new to this.
ffmpeg -lavfi "color=black:1920x1080, drawtext=text='Example' :fontsize=h/8 :fontcolor=white :x=(w-tw)/2 :y=(h-th)/2" -frames 1 out.png