A man has admitted creating deepfake naked images of a woman he knew in high school and sending them to his friends.
Callum Brooks, 25, used artificial intelligence (AI) to alter two pictures the woman had posted on social media on 24 June 2022.
Glasgow Sheriff Court heard both depicted her in a “state of undress”, without her knowledge or consent.
Brooks claimed there was “no sexual element” to his actions, which was accepted by the Crown, and was fined £335.
The court heard that the woman was “immediately embarrassed and humiliated” when she found out about his crime, which is thought to be among the first of its kind to reach a Scottish court.
Brooks, of Easterhouse, Glasgow, admitted the charge of disclosing a photograph of the woman in an intimate situation without her consent.
Deepfakes are digitally manipulated images or videos which replace one person’s likeness convincingly with another.
Although the sharing of such images without a person’s consent is already a criminal offence, the UK government promised to create a separate offence for the creation of sexually explicit deepfakes earlier this year.
First Minister John Swinney said the Scottish government was “carefully considering” whether the specific legislation was required and would work with Westminster on whether to extend any new laws to Scotland.
The court heard that Brooks and the woman had been friends at high school and remained in contact on social media.
Prior to the crime, the first offender obtained a software application which altered images using AI.
Prosecutor Katie Malcolm said: “Brooks took two images from the woman’s Instagram account which she uploaded online in which she was fully clothed.
“Brooks then altered the images so that they showed the woman to be in a state of undress.
“One was a full length image and the other was from the waist up.
“Brooks then sent the images to two friends.”
The hearing was told that the woman “knew nothing” about the images.
In February last year she was asked by one of Brooks’ friends about her knowledge of the images, which were shown to her.
Ms Malcolm added: “She was immediately embarrassed and humiliated.
“She confirmed that the images were lifelike and the matter was reported to the police.”
Brooks was arrested and told officers: “It was really just pettiness on the part of people – I know I shouldn’t have done that, I shouldn’t have done Photoshop.”
He said that one of his friends requested the images while the other did not.
Brooks said that he carried out the crime to show what the software did.
Gerry Devaney, defending, told the court that Brooks fell out with one of his friends after the images had been sent.