klecks icon indicating copy to clipboard operation
klecks copied to clipboard

Increase maximum canvas size

Open roscofluffyfangs opened this issue 1 year ago • 5 comments

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

roscofluffyfangs avatar Aug 02 '24 04:08 roscofluffyfangs

If not, can someone bump it up to 4096x4096? Thanks!

roscofluffyfangs avatar Aug 02 '24 04:08 roscofluffyfangs

I can look at this when I've improved the stability and memory management of the app.

bitbof avatar Aug 02 '24 09:08 bitbof

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: @.***>

roscofluffyfangs avatar Aug 02 '24 11:08 roscofluffyfangs

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.

SplatSys avatar Jan 28 '25 13:01 SplatSys

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

SuperProxoCz avatar Apr 06 '25 09:04 SuperProxoCz