Commit Graph

120 Commits (43e3d91004c83e5ea3f0f9955dbea20706998638)

Author SHA1 Message Date
Abdullah Alfaraj 3c4e676833 Reuse the old implementation of moveImageToLayer, until bug is fixed 2023-07-15 18:47:13 +03:00
Abdullah Alfaraj 1c176a8d25 use the mask argument and return the added layer for txt2img and img2img 2023-07-14 23:11:31 +03:00
Abdullah Alfaraj 95de92d3b3 bug fix: on addAll only add layers that have not been added 2023-07-14 23:06:44 +03:00
Abdullah Alfaraj d0367b71e2 bug fix: the added layer should always be on top of the layer stack 2023-07-14 23:04:41 +03:00
Abdullah Alfaraj 396ec0a6dd bug fix: return the mask on expanded mask request failure 2023-07-14 23:02:18 +03:00
Abdullah Alfaraj a90c18cc9c hide set mask and set init image buttons from viewer tab 2023-07-14 19:44:37 +03:00
Abdullah Alfaraj 8a8b6cd16b add title for Auto Image option 2023-07-14 15:11:52 +03:00
Abdullah Alfaraj 563051f76a Merge branch 'merge_#330' into dev_1.2.7 2023-07-14 14:35:21 +03:00
Abdullah Alfaraj 98706917c3 Add an option to the masking settings to choose whether or not to use the colorRange() 2023-07-14 14:34:08 +03:00
Abdullah Alfaraj 67e0cc7525 remove uncensored logs 2023-07-13 19:02:17 +03:00
unknown 7410e88423 fix: correctly generate mask of outpaint area 2023-07-13 23:44:35 +08:00
Abdullah Alfaraj e398f7ac05 comment mobx enforced action 2023-07-13 16:02:35 +03:00
Abdullah Alfaraj 2c9983b250 add option to switch mask layer algo between borders or corners 2023-07-13 15:59:10 +03:00
Abdullah Alfaraj 2d54b1b94d :use colorRange to extract selection from black and white image for sam 2023-07-12 21:43:23 +03:00
Abdullah Alfaraj 0e382c60eb refactor controlnet mode options 2023-07-12 21:41:33 +03:00
Abdullah Alfaraj 33157603d1 sync weight, guidance_start and end sliders between panels 2023-07-12 21:40:25 +03:00
Abdullah Alfaraj 06cab928b9 disable controlnet filters if none is selected 2023-07-12 21:34:51 +03:00
Abdullah Alfaraj 7641b12397 sync disable controlnet tab value between panels 2023-07-12 21:31:37 +03:00
Abdullah Alfaraj 744fad61f1 reimplement batch count 2023-07-12 21:24:46 +03:00
Abdullah Alfaraj 3f9329bf91 store a mask image for each output image 2023-07-12 21:20:40 +03:00
Abdullah Alfaraj f82784acfd add appropriate title to thumbnails' buttons 2023-07-12 21:16:26 +03:00
Abdullah Alfaraj 494e11b5d7 encapsulate add() function into a 'Add Image to Canvas' history state 2023-07-12 21:09:15 +03:00
Abdullah Alfaraj 08ca36b41b encapsulate react components in ErrorBoundary 2023-07-12 20:52:48 +03:00
Abdullah Alfaraj 186940e274 comment unnecessary logs 2023-07-12 20:41:30 +03:00
Abdullah Alfaraj a33ce8e51a wait for the progress layer update to finish before loading output image on canvas 2023-07-11 11:25:25 +03:00
Abdullah Alfaraj 96bb318266 notify the user if the auto-photoshop-sd extension is missing 2023-07-11 11:00:21 +03:00
Abdullah Alfaraj 869fbf0fc6 reset init_image and mask ui after session 2023-07-11 10:50:16 +03:00
Abdullah Alfaraj 7413b1d360 wait for updateProgressImage() to finish before updating progress layer again 2023-07-10 11:03:53 +03:00
Abdullah Alfaraj bcab5b6f64 more stable solution for masking output image from a black and white base64 2023-07-10 10:30:17 +03:00
Abdullah Alfaraj a7f9ef7cdf can select segment anything mask even if a selection is active 2023-07-10 10:27:37 +03:00
Abdullah Alfaraj b21f334b02 store should_log_to_file value in localStorage 2023-07-10 09:09:49 +03:00
Abdullah Alfaraj 608668dbce add set mask component for ctrlnet inpaint mode 2023-07-10 08:54:34 +03:00
Abdullah Alfaraj 05daaa38e0 convert black and white layer into a mask 2023-07-09 22:32:30 +03:00
Abdullah Alfaraj fc42949830 rename 'Continue Session' btn to 'Reuse Selection' 2023-07-09 19:20:54 +03:00
Abdullah Alfaraj bf1543ac8a add support to controlnet 'Auto Image' in txt2img mode 2023-07-09 11:29:48 +03:00
Abdullah Alfaraj d7c26e64b7 Merge branch 'dev_1.2.7' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into dev_1.2.7 2023-07-08 17:17:28 +03:00
Abdullah Alfaraj bc92c75f79 check if scripts base modules are installed in auto1111 2023-07-08 17:16:11 +03:00
Abdullah Alfaraj 3cf69bc000 add controlnet filter api to our extension 2023-07-08 17:05:23 +03:00
unknown 2b668a48c2 add more localization 2023-07-07 00:50:25 +08:00
unknown f862e603ac add some localization 2023-07-07 00:44:12 +08:00
Abdullah Alfaraj 4a9bd30970 Fix bug: the last seed is not being stored 2023-07-06 16:34:36 +03:00
Abdullah Alfaraj 2948dad4e3 add setting's option to log errors to files 2023-07-06 16:08:28 +03:00
Abdullah Alfaraj 570e0c7dce Merge branch 'dev_1.2.7' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into dev_1.2.7 2023-07-06 13:30:46 +03:00
Abdullah Alfaraj a8ddc75f87 disable mobx warning temporarily 2023-07-06 13:30:39 +03:00
Abdullah Alfaraj 2120f51cf4 auto mask the output image when mask is available 2023-07-06 13:30:27 +03:00
Abdullah Alfaraj 07e275cfcf add scroll to buttons to toolbar 2023-07-06 13:01:46 +03:00
Abdullah Alfaraj b5916f4cf4 separate controlnet detect_map from mask 2023-07-06 12:17:11 +03:00
Abdullah Alfaraj a600144255 add subject, artist, image type options to one button prompt 2023-07-06 11:59:59 +03:00
Abdullah Alfaraj bd6cc7243b button stylization for segment anything 2023-07-06 11:56:47 +03:00
Abdullah Alfaraj 9c048654f4 use blur slider to add blur to the expanded mask 2023-07-06 11:52:47 +03:00