# Script For Custom Zoom?

**URL:** <https://community.aseprite.org/t/script-for-custom-zoom/20999>\
**Category:** Scripts & Extensions\
**Created:** [December 21, 2023, 5:54pm UTC](https://community.aseprite.org/t/script-for-custom-zoom/20999 "2023-12-21T17:54:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saiyanelite](https://community.aseprite.org/user_avatar/community.aseprite.org/saiyanelite/32/17548_2.png) [@saiyanelite](https://community.aseprite.org/u/saiyanelite)\
**Post date:** [December 21, 2023, 5:54pm UTC](https://community.aseprite.org/t/script-for-custom-zoom/20999/1 "2023-12-21T17:54:47Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Ethan\_Buttazzi](https://community.aseprite.org/user_avatar/community.aseprite.org/ethan_buttazzi/32/3265_2.png) [@Ethan\_Buttazzi](https://community.aseprite.org/u/Ethan_Buttazzi)\
**Post date:** [December 21, 2023, 8:44pm UTC](https://community.aseprite.org/t/script-for-custom-zoom/20999/2 "2023-12-21T20:44:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![behreandtjeremy](https://community.aseprite.org/user_avatar/community.aseprite.org/behreandtjeremy/32/6606_2.png) [@behreandtjeremy](https://community.aseprite.org/u/behreandtjeremy)\
**Post date:** [December 23, 2023, 9:22am UTC](https://community.aseprite.org/t/script-for-custom-zoom/20999/3 "2023-12-23T09:22:52Z")

</div>

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.

> <https://github.com/aseprite/aseprite/blob/main/src/render/zoom.cpp#L19>

For 1000-1200%, the numbers would look like

```cpp
  { 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%.

 ![zoom1050](https://community.aseprite.org/uploads/default/original/3X/0/a/0a028e9b2699649215c7b2093d4185daad5e9fbb.png)

[Source for test image](https://strategywiki.org/wiki/Chrono_Trigger/Magus's_Castle) 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%.

---

<div class="post-metadata">

**Author:** ![John\_Miller](https://community.aseprite.org/user_avatar/community.aseprite.org/john_miller/32/27775_2.png) [@John\_Miller](https://community.aseprite.org/u/John_Miller)\
**Post date:** [September 7, 2026, 1:43pm UTC](https://community.aseprite.org/t/script-for-custom-zoom/20999/5 "2026-09-07T13:43:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ethan\_Buttazzi](https://community.aseprite.org/user_avatar/community.aseprite.org/ethan_buttazzi/32/3265_2.png) [@Ethan\_Buttazzi](https://community.aseprite.org/u/Ethan_Buttazzi)\
**Post date:** [September 18, 2026, 6:15am UTC](https://community.aseprite.org/t/script-for-custom-zoom/20999/7 "2026-09-18T06:15:41Z")

</div>

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.
