I can’t see how I can get a loaded image file to go onto a RenderTexture.Load the image to a texture. Create a sprite with that texture. Draw the sprite to the rendertexture.
source/app.d(14): Error: mutable method dsfml.graphics.texture.Texture.copyToImage is not callable using a const object
FAIL .dub/build/application-debug-posix.osx-x86_64-dmd_2068-CD798876B80E564B1F2D02B479176F6C/ template-dfsml executable
Error executing command run: dmd failed with exit code 1.
I still haven't gotten my calendar to save as a picture file. :( I've got bitmaps working.
http://dpaste.dzfl.pl/a1d1c54f019c (I cleaned out the code comments).