I'm new to programming and perhaps I need a reference to a basic intro course to computer science so if you can direct me to that I'll be glad. But here is my question:
I work with Python. I would like to code say an 800x800 image file (JPEG or PNG or PDF). Whatever it is, I want to be able to specify which pixles go where OR if not that specific, perhaps be able to draw lines, circles, insert image onto the canvas and then export it to an image file (JPEG etc).
How do I do that?
I'm sort of aware that I can use pygame and/or tkinter to create things on a canvas and then write that to a file. However that is using the graphics card to render the image, display it and then save it. Correct? Is that how the process works? Python (or any other program w/ APIs) draws things on a canvas, an interface like Tkinter draws that out on a canvas sending the info to the graphics card to display and then we 'export' the raw pixles to an image/JPEG file. Right?
A second question is, is there a way to code a canvas to arrange items and just save it to a file? Without seeing it? Without involving the graphics card?