Commit graph

149 commits

Author SHA1 Message Date
tim h
86c2fbca05 tiny changes 2023-02-18 21:45:04 -06:00
tim h
34bdfbf1b7 adds controls for background removal parameters
also exposes a bug with how layer deletion works, will file bug report
2023-02-18 12:00:10 -06:00
tim h
a71b52464d merges all the recent awesome, adds stamp vertical flip too because I'M HELPING 2023-02-18 10:43:49 -06:00
Victor Seiji Hariki
995478c662 custom alerts and notifications
Adds custom notifications and dialog boxes. prompt() calls still not
updated

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-02-14 23:45:24 -03:00
tim h
ba56052ec1 Merge branch 'testing' into manual-scripts because i wanted the iP2P in scripts branch and probably did this backwards but oh well
# Conflicts:
#	index.html
#	js/index.js
2023-02-09 19:21:40 -06:00
tim h
6148bf8e10 ...is this even working? 2023-02-04 15:25:53 -06:00
tim h
e6c54d4b56 initial changes for instruct-pix2pix img2img
i'd still like the new slider to disappear if not using an iP2P model ergo not in main yet but also not "new" enough of a feature to deserve its own branch, literally just a new field to pass along with POSTs and an associated slider input
2023-02-04 14:28:01 -06:00
tim h
c8ef073531 not even fixes 2023-01-31 18:14:52 -06:00
tim h
02bf04c257 kinda janky identical pixel removal?
surprise

"manual scripts" has kinda become inadequate for all this branch is doing now lol
2023-01-29 16:39:00 -06:00
tim h
0400b9b284 Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
2023-01-29 00:55:54 -06:00
Victor Seiji Hariki
26a370eee8 add styles to logs
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-29 02:59:30 -03:00
tim h
8eef3392ed Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
#	js/ui/tool/dream.js
2023-01-28 09:47:41 -06:00
tim h
03b40a3f47 a few more commandLog values for dreams 2023-01-27 22:15:51 -06:00
tim h
464da36e2a unrelated to scripts but kinda neato autolayers option 2023-01-27 20:00:48 -06:00
Victor Seiji Hariki
af5b9b9680 Add history logging
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:37:38 -03:00
tim h
06f4e82347 Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
2023-01-23 21:36:50 -06:00
tim h
da317229c0 some silly default values for a few built-in scripts 2023-01-22 13:29:24 -06:00
Victor Seiji Hariki
13e29898a3 fix param type issue
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-21 13:06:21 -03:00
tim h
6889affcad even better single image discard handling
sorry for pushing to main but these are tiny and don't deserve PRs lol
2023-01-20 19:33:42 -06:00
tim h
025d50a10e got it passing scripts and params but wtf is it bitching about with
x_opt = axis_options[x_type]
TypeError: list indices must be integers or slices, not str
2023-01-20 18:53:16 -06:00
tim h
b52e3dc2ba better single-image removal handling 2023-01-20 16:19:01 -06:00
tim h
4f73aba5c2 lmao you are really making me feel guilty about not merging your version ;) 2023-01-14 09:47:50 -06:00
Victor Seiji Hariki
e198cf9af4 allow stamp rotation(drag) and scaling(wheel)
also adds shift as a 'finetune' for wheel. works for dream and stamp. if
shift is pressed, wheel will scale slower (not snapping to 128 for
dream, or 0.1 for stamp)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:00:34 -03:00
Victor Seiji Hariki
c4d6826369 Merge branch 'main' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 21:51:25 -03:00
Victor Seiji Hariki
9186d2a387 Merge branch 'testing' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:03:07 -03:00
tim h
16c2b36c1b ...also implements 164 quite similarly 2023-01-10 17:00:45 -06:00
Victor Seiji Hariki
487f3bed0c implements #164
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 14:30:09 -03:00
Victor Seiji Hariki
857cb29c12 migrates vp to DOMMatrix implementation
breaks select, but it was broken anyway.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:03:28 -03:00
tim h
40c69d7dd6 tiny fix to prevent generate-ahead from freaking out with alerts if something goes wrong 2023-01-08 16:44:46 -06:00
tim h
16ad7a550d think this was out-of-order and causing math problems with resolutions but i could be an idiot 2023-01-06 12:49:15 -06:00
tim h
bb815d62f9 option to enforce square firstpass aspect ratio 2023-01-05 17:42:50 -06:00
tim h
b45ce1aeba WIP - parity with square vs non- in/output HRfix res 2023-01-04 23:27:02 -06:00
tim h
3c596e6a4c experimental? newer hrfix stuff 2023-01-04 20:00:51 -06:00
Victor Seiji Hariki
bbce97d48d I guess this does not do much, but precautions
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:37:21 -03:00
Victor Seiji Hariki
ad66f0ec29 add some hrfix compatibility with old version
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:00:17 -03:00
seijihariki
82ca6269d2 Prettified Code! 2023-01-04 21:14:52 +00:00
Vladimir Mandic
31dc797583
remove debug console message 2023-01-04 16:07:16 -05:00
Vladimir Mandic
9ab0991f4d
fix leave-page alert 2023-01-04 13:33:27 -05:00
tim h
227c7839f3 return of HRfix lock px
not sure if useful or i'm just salty
2023-01-03 21:41:03 -06:00
tim h
92f91e23ae selectable outpaint type separate from inpaint now that i know how _horrible_ original is for outpainting 2023-01-03 15:52:56 -06:00
Victor Seiji Hariki
967b49842f fix dream cursor shows on img2img
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-03 12:50:38 -03:00
Victor Seiji Hariki
50ab30f411
Merge branch 'main' into fix-addon-black-screen 2023-01-03 11:38:23 -03:00
tim h
d31eb541cf tiny but very vital fix for inpainting 2023-01-03 08:16:09 -06:00
tim h
8b4a35d030 tiny critical fixes
gotta keep that outpaint mask at 1
2023-01-02 23:36:42 -06:00
tim h
fdd9c8def1 whoops just noticed this, tiny fix 2023-01-02 22:15:47 -06:00
tim h
af014aff8b
Merge branch 'main' into compact-checkboxes 2023-01-02 22:07:43 -06:00
Victor Seiji Hariki
7dfd35839b generally fix black when outpainting using addons
For some reason, when using some extensions, firefox just bugs out the
context after running a toDataURL. We now create a separate canvas for
mask drawing.
2023-01-02 23:31:25 -03:00
Victor Seiji Hariki
b186ef4c22 some space-saving measures for checkboxes
Some eye-candy as well

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-02 21:12:18 -03:00
tim h
8962d75c60 optionally implements dishonesty to POST request data to make new HRfix actually useful to our needs 2023-01-02 14:49:47 -06:00
tim h
43d4239824 sigh 2023-01-02 13:50:28 -06:00