Update gimp examples
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "7a4deb26-d57d-4ea9-9a73-630f66a7b568",
|
||||
"snapshot": "gimp",
|
||||
"instruction": "Could you make the background of this image transparent for me?",
|
||||
"source": "https://www.youtube.com/watch?v=lOzSiOIipSM",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1TOtPi1CQsWblGUtQ6AqayfjsPZ_THBJo",
|
||||
"path": "Desktop/dog_with_background.png"
|
||||
},
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=15YWmeOyUaA7vMX9Ts7-qyh82T8mHeepx",
|
||||
"path": "Desktop/dog_cutout_gold.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"Desktop/dog_with_background.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"gimp"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "check_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/dog_cutout_gold.png",
|
||||
"dest": "dog_cutout_gold.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/dog_without_background.png",
|
||||
"dest": "dog_without_background.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "554785e9-4523-4e7a-b8e1-8016f565f56a",
|
||||
"snapshot": "gimp",
|
||||
"instruction": "Could you help me increase the saturation of my photo to make it more colorful?",
|
||||
"instruction": "Could you assist me in enhancing the color vibrancy of my photo?",
|
||||
"source": "https://www.quora.com/How-do-I-edit-a-photo-in-GIMP",
|
||||
"config": [
|
||||
{
|
||||
@@ -16,9 +16,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"path": "Desktop/woman_sitting_by_the_tree2.png"
|
||||
"command": [
|
||||
"gimp",
|
||||
"Desktop/woman_sitting_by_the_tree2.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -27,7 +30,7 @@
|
||||
"gimp"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "increase_saturation",
|
||||
"func": "check_saturation_increase_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/woman_sitting_by_the_tree2.png",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "77b8ab4d-994f-43ac-8930-8ca087d7c4b4",
|
||||
"snapshot": "gimp",
|
||||
"instruction": "Could you help me keep my photo on the desktop and rename it export.jpg?",
|
||||
"instruction": "Could you assist me in placing my photo on the desktop and renaming it to export.jpg?",
|
||||
"source": "https://superuser.com/questions/1636113/how-to-get-gimp-to-recognize-images-or-pictures-folder-as-the-default-folder-for",
|
||||
"config": [
|
||||
{
|
||||
@@ -16,9 +16,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"path": "Desktop/The_Lost_River_Of_Dreams.jpg"
|
||||
"command": [
|
||||
"gimp",
|
||||
"Desktop/The_Lost_River_Of_Dreams.jpg"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -28,7 +31,15 @@
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "check_file_exists",
|
||||
"file_name": "export.png",
|
||||
"directory": "/home/user/Desktop/"
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/The_Lost_River_Of_Dreams.jpg",
|
||||
"dest": "The_Lost_River_Of_Dreams.jpg"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/export.jpg",
|
||||
"dest": "export.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "7a4deb26-d57d-4ea9-9a73-630f66a7b568",
|
||||
"snapshot": "gimp",
|
||||
"instruction": "Make my picture less bright, please.",
|
||||
"instruction": "Could you tone down the brightness of my photo?",
|
||||
"source": "https://www.quora.com/How-do-I-edit-a-photo-in-GIMP",
|
||||
"config": [
|
||||
{
|
||||
@@ -16,9 +16,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"path": "Desktop/woman_sitting_by_the_tree.png"
|
||||
"command": [
|
||||
"gimp",
|
||||
"Desktop/woman_sitting_by_the_tree.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -27,7 +30,7 @@
|
||||
"gimp"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "decrease_brightness",
|
||||
"func": "check_brightness_decrease_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/woman_sitting_by_the_tree.png",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "f4aec372-4fb0-4df5-a52b-79e0e2a5d6ce",
|
||||
"snapshot": "gimp",
|
||||
"instruction": "Help me select the yellow triangle and move it to the center of my photo.",
|
||||
"instruction": "Help me choose the yellow triangle and positioning it at the center of my picture.",
|
||||
"source": "https://superuser.com/questions/612338/how-do-i-select-and-move-an-object-in-gimp",
|
||||
"config": [
|
||||
{
|
||||
@@ -16,9 +16,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"path": "Desktop/Triangle_On_The_Side.png"
|
||||
"command": [
|
||||
"gimp",
|
||||
"Desktop/Triangle_On_The_Side.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "7a4deb26-d57d-4ea9-9a73-630f66a7b568",
|
||||
"snapshot": "gimp",
|
||||
"instruction": "I'd like to make the picture's contrast stronger to really bring out the main subject. Could you assist me in boosting the contrast?",
|
||||
"source": "https://www.reddit.com/r/GIMP/comments/12e57w8/how_to_use_gimp_to_exaggerate_contrast/",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1X42_kOanL74vu_p6QdcZuiyzDQi3kA7F",
|
||||
"path": "Desktop/berries.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"Desktop/berries.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/",
|
||||
"related_apps": [
|
||||
"gimp"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "check_contrast_increase_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/berries.png",
|
||||
"dest": "berries.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "Desktop/berries_contrast.png",
|
||||
"dest": "berries_contrast.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user