Update gimp examples

This commit is contained in:
BlankCheng
2024-01-26 16:38:45 +08:00
parent 908f25ad29
commit e5a5ff4588
11 changed files with 171 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
{
"id": "7a4deb26-d57d-4ea9-9a73-630f66a7b568",
"id": "2a729ded-3296-423d-aec4-7dd55ed5fbb3",
"snapshot": "gimp",
"instruction": "Could you make the background of this image transparent for me?",
"source": "https://www.youtube.com/watch?v=lOzSiOIipSM",
@@ -10,11 +10,11 @@
"files": [
{
"url": "https://drive.google.com/uc?export=download&id=1TOtPi1CQsWblGUtQ6AqayfjsPZ_THBJo",
"path": "Desktop/dog_with_background.png"
"path": "~/Desktop/dog_with_background.png"
},
{
"url": "https://drive.google.com/uc?export=download&id=15YWmeOyUaA7vMX9Ts7-qyh82T8mHeepx",
"path": "Desktop/dog_cutout_gold.png"
"path": "~/Desktop/dog_cutout_gold.png"
}
]
}
@@ -24,7 +24,7 @@
"parameters": {
"command": [
"gimp",
"Desktop/dog_with_background.png"
"~/Desktop/dog_with_background.png"
]
}
}
@@ -37,12 +37,12 @@
"func": "check_structure_sim",
"expected": {
"type": "vm_file",
"path": "Desktop/dog_cutout_gold.png",
"path": "~/Desktop/dog_cutout_gold.png",
"dest": "dog_cutout_gold.png"
},
"result": {
"type": "vm_file",
"path": "Desktop/dog_without_background.png",
"path": "~/Desktop/dog_without_background.png",
"dest": "dog_without_background.png"
}
}