mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'fix-gh-actions' of github.com:mauwii/stable-diffusion into fix-gh-actions
This commit is contained in:
commit
d208e1b0f5
@ -50,28 +50,28 @@ We are hoping to get rid of the need for this workaround in an upcoming release.
|
||||
|
||||
1. Open image in Photoshop
|
||||
|
||||
<div align="center" markdown>![step1](../assets/step1.png)</div>
|
||||
![step1](../assets/step1.png)
|
||||
|
||||
2. Use any of the selection tools (Marquee, Lasso, or Wand) to select the area you desire to inpaint.
|
||||
|
||||
<div align="center" markdown>![step2](../assets/step2.png)</div>
|
||||
![step2](../assets/step2.png)
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
<div align="center" markdown>![step4](../assets/step4.png)</div>
|
||||
![step4](../assets/step4.png)
|
||||
|
||||
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.
|
||||
|
||||
<div align="center" markdown>![step5](../assets/step5.png)</div>
|
||||
![step5](../assets/step5.png)
|
||||
|
||||
6. Save the image as a transparent PNG by using `File`-->`Save a Copy` from the menu bar, or by using the keyboard shortcut ++alt+ctrl+s++
|
||||
|
||||
<div align="center" markdown>![step6](../assets/step6.png)</div>
|
||||
![step6](../assets/step6.png)
|
||||
|
||||
7. After following the inpainting instructions above (either through the CLI or the Web UI), marvel at your newfound ability to selectively invoke. Lookin' good!
|
||||
|
||||
<div align="center" markdown>![step7](../assets/step7.png)</div>
|
||||
![step7](../assets/step7.png)
|
||||
|
||||
8. In the export dialogue, Make sure the "Save colour values from transparent pixels" checkbox is selected.
|
||||
|
@ -25,9 +25,7 @@ implementations.
|
||||
|
||||
Consider this image:
|
||||
|
||||
<div align="center" markdown>
|
||||
![curly_woman](../assets/outpainting/curly.png)
|
||||
</div>
|
||||
|
||||
Pretty nice, but it's annoying that the top of her head is cut
|
||||
off. She's also a bit off center. Let's fix that!
|
||||
@ -78,9 +76,7 @@ invoke> !fix images/curly.png --out_direction top 64
|
||||
|
||||
The result is shown here:
|
||||
|
||||
<div align="center" markdown>
|
||||
![curly_woman_outpaint](../assets/outpainting/curly-outpaint.png)
|
||||
</div>
|
||||
|
||||
Although the effect is similar, there are significant differences from
|
||||
outcropping:
|
||||
|
Loading…
Reference in New Issue
Block a user