Increase maximum canvas size
I've noticed that the canvas size for Kleki is only limited to 2048 x 2048, and it would be nice if the maximum resolution for it could be bumped up to at least 8192 x 8192 so people can create higher quality art
If not, can someone bump it up to 4096x4096? Thanks!
I can look at this when I've improved the stability and memory management of the app.
Awesome! I use this app all the time and would love that and I bet other artists would too.- Bode SchelinOn Aug 2, 2024, at 4:27 AM, bitbof @.***> wrote: I can look at this when I've improved the stability and memory management of the app.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
If not, can someone bump it up to 4096x4096? Thanks!
Would absolutely LOVE to see this. A lot of lineart I import into Kleki is just a tad bit over the 2048x2048 canvas size limit, which sucks a lot.
Directory of the file responsible for the canvas size:
- /klecks-main/src/app/script/app/kl-app.ts
How to change the size:
- search 2048 in your text file editor for example notepad
- you should see a line
Math.max(2048, Math.max(window.screen.width, - change 2048 to 4096 or even double that
- compile and run
If you cant find the file:
- you should see these files in the same directory:
├── console-api.ts ├── kl-app-import-handler.ts ├── kl-app-select.ts └── kl-app.ts