Script For Custom Zoom?

Hello everyone. I am trying to locate a script where I can change the zoom levels in increments of 50 and 100%. The level of zoom I need is somewhere between 1000 and 1200 for the project I am working on. Is there a script created for this? I haven’t been able to find it. Thanks!

1 Like

the program has fixed zooms because in between pixelart would look janky and wrong, it would just fuck up the scale.

This is where the zoom levels are hardcoded in the source code. In the off-chance that anyone with this question builds Aseprite from the source code, the scales array can be customized.

For 1000-1200%, the numbers would look like

  { 10,  1 }, // 1000
  { 21,  2 }, // 1050
  { 11,  1 }, // 1100
  { 23,  2 }, // 1150
  { 12,  1 }, // 1200

Each zoom is the ratio expressed in integers. It’s probably a good idea to think through both zoom in and out before you make changes. For example, { 1, 12 } is 8.333%, { 2, 23 } is 8.696%.

Source for test image is from Magus’s Castle, Chrono Trigger. UI and screen scaling are 100%.

The artefacts you see depend on whether you’ve zoomed in or out. Also on what your downsampling is set to under Edit > Preferences > Editor or under the zoom tool context bar (Nearest, Bilinear, Mipmapping, Trilinear). I’ve seen visual artefacts where pixels shift slightly between preview and committed change. I generally don’t mind them, but it’s a matter of opinion. I also use my own increments, not 50%.

this is total bs. And it’s painful to see this because there are so many people who have made a post about this online, but nobody cares and this is the excuse used. Modern monitors are high enough res to handle a slight amount of pixel imperfection on the monitor level. How do you think fonts are rendered? Are they pixel perfect? No way. They use anti-aliasing techniques to hide the pixel imperfection. Even without anti-aliasing it would still be readable. In any case, nobody cares and nobody complains because the degree of pixel imperfection is small enough that you can’t see it unless you put your face right up to your monitor and squint.

Plus, if the user has a 4k monitor then you don’t even need anti-aliasing to hide pixel imperfections. And a lot of people do now, yet zoom is still stubbornly stuck on either 50% or 100% for bad reasons.

The argument that there can’t be custom zoom because of pixel imperfection is really bad. I can’t believe zoom on Aseprite has literally just been broken for about a decade and this is the reason for it. Horrible.

Ok lemme try this again, the reason that allowing completely custom zoom out of the box could cause issues, is not to do with your physical monitor, its to do with the canvas view, different from other softwaer, pixel art software, which alredy works on a very small resolution, cannot afford to make that view distorted, cause then there would be a very significant difference between what you are seeings vs what you are actually doing, we cannot AA it either, cause that woul dfurther worsen the difference between the real image and the preview.