Zooming options terminology
Posted
by
Mark
on Programmers
See other posts from Programmers
or by Mark
Published on 2012-06-10T01:29:51Z
Indexed on
2012/06/10
4:46 UTC
Read the original article
Hit count: 314
terminology
|image
I've come up with 4 different ways to fit an image inside a viewing region, but I'm trouble coming up with names for them. Perhaps someone can suggest some?
- Fit image in viewing region, do not enlarge if image is smaller
- Size image so it fits snuggly inside the viewing region (enlarge if necessary) -- the image is as large as possible while still fitting within the viewing region
- Size image so that it fills the entire viewing region -- the image will be the same size or bigger than the viewing region
- 1:1 ratio; 1 pixel in the image corresponds to 1 pixel on screen
All zooming options maintain aspect ratio. Stretching is just ugly, so it's not an option :)
© Programmers or respective owner