Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outpainting mode #24

Closed
ssube opened this issue Jan 8, 2023 · 1 comment · Fixed by #51
Closed

outpainting mode #24

ssube opened this issue Jan 8, 2023 · 1 comment · Fixed by #51
Labels
status/fixed issues that have been fixed and released type/feature new features
Milestone

Comments

@ssube
Copy link
Owner

ssube commented Jan 8, 2023

Add a tab or option in img2img for outpainting.

Params:

  • direction: up/down/left/right
  • distance: pixels
@ssube ssube added status/new issues that have not been confirmed yet type/feature new features labels Jan 8, 2023
@ssube ssube added this to the v0.4 milestone Jan 10, 2023
@ssube ssube added status/progress issues that are in progress and have a branch and removed status/new issues that have not been confirmed yet labels Jan 14, 2023
@ssube
Copy link
Owner Author

ssube commented Jan 14, 2023

This is mostly working, although it's a naive implementation that pads the input image before downsampling (.thumbnail() call), so it produces output at the same resolution as the source image.

Source:

image

Outpainted, 256 pixels in every direction:

image

Outpainted, 512 right and bottom:

image

@ssube ssube mentioned this issue Jan 14, 2023
@ssube ssube closed this as completed in #51 Jan 15, 2023
@ssube ssube added status/fixed issues that have been fixed and released and removed status/progress issues that are in progress and have a branch labels Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/fixed issues that have been fixed and released type/feature new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant