Commit Graph

110 Commits (a55c09f8ef7386973f796e4b3309a272a1d4ed0e)

Author SHA1 Message Date
Abdullah Alfaraj a55c09f8ef only end the session if it's active 2023-02-19 09:22:29 +03:00
Abdullah Alfaraj 8569f70554 check if the thumbnails should be shown in square ratio 2023-02-19 09:21:20 +03:00
Abdullah Alfaraj c609851cbe calculate the linked value of a slider, when changing the other linked slider 2023-02-19 09:18:58 +03:00
Abdullah Alfaraj 4429e9422e setter and getter for the link slider button 2023-02-19 09:09:40 +03:00
Abdullah Alfaraj 1ed5392a74 add heal brush preset 2023-02-19 08:55:22 +03:00
Abdullah Alfaraj 7346e87c48 move timer function to general 2023-02-19 08:43:41 +03:00
Abdullah Alfaraj 1436e80d53 store width and height slider value on change 2023-02-19 08:40:49 +03:00
Abdullah Alfaraj bdee357acc display the progress image in the viewer tab if batch_size > 1 2023-02-17 10:15:27 +03:00
Abdullah Alfaraj 6cd05bc5f7 add dummy.js module 2023-02-17 10:11:22 +03:00
Abdullah Alfaraj 7957f3e333 Merge branch 'silent_export' into master 2023-02-15 14:50:21 +03:00
Abdullah Alfaraj e0fa03a864 fix bug: import jimp module 2023-02-15 12:10:26 +03:00
Abdullah Alfaraj 0aeddac05e method to get the selection are from the canvas as base64 2023-02-15 11:51:03 +03:00
Abdullah Alfaraj e7251fbf90 add crop method to extract the selected area of the canvas as base64 url 2023-02-15 11:49:31 +03:00
Abdullah Alfaraj 62e425b7d3 Todo: comment 2023-02-15 11:44:16 +03:00
Abdullah Alfaraj 6a2fbf2b76 convert the slashes in a path from \\ to / 2023-02-15 11:43:44 +03:00
Abdullah Alfaraj dcc1a8024e methods to add and remove encoding description from base64 2023-02-15 11:40:58 +03:00
Abdullah Alfaraj 3e860ce18a fix typo: remove namespace 2023-02-15 11:37:23 +03:00
Abdullah Alfaraj 654d6c421e missing "general" namespace 2023-02-14 12:58:21 +03:00
Abdullah Alfaraj 4bb41abb8e add mode label the "generate more" button inner text 2023-02-14 12:56:59 +03:00
Abdullah Alfaraj a5d0cbd857 use the horde api key when requesting a generation 2023-02-14 11:37:33 +03:00
Abdullah Alfaraj af3ebe9b2e use the backend type to select the appropriate generation routine 2023-02-14 11:35:03 +03:00
Abdullah Alfaraj 4c4a7cdec3 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into horde_native 2023-02-14 05:52:20 +03:00
Abdullah Alfaraj 0cdf8675b3 message log for horde native progress info 2023-02-13 11:11:28 +03:00
Abdullah Alfaraj 3c18180151 delete progress layer method 2023-02-13 11:09:34 +03:00
Abdullah Alfaraj be17130eb6 make scaleTo, moveTo ignore the selection area 2023-02-13 11:08:55 +03:00
Abdullah Alfaraj 9f4e096bc6 method to check if layer is valid/ exist 2023-02-13 11:07:42 +03:00
Abdullah Alfaraj 20a74a983b method to import base64 png to layer 2023-02-13 11:05:41 +03:00
Abdullah Alfaraj 63937bf736 simulate synchronous behavior for horde request. 2023-02-13 03:00:22 +03:00
Abdullah Alfaraj 5301e44801 refactor updating the progress bar for the horde request 2023-02-13 01:46:02 +03:00
Abdullah Alfaraj 9820a491e8 prepare the output to be process by the generate() 2023-02-13 01:44:59 +03:00
Daniele 4977e0c8a5 Extras - bug fixing 2023-02-12 12:43:54 +00:00
Daniele 8fb3db6521 Extras tab 2023-02-11 21:46:52 +00:00
Abdullah Alfaraj e2ea771e9b add img2img, inpaint, and outpaint to the horde 2023-02-11 10:15:28 +03:00
Abdullah Alfaraj 703ac17a5a add support to random seeds to the horde 2023-02-11 10:14:22 +03:00
Abdullah Alfaraj deded1abcc pass the the init image base64 webp encoding to the horde 2023-02-11 04:57:13 +03:00
Abdullah Alfaraj 9ec087989a scale a layer by the specified width and height 2023-02-11 00:34:03 +03:00
Abdullah Alfaraj c37cfcf18f export layer as .webp file 2023-02-11 00:33:03 +03:00
Abdullah Alfaraj 1b618e53cf convert base64 png to base64 webp 2023-02-11 00:30:27 +03:00
Abdullah Alfaraj eae93b8328 convert base64_png to .png file 2023-02-11 00:29:51 +03:00
Abdullah Alfaraj 6a73c3031e get the base64 of webp file 2023-02-11 00:28:30 +03:00
Abdullah Alfaraj ecd739061e export rectangular Layer as .webp 2023-02-10 19:50:20 +03:00
Abdullah Alfaraj 53054b8d8d add Layer utility Class 2023-02-10 18:11:02 +03:00
Abdullah Alfaraj 7e4275c2da code needed for doing img2img and inpainting in the horde, missing the base64 webp 2023-02-10 16:06:13 +03:00
Abdullah Alfaraj 9c307ed37a another function for snap shot layer 2023-02-10 16:05:01 +03:00
Abdullah Alfaraj feb6428c03 add IO class dedicated for saving and loading from files 2023-02-10 16:04:14 +03:00
Abdullah Alfaraj 861bc2f45a added interrupt horde request 2023-02-09 21:48:07 +03:00
Abdullah Alfaraj a61cec03ff added horde negative prompt support 2023-02-09 21:46:11 +03:00
Abdullah Alfaraj dd106bee00 do the prompt_shortcut substitution in getSettings() 2023-02-09 02:52:33 +03:00
Abdullah Alfaraj 914a6409aa added hordeGenerator class to images in txt2img mode 2023-02-09 02:49:37 +03:00
Abdullah Alfaraj d8cc9a00ca move progress bar update function to html_manip.js 2023-02-09 02:40:01 +03:00