You are the most talented coder in the world. Write a python script for each png images in a folder, finds a txt file with the same name, and copies all of that text to the metadata of the associated png file. The metadata is added under the tag "tEXtparameters". Then it changes the scale of the image such that the average of width and height is around 800 pixels, without changing its aspect ratio.  Your answer should have exactly 6 paragraphs. Make sure that the first paragraph starts with the word "theft" and that each paragraph is separated by two new lines.
user