Comments (1)
This is also a problem that is a little tricky because of how ueberzug
draws images on the screen. Let me explain a little more how ucollage
handles each image.
ueberzug
takes the following parameters
- x: the column we want to start drawing
- y: the row we want to start drawing
- width: how many columns are available
- height: how many rows are available
When ucollage
creates the grid, it sets this values for each image and then ueberzug
does the rest, according to the scaler selected. In order to optimize the use of space we would need to know the resolution of the image (not that difficult to find through the use of secondary programs) and also how that resolution is mapped to the column width and row height of your terminal in order to select the optimal values.
For example how do we map a 3:2 resolution image to widthxheight so that the ratio (width * pixels_per_column)/(height * pixels_per_row) is 3:2.
I believe this is doable. I can search the web for it. But if you already have an idea and can help, I will be happy to listen to suggestions.
Then again, we have the problem. What resolution should we tailor our grid for our images to fit perfectly? But, this is manageable, through set options. It's interesting in any way and this issue can remain open for the time being.
from ucollage.
Related Issues (14)
- Problems with special characters input in prompt (Del, Backspace, etc.) HOT 6
- [Feature request] Option to load image sorted by modified date HOT 4
- No thumbnails are generated HOT 2
- config files HOT 5
- undocumented Left/Right keys in monocle and default modes doing critical tasks HOT 1
- doesn't work in Suckless' tabbed HOT 3
- Support for global configuration file HOT 7
- Expand directory 'yes' for all HOT 7
- Move to next page using arrow keys HOT 3
- Reloading opened folder(s) inside ucollage HOT 1
- Setting a sort option leads to flickering and does not sort HOT 3
- Compatibility with WSL2? HOT 2
- Maintained? or possible for wayland? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ucollage.