aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrancesco Manzali <manzali.francesco97@gmail.com>2023-01-31 18:58:36 +0100
committerFrancesco Manzali <manzali.francesco97@gmail.com>2023-01-31 18:58:36 +0100
commit17b24e45e8839d889af35ee0b2fb0825306ddafe (patch)
treef12825f630c1e23253a05c7f5c3ab978a7ff7abf /test
parent2c1bb46c7ad5b4536f6587d327a03f0ff7811c5d (diff)
Fix prompt matrix #rows/#cols when using hires
- images.draw_prompt_matrix() should be called with the final width/height of the generated images, after upscaling. Otherwise, the number of rows/cols computed in images.draw_grid_annotations will increase by the upscaling factor. - Round the number of cols/rows in images.draw_grid_annotations, since the final images width may be a bit less than the required hr_upscale_to_x/y
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions