Git Product home page Git Product logo

Comments (23)

guzuligo avatar guzuligo commented on August 15, 2024 2

Yup! It solves a lot of problems 😱😂
image

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024 1

Oh, now I understand exactly what we have to do! We actually have a similar feature request on the main repo, and we are on the process of implementing this.

For now, our goal is to add rotation support on select tool and stamp tool. Would that work for you?

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Hi! What do you mean rotation of the canvas? The canvas itself, as well as the dream size can be done in portrait-like proportions.

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

Proportions won't help. For example, if I have a rotated 45 degrees camera shot of a man, and I try image to image on it, the face suddenly becomes a monster.

If I manually rotate the image and img2img, it works perfectly.

Alternatively if an image could be sent to the API in a rotated form, like rotating the cursor, that would also do the trick.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

As this has more to do with openOutpaint itself, will transfer the Issue to the main repo.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Hi, could you try the rotate branch?

Just go into the directory of openOutpaint (extensions/<extension>/app for extensions) and git checkout rotate.

If using the extension, DO NOT restart the webui after running this command, just reload openOutpaint via the 'Refresh openOutpaint' button.

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

Ok, I did git checkout rotate and see nothing
Did, git pull and couldn't find it
I decided to restart the webui, but still nothing 😅

From https://github.com/zero01101/openOutpaint e2afee3..b590b6d rotate -> origin/rotate Updating e2afee3..b590b6d Fast-forward index.html | 14 ++-- js/config.js | 15 +++++ js/initalize/debug.populate.js | 2 - js/ui/tool/dream.js | 42 +++++++++++- js/ui/tool/generic.js | 75 +++++++++++++++++----- js/ui/tool/select.js | 123 ++++++++++++++++++----------------- js/ui/tool/stamp.js | 142 ++++++++++++++++++++++++++++++++++------- 7 files changed, 305 insertions(+), 108 deletions(-)

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

Where should I find the rotate option?

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Now you should run git checkout rotate and reload the openOutpaint page

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

Ok, it seems for some reason, my browser isn't clearing the cache even after i delete the cache.

Now I see scale option on stamp. Works fine. But can't find anything about rotate.

Though, stamp is a bit tricky to use when you want to stamp layers behind as it blocks all layers
image

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

For stamp rotating is with LMB drag (wheel finetune is shift+wheel). We can try implementing something like select peek for stamp...

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Rotating is also possible using the select tool itself.

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

How? Can't find the option ... or the hot key

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

No hotkey needed... Dragging with the left mouse button on stamp just rotates the stamp automatically

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Select tool has a new rotate handle.

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

Where? In the middle? Corner?

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

It just scales:
image

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

You are not in the rotate branch apparently:

Peek.2023-01-13.01-10.mp4

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Let me test with chrome

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Chrome also seems to work:

Peek.2023-01-13.01-13.mp4

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

Ok, it seems I opened the browser that doesn't clear cache 😅
Now I see it 🥲

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Ok! Oh, and shift when rotating snaps to multiples of 45 degrees.

from openoutpaint.

guzuligo avatar guzuligo commented on August 15, 2024

YES!!! Now I even fixed the damaged ones!
image

Fixing is not as easy as rotating the img2img cursor. But, still works like charm. And has more applications than just the cursor rotation 👍👍

from openoutpaint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.