fixed incompatible syntax of inpainting PS section

this was the best looking result I could come up with.
This commit is contained in:
mauwii 2022-09-19 12:34:34 +02:00
parent 5ab7c68cc7
commit e59307d284
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -28,6 +28,8 @@ dream> "man with cat on shoulder" -I./images/man.png -M./images/man-transparent.
We are hoping to get rid of the need for this workaround in an upcoming release.
---
## Recipe for GIMP
[GIMP](https://www.gimp.org/) is a popular Linux photoediting tool.
@ -42,41 +44,67 @@ We are hoping to get rid of the need for this workaround in an upcoming release.
8. In the export dialogue, Make sure the "Save colour values from
transparent pixels" checkbox is selected.
---
## Recipe for Adobe Photoshop
1. Open image in Photoshop
<p align='left'>
<img src="../assets/step1.png"/>
</p>
![step1](../assets/step1.png){ align=right loading=lazy width=250 }
2. Use any of the selection tools (Marquee, Lasso, or Wand) to select the area you desire to inpaint.
<p align='left'>
<img src="../assets/step2.png"/>
</p>
1) Open image in Photoshop
3. Because we'll be applying a mask over the area we want to preserve, you should now select the inverse by using the Shift + Ctrl + I shortcut, or right clicking and using the "Select Inverse" option.
<figure markdown>
4. You'll now create a mask by selecting the image layer, and Masking the selection. Make sure that you don't delete any of the underlying image, or your inpainting results will be dramatically impacted.
<p align='left'>
<img src="../assets/step4.png"/>
</p>
---
5. Make sure to hide any background layers that are present. You should see the mask applied to your image layer, and the image on your canvas should display the checkered background.
<p align='left'>
<img src="../assets/step5.png"/>
</p>
![step2](../assets/step2.png){align=right loading=lazy}
<p align='left'>
<img src="../assets/step6.png"/>
</p>
2) Use any of the selection tools (Marquee, Lasso, or Wand) to select the area you desire to inpaint.
6. Save the image as a transparent PNG by using the "Save a Copy" option in the File menu, or using the Alt + Ctrl + S keyboard shortcut.
</figure>
7. After following the inpainting instructions above (either through the CLI or the Web UI), marvel at your newfound ability to selectively dream. Lookin' good!
<p align='left'>
<img src="../assets/step7.png"/>
</p>
---
8. In the export dialogue, Make sure the "Save colour values from transparent pixels" checkbox is
selected.
3) Because we'll be applying a mask over the area we want to preserve, you should now select the inverse by using the ++shift+ctrl+i++ shortcut, or right clicking and using the "Select Inverse" option.
<figure markdown>
---
![step4](../assets/step4.png){align=right loading=lazy width=250}
4) You'll now create a mask by selecting the image layer, and Masking the selection. Make sure that you don't delete any of the undrlying image, or your inpainting results will be dramatically impacted.
</figure>
<figure markdown>
---
![step5](../assets/step5.png){align=right loading=lazy width=250}
5) Make sure to hide any background layers that are present. You should see the mask applied to your image layer, and the image on your canvas should display the checkered background.
---
</figure>
<figure markdown>
![step6](../assets/step6.png){align=right loading=lazy width=250}
6) Save the image as a transparent PNG by using the "Save a Copy" option in the File menu, or using the Alt + Ctrl + S keyboard shortcut
</figure>
---
<figure markdown>
![step7](../assets/step7.png){align=right loading=lazy width=250}
7) After following the inpainting instructions above (either through the CLI or the Web UI), marvel at your newfound ability to selectively dream. Lookin' good!
</figure>
---
8) In the export dialogue, Make sure the "Save colour values from transparent pixels" checkbox is selected.