Mobile app version of vmapp.org
Login or Join
Harper654

: What happens when zooming out? I'm reading some articles about pixels and I encountered this question. First. When my photo is 20x20, and I'm seeing it at 100%, every pixel of photo is

@Harper654

Posted in: #Images #Pixel

I'm reading some articles about pixels and I encountered this question.

First. When my photo is 20x20, and I'm seeing it at 100%, every pixel of photo is shown with every pixel of monitor.

When I zoom in, for example, 2000%, It's 20 times the 100% image. so every pixel of image occupies 20 pixel of monitor.

But What happens when you zoom-out? for example 50%. every two pixel of image occupies one pixel of monitor? If so, every pixel is capable of one solid color. not Two. Right? Can you explain it!?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper654

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie844

The program used can do two basic types of calculations.


Discard one 1 of every 2 pixels (or whatever proportion you have 2/3, 3/5)
That is a really fast approach but produces saggy edges.
Average the values of each pixel, using different types of operations. This takes some milliseconds, depending on the image and type of operation done.


This two processes can be done either only displaying the image, or actually resampling it.



Actually, this type of operations are done not only on downscaling, but also when upscaling them. For example when you choose a non-exact proportion like 175% or when the image viewer has an option to resample instead of just zooming.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme