Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] What does the scaling_position_x/y option do? #18

Open
ghost opened this issue Feb 7, 2024 · 1 comment
Open

[Question] What does the scaling_position_x/y option do? #18

ghost opened this issue Feb 7, 2024 · 1 comment

Comments

@ghost
Copy link
ghost commented Feb 7, 2024

I've been using Ueberzug in a program, and I noticed the scaling_position option, but I don't understand what it does. I've tried using it in combination with images of various sizes, and with different scalers, but it doesn't seem to do anything.

Example:

{"scaling_position_x":0.9,"scaling_position_y":0.9,"action":"add","identifier":"test","path":"test.png","x":1,"y":1,"width":15,"height":10,"scaler":"contain"}

@jstkdng
Copy link
Contributor
jstkdng commented Feb 7, 2024

I believe it sets the origin from which scalers will do their job, with the crop scaler you can see that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant