You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 1I've seen this geometric layout before, but I can't find any info on it after tons of googling. I'm curious if somebody has a referenceAlexander– Alexander2021-10-27 13:32:04 +00:00Commented Oct 27, 2021 at 13:32
- is that black-gray-white-recursing square just a way of mapping the channels of all the different size images into a square grid? As in that the largest actual image is 1/4 of the full square, with the black, gray and white quarters the three channels, and then repeating the same for the lower quarter and the next smaller size? I wonder if that's any more useful than just storing the different images as regular images back to back.ilkkachu– ilkkachu2021-10-27 17:05:26 +00:00Commented Oct 27, 2021 at 17:05
- I've never seen the recursive square used in practice, but maybe there are some advantages to using a single image for all scaled images instead of multiple files.qwr– qwr2021-10-27 19:49:29 +00:00Commented Oct 27, 2021 at 19:49
- @qwr Sure. When you're storing on disk, space is allocated in clusters/chunks so you can have wasted space up to almost the cluster size - per file. Like carrying 2.1 gallons of liquid when your only container is 1 gallon jugs. When you have 10 small files you can lose up to 10*cluster size, vs only 1*cluster size for one larger file. You lose some space with the larger file because you have overhead of the grey and white areas, but compressing image formats such as PNG are very good at large areas of solid color, instead of saving "pixel 1, grey, pixel 2, grey, etc."...user3067860– user30678602021-10-28 11:24:21 +00:00Commented Oct 28, 2021 at 11:24
- ...it will just save "pixels 1 through (1234), grey". (Or similar to that, the exact algorithm varies by image format but you get the idea.) For network transfer there is a similar per connection overhead. To transfer a file your computer first takes some time to contact the remote server, make sure that it is listening, and then explain what file is wanted. That's usually about the same amount of time per file, so 10 files has 10x as much transfer overhead as 1 file. Etc. (Same concepts apply to file reads, in memory storage, etc.)user3067860– user30678602021-10-28 11:24:44 +00:00Commented Oct 28, 2021 at 11:24
| Show 6 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you